Agent skill

Investment Strategy Structure Diagnostician

by Evan-XYZ in Evan-XYZ/YMOS

Diagnoses whether an investor's stated strategy can actually be expressed, falsified, risk-budgeted, executed and audited, without recommending any trade.

Custom licenceAuto-check passedBusiness, Finance & HR

Install Investment Strategy Structure Diagnostician

skills CLI
$ npx skills add Evan-XYZ/YMOS --skill ymos-diagnosis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Evan-XYZ/YMOS ymos-diagnosis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Evan-XYZ/YMOS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Brain/ymos-diagnosis .claude/skills/ymos-diagnosis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ymos-diagnosis
GitHub stars
240
Token cost
~2.2k tokens
SKILL.md length
1,004 words
Files
8 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
Custom licence

At a glance

Diagnoses whether an investor's stated strategy can actually be expressed, falsified, risk-budgeted, executed and audited, without recommending any trade.

  • Works in 2 steps: Question diagnosis — examine one… → Structure checkup — audit the user's…
  • Checking whether an investment strategy's rules are internally consistent
  • SKILL.md covers Non-negotiable boundary, Reference routing, Choose a mode and Mode A: Question diagnosis, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

This skill acts as a strategy-structure diagnostician rather than an advisor: it never recommends securities or specific trades, predicts returns or market direction, chooses a strategy family for the user, sets position sizes or stop levels, judges whether a concrete holding is good, or promises any outcome. Instead it returns the structural conflicts and choices it finds back to the user rather than making value-laden tradeoffs on their behalf.

It offers two modes: diagnosing one investment question or decision process, or auditing the user's entire decision system, asking which is wanted unless the request already makes it obvious. For a single question it runs a five-layer check in order - whether key words like good or safe are operationally defined, which unstated assumptions the question depends on, whether entry, invalidation, sizing and horizon rely on compatible judgments, which premises are verified versus merely opinions, and whether scope, evidence, invalidation, risk budget, horizon and an explicit human choice are all present - stopping as soon as the original question dissolves and stating exactly why.

It classifies the result as well-formed (structurally answerable, though answering the investment itself stays out of scope), underspecified, or another category, and reads additional reference files on strategy families or historical inconsistency patterns only when the user's situation actually calls for them.

When your agent uses it

  • Checking whether an investment strategy's rules are internally consistent
  • Finding why your own trading execution keeps drifting from the plan
  • Auditing a whole personal investment decision system for gaps

Example prompts

  • “Diagnose whether my stop-loss rule actually matches my entry logic.”
  • “Why does my execution always drift from my stated strategy?”
  • “Audit my whole investment decision system for structural conflicts.”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Question diagnosis — examine one investment question or decision process.
  2. Structure checkup — audit the user's whole decision system.

What it can do on your machine

Read from SKILL.md and the folder at commit fce3769. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Investment Strategy Structure Diagnostician loads about 2.2k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 1,004 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,004 words (~2,170 tokens).

“Act as a strategy-structure diagnostician. Diagnose whether the user's stated strategy can be expressed, falsified, risk-budgeted, executed, and audited. Do not judge whether the strategy will make money.”

— opening of SKILL.md by Evan-XYZ, Custom licence
name
ymos-diagnosis

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (references) in Brain/ymos-diagnosis of Evan-XYZ/YMOS.

  • SKILL.md
  • README.md
  • UPSTREAM_VERSION
  • YMOS_ADAPTER.md
  • agents/openai.yaml
  • references/inconsistency_patterns.md
  • references/strategy_family_map.md
  • references/structural_invariants.md

Open the folder on GitHubat commit fce3769

Compare with similar skills

Investment Strategy Structure Diagnostician next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Investment Strategy Structure Diagnostician compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Investment Strategy Structure Diagnostician this skillEvan-XYZ/YMOS240—~2.2kAutomated safety check: PassCustom licence
Multi-Symbol Market Scannertradesdontlie/tradingview-mcp6.8k2 repos~447Automated safety check: PassCustom licence
Serenity Supply-Chain Researchmuxuuu/serenity-skill4.1k—~1.9kAutomated safety check: PassMIT
AI-Trader Market IntelHKUDS/AI-Trader23k—~1.1kAutomated safety check: PassNone
Eastmoney Market DataHKUDS/Vibe-Trading35k—~1kAutomated safety check: PassMIT
TradingView Chart Analysistradesdontlie/tradingview-mcp6.8k2 repos~515Automated safety check: PassCustom licence

Similar skills

  • Multi-Symbol Market Scanner

    tradesdontlie/tradingview-mcp

    Scans a list of trading symbols in TradingView for setups, patterns or strategy results and reports them as a ranked comparison table.

    6.8k GitHub starsUsed in 2 repos~447 tokens
    Business, Finance & HRAuto-check passed
  • Serenity Supply-Chain Research

    muxuuu/serenity-skill

    Researches technology and advanced-manufacturing stocks by tracing supply-chain bottlenecks, with dated evidence, profit implications and conditions that would change the view.

    4.1k GitHub stars~1.9k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • AI-Trader Market Intel

    HKUDS/AI-Trader

    Reads AI-Trader's read-only market snapshots, grouped financial news and events board through its market-intel endpoints, for context before trading or posting.

    23k GitHub stars~1.1k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Eastmoney Market Data

    HKUDS/Vibe-Trading

    Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.

    35k GitHub stars~1k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • TradingView Chart Analysis

    tradesdontlie/tradingview-mcp

    Sets up a TradingView chart with a symbol, timeframe and indicators, marks key levels, takes a screenshot and reports price range, levels and overall bias.

    6.8k GitHub starsUsed in 2 repos~515 tokens
    Business, Finance & HRAuto-check passed
  • Runs a staged deep analysis of a single stock on China A-share, Hong Kong and US markets, ending in an HTML report with valuation models and investor-panel scores.

    7.1k GitHub stars~9.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check: notes

Questions about Investment Strategy Structure Diagnostician

What does Investment Strategy Structure Diagnostician do?

Diagnoses whether an investor's stated strategy can actually be expressed, falsified, risk-budgeted, executed and audited, without recommending any trade. This skill acts as a strategy-structure diagnostician rather than an advisor: it never recommends securities or specific trades, predicts returns or market direction, chooses a strategy family for the user, sets position sizes or stop levels, judges whether a concrete holding is good, or promises any outcome. Instead it returns the structural conflicts and choices it finds back to the user rather than making value-laden tradeoffs on their behalf.

When should I use Investment Strategy Structure Diagnostician?

Investment Strategy Structure Diagnostician fits situations like: checking whether an investment strategy's rules are internally consistent; finding why your own trading execution keeps drifting from the plan; auditing a whole personal investment decision system for gaps.

How do I install Investment Strategy Structure Diagnostician in Claude Code?

Run `npx skills add Evan-XYZ/YMOS --skill ymos-diagnosis -a claude-code`. Or copy the skill folder (Brain/ymos-diagnosis in Evan-XYZ/YMOS) into .claude/skills/ymos-diagnosis in your project. Claude Code loads it when a task matches its description.

How do I install Investment Strategy Structure Diagnostician in Codex?

Run `npx skills add Evan-XYZ/YMOS --skill ymos-diagnosis -a codex`. Or copy the skill folder (Brain/ymos-diagnosis in Evan-XYZ/YMOS) into .agents/skills/ymos-diagnosis in your project. Codex loads it when a task matches its description.

Can I use Investment Strategy Structure Diagnostician in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Evan-XYZ/YMOS --skill ymos-diagnosis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ymos-diagnosis, .gemini/skills/ymos-diagnosis, .github/skills/ymos-diagnosis and .opencode/skills/ymos-diagnosis in your project.

What does Investment Strategy Structure Diagnostician need to run?

SKILL.md names no scripts, command-line tools or credentials: Investment Strategy Structure Diagnostician is instructions for the agent only.

Does Investment Strategy Structure Diagnostician access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Investment Strategy Structure Diagnostician safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Investment Strategy Structure Diagnostician use?

Investment Strategy Structure Diagnostician has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Investment Strategy Structure Diagnostician use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Investment Strategy Structure Diagnostician?

Skills that share tags, products or a category with Investment Strategy Structure Diagnostician: Multi-Symbol Market Scanner (tradesdontlie/tradingview-mcp, 6.8k stars), Serenity Supply-Chain Research (muxuuu/serenity-skill, 4.1k stars), AI-Trader Market Intel (HKUDS/AI-Trader, 23k stars) and Eastmoney Market Data (HKUDS/Vibe-Trading, 35k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Investment Strategy Structure Diagnostician?

Evan-XYZ (a GitHub organization) maintains it in Evan-XYZ/YMOS, which has 240 GitHub stars. The repository was last updated on October 10, 2026.

Source: Evan-XYZ/YMOS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.