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.
git clone --depth 1 https://github.com/peerjakobsen/smartspenderWrote 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/commands/peerjakobsen/smartspender/advice)<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/advice"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/advice/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/commands/peerjakobsen/smartspender/advice"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/advice.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.00015 | $0.03273 |
| Opus 5.5 | $0.00006 | $0.01309 |
| Sonnet 5.5 | $0.00003 | $0.00655 |
| Haiku 4.5 | $0.00002 | $0.00327 |
Grade A, and why
advice 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 3mo 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 — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/smartspender:advice
Trigger
/smartspender:advice- "Hvad bør jeg fokusere på?"
- "Giv mig finansiel rådgivning"
- "Hvor er jeg i min privatøkonomi?"
- "What should I prioritize?"
Arguments
None.
Prerequisites
- Transactions synced and analyzed (categorized.csv has data)
- At least 1 month of transaction history for meaningful advice
Workflow
-
Load user memory skill and read stored learnings:
- Load
skills/user-memory/SKILL.mdfor learning detection - Read
learnings/preferences.mdfor previously stored user information - Note which questions can be skipped (emergency_fund, pension, debt, employer, etc.)
- Load
-
Read data from CSV files:
- categorized.csv: Spending by category
- subscriptions.csv: Active subscriptions
- monthly-summary.csv: Monthly totals and trends
- action-log.csv: Previous actions taken
- payslips.csv: Payslip data (if exists) for accurate income and pension info
1b. If payslips.csv exists and has data:
- Load most recent payslip for the current/previous month
- Extract: gross_salary, net_salary, pension_total, pension_pct
- Set
has_payslip_data = true - Use gross_salary for income-based calculations instead of transaction-derived income
-
Calculate key metrics:
- Monthly income:
- If has_payslip_data: Use gross_salary from payslip
- Otherwise: Sum of Indkomst category (net deposits)
- Monthly expenses: Sum of all spending categories
- Net cash flow: Income minus expenses
- Savings rate:
- If has_payslip_data: (gross_salary - expenses) / gross_salary (true savings rate)
- Otherwise: Net cash flow / Income (approximate)
- Subscription burden: Total subscriptions / Income (as percentage)
- Essential vs discretionary split: (Bolig + Dagligvarer + Transport) vs rest
- Monthly income:
-
Assess position in the 5-step framework using
skills/danish-finance-guide/SKILL.md:Step 0: Budget — Always ✅ (user is tracking spending via SmartSpender)
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.
- 3mo ago First seen · 297 lines · 15 tokens per session scan A fd1e13eabef3
advice is a command published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 10mo ago), licensed MIT. It adds 15 tokens to every session and 3,273 once invoked, about $0.0001 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-31.
advice compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| advicepeerjakobsen/smartspender | Command | 5 | 10mo ago | MIT | A | 15 | Claude Code |
| researchquant-sentiment-ai/claude-equity-research | Command | 773 | yesterday | MIT | A | 0 | Claude Code |
| better-auth:add-pluginsecondsky/claude-skills | Command | 257 | 2d ago | MIT | A | 25 | Claude Code |
| better-auth:setupsecondsky/claude-skills | Command | 257 | 2d ago | MIT | A | 26 | Claude Code |
| cloudflare-r2:presigned-urlsecondsky/claude-skills | Command | 257 | 2d ago | MIT | A | 20 | Claude Code |
| bun:migratesecondsky/claude-skills | Command | 257 | 2d ago | MIT | A | 13 | Claude Code |
| delegate-my-work:delegatesecondsky/claude-skills | Command | 257 | 2d ago | MIT | A | 25 | Claude Code |