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 “为什么总是执行变形”.

概要

公開者Evan-XYZ
リポジトリymos-diagnosis
スキル名ymos-diagnosis
スター
26
フォーク
7
同梱ファイル
4
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Evan-XYZがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ymos Diagnosis」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にYmos Diagnosisを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ymos Diagnosisは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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 “为什么总是执行变形”.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ymos Diagnosisを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ymos Diagnosisで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもYmos Diagnosisを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ymos Diagnosis」は無料ですか?

Evan-XYZがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇