Borrowing it
Nothing to install: this file belongs to sophonfinance-wq/finance-automation-portfolio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sophonfinance-wq/finance-automation-portfolio/main/.claude/skills/surplus/SKILL.mdgit clone --depth 1 https://github.com/sophonfinance-wq/finance-automation-portfolioWrote 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/sophonfinance-wq/finance-automation-portfolio/surplus)<a href="https://agentmods.dev/skills/sophonfinance-wq/finance-automation-portfolio/surplus"><img src="https://agentmods.dev/badge/skills/sophonfinance-wq/finance-automation-portfolio/surplus/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/sophonfinance-wq/finance-automation-portfolio/surplus"><img src="https://agentmods.dev/badge/skills/sophonfinance-wq/finance-automation-portfolio/surplus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00062 | $0.00386 |
| Opus 5.5 | $0.00025 | $0.00154 |
| Sonnet 5.5 | $0.00012 | $0.00077 |
| Haiku 4.5 | $0.00006 | $0.00039 |
Grade A, and why
surplus 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 2mo 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.
What it actually says
Tax Surplus / ACB Engine
Package surplus_engine in tax-surplus-engine/. Seed 20240607. Canadian foreign-affiliate surplus pools, distribution waterfall, ACB on capital events only.
Commands (run from tax-surplus-engine/)
python -m surplus_engine --start 2021 --end 2024 --out out --xlsx
python -m surplus_engine --start 2021 --end 2024 --check # 212 identity checks; exit 1 on any break
python -m surplus_engine.loop --demo --out out # HUMAN-GATED LOOP: settle drifted periods earliest-first
python -m pytest -q # 7,498 tests
Showpieces
- FX sign-flip:
out/fx_layer_analysis.md— USD ACB $0 but per-layer CAD ACB $(660.35); find the flag glyph. - Loop demo: 3 turns lock FY2021-23, breaks 6->4->2->0, verdict FLAG (CAD 107,088.50 adjustments for human review).
Loop verdicts (surplus_engine/loop.py)
PASS (0) / FLAG (0, material -> human reviews what changed) / FAIL (1). Sensor = reconcile.py (independent re-derivation); authority = SurplusEngine.run on seeded facts. Never invents: settled set is byte-identical to a clean run.
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.
- 2mo ago First seen · 23 lines · 62 tokens per session scan A 38f4c78cebc9
surplus is a skill published in the GitHub repository sophonfinance-wq/finance-automation-portfolio (16 stars, last pushed 27d ago), licensed MIT. It adds 62 tokens to every session and 386 once invoked, about $0.0002 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-08-30.
surplus compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| surplussophonfinance-wq/finance-automation-portfolio | Skill | 16 | 27d ago | MIT | A | 62 | Claude Code |
| monthly-close-processgokulb20/crewm8-cfo-skills | Skill | 2 | 6mo ago | MIT | A | 67 | Claude Code, Codex |
| accounting-audit-system-buildersickn33/agentic-awesome-skills | Skill | 49k | 2d ago | MIT | A | 41 | Claude Code |
| vnpy-exportHKUDS/Vibe-Trading | Skill | 38k | today | MIT | A | 40 | Claude Code, Codex |
| connect-recommendstripe/ai | Skill | 2.0k | today | MIT | A | 151 | Claude Code, Codex |
| billing-stripevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 56 | Claude Code |
| miniqmt-to-bigqmtlitaolemo/xtquant_big_convert | Skill | 811 | 11d ago | MIT | A | 144 | Claude Code, Codex |