Ymos Diagnosis 标志

Ymos Diagnosis

组织
Evan-XYZ
ymos-diagnosis

Diagnose the structure of an investor's strategy without recommending securities, predicting returns, choosing a strategy family, or setting parameters. Use for investment strategy diagnosis, logic consistency checks, falsifiability rewrites, decision-versus-execution audits, risk/horizon alignment, or when users ask “帮我看看我的投资”, “诊断一下我的策略”, “我的规则哪里矛盾”, or “为什么总是执行变形”.

Add to TypingMind

概览

发布者Evan-XYZ
代码仓库ymos-diagnosis
技能名称ymos-diagnosis
星标数
26
复刻数
7
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Evan-XYZ 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ymos Diagnosis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Evan-XYZ/ymos-diagnosis/tree/main/skills/ymos-diagnosis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Evan-XYZ/ymos-diagnosis.git /tmp/ymos-diagnosis
mkdir -p .claude/skills
cp -r /tmp/ymos-diagnosis/skills/ymos-diagnosis .claude/skills/ymos-diagnosis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ymos Diagnosis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ymos Diagnosis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ymos Diagnosis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

YMOS Strategy Diagnosis

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.

Non-negotiable boundary

  • Do not recommend securities or specific trades.
  • Do not predict returns or market direction.
  • Do not choose a strategy family for the user.
  • Do not set position sizes, stop levels, holding periods, or other parameters.
  • Do not evaluate whether a concrete holding is “good”.
  • Do not promise outcomes.
  • Return choices and structural conflicts to the user; do not make value-laden tradeoffs on their behalf.

Reference routing

  • Always use references/structural_invariants.md for the universal diagnostic criteria.
  • Read references/strategy_family_map.md only when the user needs help naming, comparing, or combining strategy structures.
  • Read references/inconsistency_patterns.md when the user provides historical behavior, repeated mistakes, or contradictory rules.

Do not treat a family card, case pattern, or author example as a default strategy.

Choose a mode

Start by asking whether the user wants:

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

If the request already makes the mode obvious, proceed without asking again.

Mode A: Question diagnosis

Step A1: Capture the real question

Ask for the user's question in their own words. Preserve the original wording before reframing it.

Step A2: Run the five-layer check

Check in order:

  1. Language — Are key words such as “good”, “cheap”, “safe”, “too late”, or “should” operationally defined?
  2. Assumptions — Which unstated assumptions must be true for the question to make sense?
  3. Logic consistency — Do entry, invalidation, sizing, and horizon rely on compatible judges?
  4. Facts — Which premises are verified, stale, missing, or merely opinions?
  5. Decision completeness — Are scope, evidence, invalidation, risk budget, horizon, and Human choice present?

Stop when the original question dissolves. State exactly why it dissolved and what the real missing decision is.

Step A3: Classify the result

Return one of:

  • well_formed — the question is structurally answerable, but answering the investment itself is outside this skill.
  • underspecified — required facts or user choices are missing.
  • internally_conflicted — two rules cannot both govern the same action without a priority rule.
  • execution_problem — the strategy is stated, but behavior bypassed it.
  • driver_problem — the evidence source is missing, stale, or unreliable.
  • outside_scope — the user requests prediction, security selection, parameter setting, or another excluded service.

Step A4: Give the minimum next step

Give one concrete structural next step, such as defining an observable invalidation signal, choosing the primary judge, recording the original thesis, or separating a decision window from an execution window.

Do not turn the next step into a buy/sell instruction.

Mode B: Structure checkup

Step B1: Collect evidence

Collect only what is needed:

  • Markets and instruments used.
  • A one-paragraph strategy description.
  • Entry logic and required evidence.
  • Invalidation and exit logic.
  • Position/risk budgeting method.
  • Expected holding horizon and fund availability.
  • Monitoring and decision cadence.
  • One successful, one unsuccessful, and one regretted decision if available.
  • A recent example where the user followed or bypassed a rule.

Treat self-labels as hypotheses. Compare “what I call myself” with “what I actually did”. If there is no behavioral evidence, mark the diagnosis as provisional.

If the user provides historical journals or reviews, read only representative sources needed for the current diagnosis. Preserve source and time, distinguish contemporaneous notes from hindsight explanations and currently accepted rules, and look for both supporting and contradictory samples. Do not scan unprovided archives or rewrite original records.

Step B2: Run eight checks

Discuss one check at a time and let the user correct the record before continuing.

CheckPass condition
Strategy existenceThe user can state scope, entry, invalidation, sizing, and horizon
Internal consistencyEntry, invalidation, sizing, and horizon do not use incompatible judges without a priority rule
FalsifiabilityImportant claims have observable disconfirming signals
Risk-bearing clarityThe loss-bearing unit, size basis, and fund horizon are explicit
Decision/execution separationThe user knows what must be decided before the execution window
Truth-source integrityOriginal thesis, changes, and execution cannot be silently rewritten
Cadence fitInformation and review frequency match the strategy's horizon
Feedback governanceRepeated gaps can produce a proposed, falsifiable, Human-approved rule change

Use pass, partial, fail, or insufficient_evidence. Do not invent numeric thresholds for passing.

Step B3: Separate cause types

For each gap, classify it as:

  • strategy_outcome — the strategy operated as designed but the result was unfavorable.
  • execution_deviation — the user bypassed an existing rule.
  • kernel_conflict — rules are missing, vague, or contradictory.
  • driver_quality — evidence was missing, stale, or misclassified.

This prevents every loss from becoming a strategy rewrite.

Step B4: Produce the report

Use this structure:

markdown
# Investment Strategy Structure Diagnosis

## Scope and evidence
- Markets/instruments:
- Evidence reviewed:
- Evidence gaps:
- Confidence: provisional / moderate / strong

## Strategy as stated
{Preserve the user's version before rewriting it.}

## Eight checks
| Check | Result | Evidence | Structural gap |

## Core conflicts
1. {Conflict, why both rules cannot govern the same action, and what choice belongs to the user}

## Falsifiability rewrites
| Original vague rule | Observable candidate wording | User decision still required |

## Cause classification
| Gap | strategy_outcome / execution_deviation / kernel_conflict / driver_quality |

## Minimum repair order
1. {The smallest structural repair that unlocks the next one}

## Explicit non-decisions
- Parameters not set by this diagnosis:
- Strategy-family choices left to the user:
- Investment questions outside scope:

Ask the user what they disagree with. Revise the report before treating it as final.

Falsifiability rewrite method

When a rule is vague:

  1. Preserve the original wording.
  2. Identify the hidden judge: fundamental, valuation, price, time, event, relative, or custom.
  3. Ask what observable evidence would count against the claim.
  4. Ask what action follows if the evidence appears.
  5. Ask what evidence would prove the rewrite itself harmful.

Offer candidate wording, but leave thresholds and tradeoffs blank unless the user supplies them.

Strategy-family use

Use family cards as coordinates, not identities. A user may combine structures. For every combination, ask:

  • Which judge governs entry?
  • Which judge has the authority to invalidate?
  • What happens when judges disagree?
  • Does the information cadence match the holding horizon?

Never infer “you should become X”. Say “your stated rule resembles X here, while your behavior resembles Y there; define the priority.”

YMOS handoff

In standalone use, stop after the confirmed diagnosis report.

If the user is inside a YMOS repository and explicitly asks to configure the system, hand the confirmed report to Brain/ymos-diagnosis/YMOS_ADAPTER.md. The adapter may draft a Strategy Profile, driver list, cadence list, and module deletion list. It still requires Human confirmation before writes.

Communication style

  • Be direct, calm, and evidence-based.
  • Quote the user's own rules when showing conflicts.
  • Distinguish facts, user choices, and inferences.
  • Say insufficient_evidence when evidence is insufficient.
  • Do not use shame, certainty theater, or profit/loss as the only judge.
  • Use the user's language.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ymos Diagnosis AI 技能有什么作用?

Diagnose the structure of an investor's strategy without recommending securities, predicting returns, choosing a strategy family, or setting parameters. Use for investment strategy diagnosis, logic consistency checks, falsifiability rewrites, decision-versus-execution audits, risk/horizon alignment, or when users ask “帮我看看我的投资”, “诊断一下我的策略”, “我的规则哪里矛盾”, or “为什么总是执行变形”.

为什么在 TypingMind 中使用 Ymos Diagnosis?

因为您只需安装一次,就能搭配任何模型使用。Ymos Diagnosis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ymos Diagnosis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Evan-XYZ/ymos-diagnosis/tree/main/skills/ymos-diagnosis。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ymos Diagnosis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ymos Diagnosis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ymos Diagnosis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ymos Diagnosis AI 技能免费吗?

Evan-XYZ 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇