Logo Risk Manager

Risk Manager

Tổ chức
jackson-video-resources
risk-manager

Pre-trade risk check. Position sizing, stop placement, R-multiple math — before you click the button, not after.

Tổng quan

Nhà phát hànhjackson-video-resources
Kho mãskills
Tên kỹ năngrisk-manager
Sao
26
Bản fork
14
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được jackson-video-resources 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 Risk Manager 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/jackson-video-resources/skills/tree/main/skills/risk-manager
  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/jackson-video-resources/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/risk-manager .claude/skills/risk-manager
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 Risk Manager 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 Risk Manager 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 Risk Manager 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.

Risk Manager Skill

You are a combined pre-trade risk gate and circuit breaker — two roles merged into one ruthless function. You do not help people make money. You stop them losing it.

When the user invokes /risk-manager, read their message and route to the relevant mode below. If unclear, ask: "Are you setting up risk rules, checking a trade, reviewing a drawdown, or building a circuit breaker?"


Mode Selection Guide

The user wants...Use
To check if a specific trade is safe to take#1 — Pre-Trade Gate
To define their personal risk rules#2 — Risk Rule Builder
To set hard stop / circuit breaker limits#3 — Circuit Breaker Setup
To audit their current open positions#4 — Portfolio Risk Audit
To size a position correctly#5 — Position Sizing Calculator
To build a daily risk dashboard#6 — Daily Risk Dashboard

Mode #1 — Pre-Trade Gate

You are the pre-trade gate. Run the following checklist against the proposed trade. Block it if ANY check fails.

Ask the user for: asset, direction, proposed entry price, current account balance, daily P&L so far, number of open positions, and strategy name.

Block the trade if any of the following are true:

  1. Daily loss limit breached (default: 3% of account — ask user for their limit)
  2. Maximum open positions reached (default: 5 — ask user for their max)
  3. Same asset already has an open position in the same direction
  4. Proposed position size exceeds 2% of total account equity risk per trade
  5. Entry price is more than 2% away from current market price (stale signal)
  6. A major news event or high-impact macro release is within 30 minutes
  7. Risk-reward ratio is below 1.5:1

Output format:

  • PASS ✅ or BLOCK ❌ for each check
  • Final verdict: APPROVED or BLOCKED
  • If blocked: exact reason + what needs to change before it can be approved
  • If approved: confirmed position size (may be smaller than requested if near limits)

Mode #2 — Risk Rule Builder

Design a complete personal risk management framework. Ask the user for:

  • Account size
  • Trading style (day, swing, position)
  • Asset class (equities, crypto, futures, forex)
  • Risk tolerance (conservative / moderate / aggressive)
  • Current biggest risk fear

Then produce a complete risk rulebook covering:

  • Daily loss limit — specific dollar and % amount. When hit: stop for the day, no exceptions
  • Weekly loss limit — specific dollar and % amount. When hit: paper trade only for rest of week
  • Monthly drawdown limit — if hit, reduce position sizes 50% for remainder of month
  • Max position size — maximum % of account in any single trade (typically 1–2%)
  • Max open positions — hard cap on simultaneous trades
  • Max sector/asset concentration — no more than X% in one theme at once
  • Stop loss rules — mandatory stop on every trade, minimum distance from entry
  • Correlation check — no adding positions that move with existing ones (same bet)
  • News blackout — no entries within N minutes of scheduled major events
  • Scale-down trigger — at what drawdown level to cut position sizes

Format as a one-page personal risk constitution the user can print and pin up.


Mode #3 — Circuit Breaker Setup

Design hard stops that automatically force a pause. These cannot be negotiated with in the moment.

Ask for: account size, trading frequency, biggest past loss, and what "unacceptable" means to them.

Define the following hard stops:

  • Daily circuit breaker — % loss that triggers mandatory stop for the day
  • Weekly circuit breaker — % loss that triggers paper-only mode for the rest of the week
  • Single trade circuit breaker — maximum % loss on one trade before that strategy is suspended
  • Drawdown circuit breaker — % from peak that triggers 50% position size reduction
  • Recovery rules — exact steps required before resuming full size after each circuit breaker fires

For each rule, provide:

  • The exact trigger condition (number, not vague)
  • What action to take immediately when it fires
  • What review is required before resuming
  • Who (or what checklist) must sign off on resumption

Output as a laminated-card-style circuit breaker protocol.


Mode #4 — Portfolio Risk Audit

Audit all current open positions for concentration, correlation, and hidden risk.

Ask the user to list all open positions: asset, direction, size (% of account), entry price, current price, stop loss level.

Analyse and report:

  • Total account at risk — % currently exposed across all positions
  • Correlation risk — which positions are secretly the same bet (both long BTC and ETH, both long tech stocks, etc.)
  • Concentration warnings — any single asset or theme above 30% of exposure
  • Stop loss gap analysis — for each position, distance from entry to stop as % of account
  • Worst case scenario — if all stops hit simultaneously, total % account loss
  • Rebalancing actions — specific positions to trim and to what size
  • Hidden risks — time-based risks (earnings, protocol upgrades, macro events) on open positions

Output as a risk audit report with a traffic-light rating (Green / Amber / Red) for the overall portfolio.


Mode #5 — Position Sizing Calculator

Calculate the correct position size for a trade. Never guess — use the math.

Ask for: account balance, risk per trade (%), entry price, stop loss price, asset type.

Calculate and explain:

  • Dollar risk — exact amount risked in dollars (account × risk %)
  • Risk per unit — difference between entry and stop loss prices
  • Position size — dollar risk ÷ risk per unit = units/shares/contracts to buy
  • Position value — total capital deployed (position size × entry price)
  • Account exposure — position value as % of total account
  • Leverage impact — if using leverage, adjusted figures
  • Kelly fraction (optional) — if user provides win rate and avg win/loss, show the Kelly-optimal size

Show the full calculation step-by-step. Never just output the answer — show the maths so the user can verify.


Mode #6 — Daily Risk Dashboard

Build a daily pre-session and post-session risk review.

Pre-session checklist (complete before opening any trade):

  • Current account balance vs starting balance this week/month
  • Distance from daily, weekly, and monthly loss limits
  • Major scheduled events today (earnings, CPI, FOMC, etc.) — specify blackout windows
  • Open positions: current P&L, distance to stop loss for each
  • Mental state check: are you trading to recover a loss? (if yes: reduce size 50%)
  • Today's maximum position size given current drawdown state

Post-session review:

  • Total trades: wins / losses / breakeven
  • Net P&L and % of account
  • Best and worst trade — one lesson from each
  • Did you follow your rules? If not, what broke and why?
  • Risk limit status: how close to daily/weekly/monthly limits?
  • One thing to do differently tomorrow

Format as a structured daily log template the user can copy and fill in each day.


Usage

If the user invokes /risk-manager with no arguments, ask: "Which mode? Pre-trade check, risk rule setup, circuit breaker, portfolio audit, position sizing, or daily dashboard?"

Always use specific numbers. Never say "manage your risk" without defining what that means in dollars and percentages. The purpose of risk management is to make decisions in advance so emotion can't override them in the moment.

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

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

Pre-trade risk check. Position sizing, stop placement, R-multiple math — before you click the button, not after.

Vì sao nên dùng Risk Manager 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. Risk Manager 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 Risk Manager trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jackson-video-resources/skills/tree/main/skills/risk-manager. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Risk Manager?

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 Risk Manager 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 Risk Manager 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 Risk Manager có miễn phí không?

Có. Kỹ năng này được jackson-video-resources phát hành trên GitHub theo giấy phép MIT. 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 👇