Logo Ymos Diagnosis

Ymos Diagnosis

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

Tổng quan

Nhà phát hànhEvan-XYZ
Kho mãymos-diagnosis
Tên kỹ năngymos-diagnosis
Sao
26
Bản fork
7
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Evan-XYZ công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ymos Diagnosis trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Evan-XYZ/ymos-diagnosis/tree/main/skills/ymos-diagnosis
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ymos Diagnosis trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ymos Diagnosis ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ymos Diagnosis với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ymos Diagnosis làm được gì?

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

Vì sao nên dùng Ymos Diagnosis trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ymos Diagnosis là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ymos Diagnosis trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Evan-XYZ/ymos-diagnosis/tree/main/skills/ymos-diagnosis. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ymos Diagnosis?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ymos Diagnosis với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ymos Diagnosis với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ymos Diagnosis có miễn phí không?

Kỹ năng này được Evan-XYZ phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇