Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add JoelLewis/finance_skills --skill asset-allocationgit clone --depth 1 https://github.com/JoelLewis/finance_skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/joellewis/finance_skills/asset-allocation)<a href="https://agentmods.dev/skills/joellewis/finance_skills/asset-allocation"><img src="https://agentmods.dev/badge/skills/joellewis/finance_skills/asset-allocation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/joellewis/finance_skills/asset-allocation"><img src="https://agentmods.dev/badge/skills/joellewis/finance_skills/asset-allocation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.02428 |
| Opus 5.5 | $0.00040 | $0.00971 |
| Sonnet 5.5 | $0.00020 | $0.00486 |
| Haiku 4.5 | $0.00010 | $0.00243 |
Grade A, and why
asset-allocation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Asset Allocation
Core Concepts
Strategic Asset Allocation (SAA)
The long-term policy portfolio based on an investor's risk tolerance, return objectives, time horizon, and constraints. SAA determines the baseline target weights (e.g., 60% equity / 30% bonds / 10% alternatives) and is the dominant driver of long-term portfolio returns. SAA should be revisited when investor circumstances change, not in response to market movements.
Tactical Asset Allocation (TAA)
Short-to-medium-term deviations from the SAA based on market views, valuations, or momentum signals. TAA requires a disciplined process to avoid becoming ad hoc market timing. Key considerations:
- Define allowable deviation bands (e.g., +/- 10% from SAA)
- Have a clear signal framework (valuation, momentum, macro)
- Set reversion rules: when to return to SAA weights
Mean-Variance Optimization (MVO)
Markowitz's framework for finding optimal portfolio weights that maximize risk-adjusted return:
max w'*mu - (lambda/2) * w'Sigmaw
subject to: sum(w_i) = 1, w_i >= 0 (if long-only), and any additional constraints.
Where:
- w = weight vector
- mu = expected return vector
- Sigma = covariance matrix
- lambda = risk aversion parameter
MVO requires three inputs: expected returns, the covariance matrix, and risk aversion. The solution is highly sensitive to expected return inputs.
Black-Litterman Model
Combines market equilibrium returns with investor views to produce more stable, intuitive portfolio weights. Two-step process:
Step 1 — Implied Equilibrium Returns: Pi = lambda * Sigma * w_mkt
where w_mkt is the market-capitalization weight vector, lambda is the risk aversion parameter, and Sigma is the covariance matrix. These are the returns the market implicitly expects given current prices.
Step 2 — Blending with Views: E(R) = [(tau*Sigma)^(-1) + P'*Omega^(-1)P]^(-1) * [(tauSigma)^(-1)*Pi + P'*Omega^(-1)*Q]
where:
- tau = scalar (uncertainty of equilibrium, typically 0.025-0.05)
- P = pick matrix (identifies assets in each view)
- Q = view vector (expected returns from views)
- Omega = diagonal matrix of view uncertainties
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 184 lines · 99 tokens per session scan A 9d611c9171a3
asset-allocation is a skill published in the GitHub repository JoelLewis/finance_skills (272 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 2,428 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
asset-allocation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| asset-allocationJoelLewis/finance_skills | Skill | 272 | 3d ago | MIT | A | 99 | Claude Code |
| Freelance EmpireLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 71 | Claude Code, Codex |
| agent-otc-tradeLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 80 | Claude Code |
| agentic-streetLeoYeAI/openclaw-master-skills | Skill | 2.2k | 8d ago | MIT | A | 91 | Claude Code, Codex |
| alpha-vantageforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 21d ago | Apache-2.0 | A | 126 | Claude Code, Codex |
| prompt-proximity-architectureelvisun/newsjack | Skill | 1.7k | 4d ago | MIT | A | 67 | Claude Code |
| syndicromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 204 | Claude Code |