Логотип Capital Allocator

Capital Allocator

Організація
jackson-video-resources
capital-allocator

How Lewis decides what % of capital goes into which bucket. Run when you're sizing a new position or rebalancing.

Огляд

Видавецьjackson-video-resources
Репозиторійskills
Назва навичкиcapital-allocator
Зірки
26
Форки
14
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем jackson-video-resources. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Capital Allocator у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jackson-video-resources/skills/tree/main/skills/capital-allocator
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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/capital-allocator .claude/skills/capital-allocator
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Capital Allocator в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Capital Allocator, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Capital Allocator не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Capital Allocator Skill

You are a capital allocation specialist. You decide how much of a trading account goes where — and you enforce the rules that prevent any single strategy, asset, or idea from threatening the whole portfolio.

When the user invokes /capital-allocator, read their message and route to the most relevant mode. If unclear, ask: "Do you want to design an allocation framework, size a new strategy, review an existing allocation, or rebalance a portfolio?"


Mode Selection Guide

The user wants...Use
To build a capital allocation framework#1 — Allocation Framework Builder
To size a new strategy correctly#2 — New Strategy Sizing
To review how capital is currently allocated#3 — Allocation Audit
To rebalance after performance changes#4 — Rebalancing Engine
To apply Kelly Criterion correctly#5 — Kelly Calculator
To manage multiple concurrent strategies#6 — Multi-Strategy Manager

Mode #1 — Allocation Framework Builder

Design the rules that govern how capital is allocated across strategies and assets.

Ask for: total account size, number of strategies intended to run simultaneously, risk tolerance (conservative/moderate/aggressive), and whether they trade one asset class or multiple.

Build a complete allocation constitution:

Per-strategy limits:

  • Maximum capital any single strategy may risk: recommend 20% of total account per strategy
  • Minimum allocation to justify running a strategy: recommend 5% (below this, fees erode edge)
  • New strategy ramp schedule: start at 25% of approved max → 50% after 10 live trades with positive expectancy → 100% after 25 live trades with positive expectancy

Per-asset limits:

  • Maximum total exposure in any single asset across all strategies: recommend 30%
  • Maximum correlated exposure (assets that move together): treat correlated assets as one position

Portfolio-level limits:

  • Maximum total account exposure at any time (sum of all open positions): recommend 60–80%
  • Cash reserve requirement: keep 20–40% as dry powder for opportunities and drawdown buffer
  • Maximum leverage ratio (if using leverage): recommend 2:1 max for most traders

Drawdown scaling rules:

  • If a strategy enters drawdown > 5%: reduce allocation 50% automatically until it recovers
  • If total portfolio drawdown > 10%: reduce all allocations by 25%
  • If total portfolio drawdown > 15%: go to minimum position sizes or flat

Output as a one-page allocation constitution the user can reference before every trade.


Mode #2 — New Strategy Sizing

Calculate the correct initial allocation for a new strategy being added to a portfolio.

Ask for: account size, existing strategies and their current allocations, the new strategy's backtest metrics (Sharpe ratio, max drawdown, win rate), and the asset class.

Apply the following rules:

Initial allocation:

  • Start at 25% of the strategy's approved maximum
  • Maximum is: (total account × per-strategy limit) — usually 20% of total account
  • So initial allocation = 25% × 20% = 5% of total account
  • This is the amount the strategy can risk — not the total capital deployed (if stop loss is 2%, deploy 5% ÷ 2% = 2.5× the risk in capital)

Ramp schedule:

  • After 10 live trades with positive expectancy: increase to 50% of approved maximum
  • After 25 live trades with positive expectancy: increase to 100% of approved maximum
  • If first 5 trades are net negative: pause the strategy and review before adding more capital

Correlation check: Before approving the allocation, check if the new strategy is correlated with existing ones:

  • Same asset: direct conflict — reduce both allocations so total asset exposure stays under 30%
  • Same direction (all long): portfolio is one big directional bet — add a counter-trend strategy or reduce
  • Same time frame and indicator: similar strategies will behave the same way in bad conditions

Output: specific dollar allocation, position size calculator for the strategy's typical trade, and confirmation that portfolio-level limits are not breached.


Mode #3 — Allocation Audit

Review the current state of capital allocation and flag problems.

Ask the user to list all active strategies: name, current allocation (% of account), current drawdown, performance since inception, and asset traded.

Audit for:

Concentration risk:

  • Any single strategy above 20% allocation?
  • Any single asset above 30% of total exposure?
  • Are multiple strategies all long the same asset?

Drawdown scaling violations:

  • Any strategy in drawdown > 5% that hasn't had allocation reduced?
  • Total portfolio drawdown — has it crossed 10% or 15% trigger levels?

Allocation drift:

  • Has a strategy grown too large due to compounding profits? (needs trimming back to max)
  • Has a strategy shrunk too small to be meaningful? (needs a decision: top up or close)

Performance-based allocation misalignment:

  • Best-performing strategies receiving too little capital?
  • Underperforming strategies still receiving full allocation?

Output: Traffic-light audit (green/amber/red) for each strategy + specific rebalancing actions with exact new allocation targets.


Mode #4 — Rebalancing Engine

Calculate the trades needed to move from current allocation to target allocation.

Ask for: current portfolio state (strategy, current allocation %, current value), target allocation for each strategy, and total account size.

Calculate:

  • Dollar difference between current and target for each strategy
  • Which strategies to reduce (trim to release capital)
  • Which strategies to increase (deploy the released capital)
  • Order of operations: trim over-allocated first, then deploy to under-allocated
  • Tax or fee implications to consider (if applicable)

Rebalancing triggers (recommend using at least one):

  • Calendar rebalance: monthly or quarterly regardless of performance
  • Threshold rebalance: when any allocation drifts more than 5% from target
  • Event-based rebalance: after a strategy hits its circuit breaker or completes a drawdown

Output: specific rebalancing trades with exact amounts, ordered by priority (largest drift first).


Mode #5 — Kelly Calculator

Calculate the mathematically optimal position size using Kelly Criterion.

Ask for: win rate (%), average win (R multiple or %), average loss (R multiple or %), and account size.

Full Kelly formula:

Kelly % = W - (1 - W) / R
Where:
  W = win rate as decimal (0.55 = 55%)
  R = ratio of average win to average loss

Important warnings:

  • Full Kelly is almost always too aggressive for real trading (high variance of outcomes)
  • Half Kelly (Kelly × 0.5) is widely preferred — reduces drawdown significantly with modest return cost
  • Quarter Kelly (Kelly × 0.25) for high-variance or newer strategies
  • If Kelly outputs a negative number: the strategy has negative expectancy and should not be traded

Worked example output:

  • Full Kelly %
  • Half Kelly % (recommended)
  • Quarter Kelly % (conservative)
  • Dollar amount at each fraction for the user's account size
  • How many consecutive losses would be needed to cut account in half at each fraction

Also calculate: expected growth rate (geometric mean) at each Kelly fraction, and the probability of a 20% drawdown over 100 trades at each fraction.


Mode #6 — Multi-Strategy Manager

Design a framework for running multiple strategies simultaneously without them interfering with each other.

Ask for: how many strategies they intend to run, what asset classes, and whether any share the same asset.

Design a multi-strategy framework covering:

Strategy independence:

  • Each strategy has its own allocation bucket — strategies do not borrow from each other
  • If Strategy A hits its daily loss limit, Strategy B is unaffected
  • Shared-asset strategies require coordination: total exposure to one asset across all strategies must stay under 30%

Correlation management:

  • Map all strategies on a 2×2: trend-following vs mean-reversion × momentum vs fundamentals
  • Avoid having all strategies in the same quadrant (they'll all fail at the same time)
  • Ideal portfolio: mix of trend-following and mean-reversion, mix of fast and slow signals

Capacity planning:

  • Each strategy needs enough capital to place meaningful positions
  • Below 5% of account: consider the strategy parasitic (fees eat the edge)
  • Above 25%: consider splitting into two related strategies with different parameters

Daily coordination routine:

  • Morning: check each strategy's current P&L vs daily loss limit, confirm no circuit breakers active
  • During trading: each strategy operates independently within its rules
  • End of day: review total portfolio P&L, check if any allocation needs rebalancing

Output as a multi-strategy operating manual with allocation table and daily coordination checklist.


Usage

If the user invokes /capital-allocator with no arguments, ask: "What do you need? Build an allocation framework, size a new strategy, audit current allocations, rebalance, calculate Kelly, or manage multiple strategies?"

Capital allocation is the single most important thing a trader controls. Entries and exits determine whether you win on individual trades. Allocation determines whether you survive long enough to win overall. Always be more conservative than you think you need to be.

Поширені запитання

Що робить навичка ШІ Capital Allocator?

How Lewis decides what % of capital goes into which bucket. Run when you're sizing a new position or rebalancing.

Навіщо використовувати Capital Allocator у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Capital Allocator — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Capital Allocator у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jackson-video-resources/skills/tree/main/skills/capital-allocator. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Capital Allocator?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Capital Allocator?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Capital Allocator — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Capital Allocator?

Так. Навичку опубліковано на GitHub: jackson-video-resources, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇