"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.
We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing, no superlatives, no calls to action. Must be natural prose, no bullet points, no headings, no markdown. At most 60 words. No quotes around answer. Just the summary text. Let's craft: "The gen-ctx-kline skill generates a multi‑symbol K‑line chart for a given timestamp and timeframe, normalizing the symbol and validating inputs before running a script that produces the chart and reports the resulting artifact paths.
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