"Generate multi-symbol context K-line charts at a target timestamp and report output artifacts."
Resources
2Install
npx skillscat add samuerio/dotfiles/gen-ctx-kline Install via the SkillsCat registry.
SKILL.md
Gen Ctx Kline
Generate context K-line charts once for one symbol + one timestamp.
Inputs
ctx_time:YYYY-MM-DD HH:MMmark:5m|15m|1h|4hsymbol: optional from user, normalized to uppercase without/(e.g.fil/usdt->FILUSDT)
SOP
- Collect inputs.
- Normalize
symbolif present. - Validate inputs.
- Resolve missing/invalid
symbolvialist_symbols.sh. - Ask one aggregated follow-up only if still missing/invalid inputs.
- Execute
gen_ctx.shonce with final values. - Report normalized inputs + execution result + artifact paths.
Validation Rules
ctx_timemust matchYYYY-MM-DD HH:MM(24h).markmust be one of5m,15m,1h,4h.symbolmust be uppercase alphanumeric after normalization.
Symbol Resolution
Use:
bash ~/.agents/skills/gen-ctx-kline/list_symbols.sh- If output is
(empty): ask user to providesymbolmanually. - If output has candidates: show them and ask user to choose one.
- If user-provided symbol is not in candidates: show candidates and ask again.
- Do not auto-pick symbol unless user explicitly requests auto-pick.
Follow-up Prompt Rule
- Ask at most one concise follow-up message.
- Aggregate all missing/invalid fields into one question.
Template:
"Missing/invalid inputs: . Please provide ctx_time (YYYY-MM-DD HH:MM), mark (5m|15m|1h|4h), and symbol (e.g. FILUSDT)."
Execute
bash ~/.agents/skills/gen-ctx-kline/gen_ctx.sh "<ctx_time>" <mark> --symbol <symbol>Report Format
inputs: normalizedctx_time,mark,symbolstatus: success or failureartifacts: output files/pathserror: concise reason + next user action when failed