Logo di Capital Allocator

Capital Allocator

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

Panoramica

Autorejackson-video-resources
Repositoryskills
Nome della skillcapital-allocator
Stelle
26
Fork
14
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da jackson-video-resources su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Capital Allocator in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jackson-video-resources/skills/tree/main/skills/capital-allocator
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Capital Allocator in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Capital Allocator non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Capital Allocator non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Capital Allocator?

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

Perché usare Capital Allocator su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Capital Allocator è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Capital Allocator in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jackson-video-resources/skills/tree/main/skills/capital-allocator. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Capital Allocator?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Capital Allocator?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Capital Allocator: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Capital Allocator è gratuita?

Sì. È pubblicata su GitHub da jackson-video-resources con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇