AgentSkillsCN

Decode Vector

解码向量

SKILL.md

/decode-vector — Decode a Test Vector JSON

Decode and visualize a compressed test vector JSON file generated by /generate-vectors.

Usage

  • /decode-vector path_jsons/length_03/02-0cd0354f.json — default view (compressed + summary)
  • /decode-vector path_jsons/length_03/02-0cd0354f.json --show-all — all visualizations
  • /decode-vector path_jsons/length_03/02-0cd0354f.json -t -f — transaction + fees only

Display Flags

FlagShortDescription
--show-compressed-cShow compressed data summary
--show-transaction-tShow full transaction results
--show-fees-fShow detailed fee distribution
--show-summary-sShow summary table
--show-all-aShow all visualizations

If no flags are specified, defaults to showing compressed data and summary.

Additional Options

FlagDefaultDescription
--json-dirpath_jsonsDirectory containing lookup_tables.json

Instructions

Run the following command, with the JSON file path and any flags from $ARGUMENTS:

bash
source /home/jmlago/miniconda3/bin/activate && conda activate kpi-tracker && python scripts/02_decode_test_vector.py $ARGUMENTS

The first positional argument must be the path to the JSON file. If the user provides just a filename without a directory, check path_jsons/ subdirectories for it.

Show the full output to the user.