trading-skills-navigator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTrading Skills Navigator
交易技能导航器
The interactive on-ramp for this repository. It turns a user's goal into a
concrete recommendation: which workflow to run, which skillset
(skills-index category) it belongs to, the API requirement, and the
setup path for Claude Web App or Claude Code.
A new user faces 72 skills + 11 workflows with no router. This skill is that
router. It is deterministic — a Python recommender ()
consumes the repo metadata; this SKILL.md narrates the result conversationally.
scripts/recommend.py本仓库的交互式入门工具。它可将用户的目标转化为具体推荐:应运行哪个workflow、所属的skillset(技能索引分类)、API要求,以及针对Claude Web App或Claude Code的设置路径。
新用户面对72项技能+11个工作流时,往往缺乏引导工具。本技能就是这样一个引导器。它是确定性的——由一个Python推荐器()读取仓库元数据;本SKILL.md以对话式语言呈现推荐结果。
scripts/recommend.pyWhen to Use
使用场景
- The user expresses a trading/investing goal and asks where to start or which skill/workflow to use ("どれを使えばいい", "where do I start").
- The user asks what works without paid API keys.
- The user wants the no-API vs API path separated, or a beginner path.
- The user describes a persona ("part-time swing trader", "dividend investor", "I want to short", "I want to backtest ideas") and needs routing.
Do not use this skill to execute trades, place orders, or auto-run other
skills. It recommends and explains only.
- 用户表达交易/投资目标,并询问从何处入手或应使用哪种技能/工作流(例如“どれを使えばいい”、“where do I start”)。
- 用户询问哪些功能无需付费API密钥即可使用。
- 用户希望区分无API路径与需API路径,或需要入门路径推荐。
- 用户描述自身角色(如“兼职波段交易者”、“股息投资者”、“我想做空”、“我想回测交易思路”)并需要引导。
请勿使用本技能执行交易、下单或自动运行其他技能。它仅提供推荐和说明。
Workflow
工作流程
Step 1 — Capture the goal and constraints
步骤1 — 捕捉目标与约束
From the user's message, extract:
- The natural-language goal (verbatim is fine).
- Optional constraints: no-API only? a daily time budget (15m/30m/60m/90m)? experience level (beginner/intermediate/advanced)?
Ask at most one brief clarifying question only if the goal is empty or has no
discernible intent. Otherwise proceed — the recommender degrades gracefully.
从用户的消息中提取:
- 自然语言表述的目标(直接引用原文即可)。
- 可选约束条件:是否仅使用无API模式?每日时间预算(15分钟/30分钟/60分钟/90分钟)?经验水平(初级/中级/高级)?
仅当目标为空或无明确意图时,最多提出一个简短的澄清问题。否则直接进行下一步——推荐器会自动适配模糊的输入。
Step 2 — Run the recommender
步骤2 — 运行推荐器
bash
python3 skills/trading-skills-navigator/scripts/recommend.py \
--query "<the user's goal, verbatim>" \
--format json
# optional: --no-api --time-budget 15m|30m|60m|90m|any
# --experience beginner|intermediate|advanced- In Claude Code the script reads the repo-root SSoT
(+
skills-index.yaml) automatically.workflows/*.yaml - In the Claude Web App there is no repo root; the script transparently
falls back to the bundled . The recommendation is byte-identical in both environments — no behavior change for the user.
assets/metadata_snapshot.json
bash
python3 skills/trading-skills-navigator/scripts/recommend.py \
--query "<the user's goal, verbatim>" \
--format json
# optional: --no-api --time-budget 15m|30m|60m|90m|any
# --experience beginner|intermediate|advanced- 在Claude Code中,脚本会自动读取仓库根目录下的单一可信数据源(+
skills-index.yaml)。workflows/*.yaml - 在Claude Web App中没有仓库根目录,脚本会自动回退到内置的文件。两种环境下的推荐结果完全一致——用户体验无差异。
assets/metadata_snapshot.json
Step 3 — Narrate the result conversationally
步骤3 — 以对话式语言呈现结果
Parse the JSON and explain, in the user's language:
- Primary workflow — ,
display_name,cadence,~estimated_minutes. State plainly what it does and when to run it.api_profile - Secondary workflows — if any, how they relate (e.g. "run the regime check first, then this when it allows risk").
- Skillset — the (skills-index category).
skillset.idmeans a curatedmanifest_status: activebundle ships for this category (market-regime, core-portfolio, swing-opportunity, trade-memory) — mention it as the install bundle for the recommended workflow.skillsets/<id>.yamlmeans no manifest yet (e.g. honest-gap categories); the recommendation is workflow-based only.manifest_status: deferred - No-API vs API — read :
no_api_path→ the entire recommended path works without paid API keys (state this plainly);true→ tell the user which paid key(s) the path needs;false→ honest gap, no path. (nullis the request flag — whether no-API mode was active — not whether the path is free; always narrateno_api.) If a workflow was excluded underno_api_path, surface the--no-apientry naming the paid integration (e.g. "swing-opportunity-daily needs FMP").rationale - Honest gap — if is true there is no shipped workflow for this intent. Say so directly, then present
honest_gapfrom the relevant category and relay thesuggested_skills. Never invent a workflow.note - Always read the array and explain why this was recommended.
rationale
解析JSON结果,并用用户使用的语言进行说明:
- 主工作流 — 说明其(显示名称)、
display_name(执行频率)、cadence(预估耗时)和~estimated_minutes(API配置)。清晰说明该工作流的功能及运行时机。api_profile - 辅助工作流 — 若存在,说明它们与主工作流的关系(例如:“先运行市场状态检查工作流,当允许承担风险时再运行此工作流”)。
- 技能集 — 说明(技能集ID,即技能索引分类)。
skillset.id表示该分类有经过整理的manifest_status: active捆绑包(如market-regime、core-portfolio、swing-opportunity、trade-memory)——需提及此捆绑包是推荐工作流的安装包。skillsets/<id>.yaml表示目前尚无清单文件(如实缺分类);此时仅基于工作流进行推荐。manifest_status: deferred - 无API vs 需API — 查看字段:
no_api_path→ 整个推荐路径无需付费API密钥即可使用(直接说明);true→ 告知用户该路径需要哪些付费密钥;false→ 如实缺,无对应路径。(null是请求端标志——表示是否启用无API模式,而非路径是否免费;务必说明no_api的结果。)若在no_api_path模式下排除了某个工作流,需说明--no-api中提及的付费集成(例如:“swing-opportunity-daily需要FMP密钥”)。rationale - 如实缺 — 若为
honest_gap,表示目前无可用工作流匹配该需求。直接告知用户,然后展示相关分类下的true(建议技能)并传达suggested_skills(说明)。切勿虚构工作流。note - 务必读取数组并解释为何推荐该方案。
rationale
Step 4 — Explain the setup path
步骤4 — 说明设置路径
Read and walk the user through installing
— the recommender's deterministic install union over the
primary skillset and every secondary workflow (so nothing is dropped for a
multi-workflow recommendation). Enumerate →
→ , cite to explain why each
skill is needed, and name for how the
bundle is run. Narrate (when present) as "what the
recommended skillset is". On an honest gap install . Do this
for whichever environment the user is in (Claude Web App upload, or
Claude Code folder copy); call out any paid API keys those skills need.
references/setup_paths.mdsetup_bundlesetup_bundle.requiredrecommendedoptionalsetup_bundle.sourcesskillset.manifest.related_workflowsskillset.manifestsuggested_skills.skill读取文件,引导用户安装****(推荐器针对主技能集及所有辅助工作流生成的确定性安装合集,确保多工作流推荐时无遗漏)。按(必需)→ (推荐)→ (可选)的顺序列出技能,引用说明每项技能的必要性,并提及说明该捆绑包的运行方式。若存在,需说明“推荐的技能集是什么”。若为如实缺场景,则安装(建议技能)。根据用户所处的环境(Claude Web App上传文件,或Claude Code复制文件夹)进行引导;务必指出这些技能所需的付费API密钥(若有)。
references/setup_paths.mdsetup_bundlesetup_bundle.requiredrecommendedoptionalsetup_bundle.sourcesskillset.manifest.related_workflowsskillset.manifestsuggested_skills.skillStep 5 — Point to the learning loop
步骤5 — 引导至学习循环
Close by pointing the user at and the
/ workflows so every
recommended path feeds the Plan → Trade → Record → Review → Improve loop.
trader-memory-coretrade-memory-loopmonthly-performance-review最后引导用户关注以及/工作流,确保每条推荐路径都能融入“计划→交易→记录→复盘→改进”的循环。
trader-memory-coretrade-memory-loopmonthly-performance-reviewOutput Format
输出格式
The JSON the recommender emits (stable, idempotent, ):
sort_keys| Field | Meaning |
|---|---|
| Recommended workflow object, or |
| Supporting workflows (ordered, time-budget filtered) |
| |
| |
| Skills to use when no workflow shipped (honest gap); else |
| Request-side: was no-API constraint mode active (flag or persona) |
| Path-side: does the whole recommendation (primary + every secondary) work without paid API keys? |
| |
| Plain-language explanation for gaps / unmapped input |
| Ordered list of why-this-was-recommended strings |
| Pointer to the setup-path reference |
推荐器输出的JSON(稳定、幂等、已排序):
sort_keys| 字段 | 含义 |
|---|---|
| 推荐的工作流对象;若为如实缺场景则为 |
| 辅助工作流(已排序,按时间预算过滤) |
| |
| |
| 无可用工作流时(如实缺场景)推荐使用的技能;否则为 |
| 请求端标志:是否启用无API约束模式(通过标志或角色设置) |
| 路径端标志:整个推荐路径(主工作流+所有辅助工作流)是否无需付费API密钥即可使用?取值为 |
| 当无匹配需求的工作流时为 |
| 针对缺漏/未匹配输入的平实说明 |
| 按顺序排列的推荐理由字符串列表 |
| 设置路径参考文档的指针 |
Resources
资源
- — the deterministic recommender (single source of truth for routing).
scripts/recommend.py - — regenerates
scripts/build_snapshot.pyfrom the SSoT;assets/metadata_snapshot.jsonguards drift (pre-commit + CI).--check - — the persona table, the 10-question contract, the
references/intent_routing.mdcredential rule, and scoring tie-breaks.--no-api - — Claude Web App vs Claude Code setup steps.
references/setup_paths.md - — generated SSoT digest for the Web App fallback. Never edit by hand; run
assets/metadata_snapshot.json.build_snapshot.py
- — 确定性推荐器(路由逻辑的单一可信数据源)。
scripts/recommend.py - — 从单一可信数据源重新生成
scripts/build_snapshot.py;assets/metadata_snapshot.json参数用于防止数据偏差(预提交+持续集成)。--check - — 包含角色表、10项问题约定、
references/intent_routing.md凭证规则及评分平局处理方式。--no-api - — Claude Web App与Claude Code的设置步骤说明。
references/setup_paths.md - — 为Web App回退机制生成的单一可信数据源摘要。切勿手动编辑;请运行
assets/metadata_snapshot.json生成。build_snapshot.py