Logo van Capital Allocator

Capital Allocator

Organisatie
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.

Overzicht

Uitgeverjackson-video-resources
Repositoryskills
Skillnaamcapital-allocator
Sterren
26
Forks
14
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door jackson-video-resources op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Capital Allocator in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/jackson-video-resources/skills/tree/main/skills/capital-allocator
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Capital Allocator in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Capital Allocator automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Capital Allocator niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill Capital Allocator?

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

Waarom Capital Allocator gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Capital Allocator bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Capital Allocator in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/jackson-video-resources/skills/tree/main/skills/capital-allocator. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Capital Allocator gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Capital Allocator gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Capital Allocator ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Capital Allocator gratis?

Ja. Deze skill is door jackson-video-resources op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇