شعار Risk Manager

Risk Manager

مؤسسة
jackson-video-resources
risk-manager

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

نظرة عامة

الناشرjackson-video-resources
المستودعskills
اسم المهارةrisk-manager
النجوم
26
التفريعات
14
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها jackson-video-resources على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Risk Manager في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/jackson-video-resources/skills/tree/main/skills/risk-manager
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Risk Manager في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Risk Manager تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Risk Manager بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Risk Manager؟

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

لماذا تستخدم Risk Manager على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Risk Manager عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Risk Manager في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/jackson-video-resources/skills/tree/main/skills/risk-manager. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Risk Manager؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Risk Manager؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Risk Manager معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Risk Manager مجانية؟

نعم. نشرها jackson-video-resources على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇