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 agentmods add skills/bromso/metapowers/closenpx skills add bromso/metapowers --skill closegit clone --depth 1 https://github.com/bromso/metapowersWrote 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/bromso/metapowers/close)<a href="https://agentmods.dev/skills/bromso/metapowers/close"><img src="https://agentmods.dev/badge/skills/bromso/metapowers/close.svg" alt="Measured on agentmods" 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 | $0.00009 | $0.00459 |
| Opus 5 | $0.00005 | $0.00230 |
| Sonnet 5 | $0.00002 | $0.00092 |
| Haiku 4.5 | $0.00001 | $0.00046 |
Grade A, and why
close 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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Close
Close temporary accounts for "$ARGUMENTS". Zero out revenue, expense, and dividend accounts by transferring their balances to retained earnings.
Prerequisites
Read .metapowers/accounting/$ARGUMENTS/07-statements.md for the financial statements and .metapowers/accounting/$ARGUMENTS/06-adjusted-balance.md for the adjusted trial balance.
Process
-
Close revenue accounts:
- Debit each revenue account for its full balance
- Credit Income Summary for the total revenue
- All revenue accounts should now have zero balances
-
Close expense accounts:
- Credit each expense account for its full balance
- Debit Income Summary for the total expenses
- All expense accounts should now have zero balances
-
Close Income Summary:
- If Income Summary has a credit balance (net income): debit Income Summary, credit Retained Earnings
- If Income Summary has a debit balance (net loss): credit Income Summary, debit Retained Earnings
- Income Summary should now have a zero balance
-
Close dividends/draws:
- Credit Dividends (or Owner's Draws) for its full balance
- Debit Retained Earnings
- Dividends account should now have a zero balance
-
Prepare post-closing trial balance:
- List only permanent accounts (assets, liabilities, equity)
- Verify debits equal credits
- These balances become the opening balances for the next period
-
Write the artifact to
.metapowers/accounting/$ARGUMENTS/08-close.mdwith sections:- Closing Journal Entries — all closing entries with accounts and amounts
- Post-Closing Trial Balance — permanent accounts only
- Period Summary — net income transferred, dividends closed, ending retained earnings
Output
The closing entries written to .metapowers/accounting/$ARGUMENTS/08-close.md. Present a summary highlighting:
- Net income transferred to retained earnings
- Ending retained earnings balance
- Confirmation that all temporary accounts are zeroed
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 · 51 lines · 9 tokens per session scan A feadd9143baf
close is a skill published in the GitHub repository bromso/metapowers (1 stars, last pushed 4mo ago), licensed MIT. It adds 9 tokens to every session and 459 once invoked, about $0.0000 per session on Opus 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.
Other skills, from other repositories
laravel-billing
Use when implementing subscriptions, invoices, payment methods, webhooks, or billing portals with Laravel Cashier (Stripe or Paddle).
laravel-stripe-connect
Use when implementing multi-vendor marketplace payments, seller onboarding, commissions, payouts, or split payments with Stripe Connect.
better-auth
Use when implementing Next.js authentication with Better Auth — OAuth, 2FA, magic links, SSO, Stripe billing, or session management.
rust-core-language
Use when writing or reviewing idiomatic Rust — edition 2024 ownership/borrowing design, or fixing LLM pitfalls (clone tax, unwrap infestation, indexed loops). Not for error-type design (rust-error-handling) or SOLID layout (solid-rust).
evolve
Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope. Accumulates a persistent belief model and…
business-growth-consultant
Finds the single constraint currently limiting a business's growth and the highest-leverage moves against it, rather than producing a list of everything that could be improved. Use this when growth has stalled or slowed, when deciding where to spend limited time or budget, when revenue rises but profit does not, when…