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/ap/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/ap)<a href="https://agentmods.dev/skills/sophonfinance-wq/finance-automation-portfolio/ap"><img src="https://agentmods.dev/badge/skills/sophonfinance-wq/finance-automation-portfolio/ap/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/ap"><img src="https://agentmods.dev/badge/skills/sophonfinance-wq/finance-automation-portfolio/ap.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.00063 | $0.00459 |
| Opus 5 | $0.00032 | $0.00230 |
| Sonnet 5 | $0.00013 | $0.00092 |
| Haiku 4.5 | $0.00006 | $0.00046 |
Grade A, and why
ap 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 11d 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
Accounts Payable (read-only)
Package ap_engine in accounts-payable-automation/.
Commands (run from accounts-payable-automation/)
python run.py # generate the fictional corpus, run all 30 controls, write both artifacts
python -m ap_engine ./samples # analyze an existing folder read-only
python -m pytest -q # 2,223 tests incl. the planted-defect suite
Exit codes: 0 PASS · 1 REVIEW · 2 FAIL · 3 usage/IO. The bundled corpus carries one planted defect per control, so it exits 2 by design.
The one rule
This engine NEVER writes — source artifacts are hashed before and after a run and asserted byte-identical. It has no connection to a ledger, payment provider or approval system, so nothing it produces can post or pay. Do not bolt a remediation loop onto it; like /validate it is the sensor other loops use. If asked to "fix" what it finds, route the fix to the source system, then re-run.
What to watch for
- Absent evidence is not a passing control.
set_completeruns first for exactly this reason: a set missing an artifact type would otherwise report clean because the controls reading it returned nothing. - A benign notice is not a failure. A "job-cost entries not created" style line is normal for a ledger-only invoice; only a blocking marker (batch contention, aborted update) is a FAIL. Conflating them turns the control into noise.
- PASS is not sign-off. It means the implemented mechanical controls found nothing. Release, approval and posting stay with a person.
- Money is integer cents with exact
==and no tolerance band anywhere. A non-integer amount is rejected, never coerced.
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.
- 11d ago First seen · 26 lines · 63 tokens per session scan A 8f3b61e7d2bc
ap is a skill published in the GitHub repository sophonfinance-wq/finance-automation-portfolio (11 stars, last pushed 15d ago), licensed MIT. It adds 63 tokens to every session and 459 once invoked, about $0.0003 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-30.
Other skills, from other repositories
Invoice Automation
Automate invoice generation, sending, tracking, and payment reconciliation across accounting platforms.
correction-memory
A local memory system that stores tax-accountant corrections to transaction classifications. It matches future transactions to earlier vendor or description patterns.
nightly-batch
Batch-process all client companies overnight. Fetches unprocessed transactions from freee API, runs the full classification pipeline, and generates a summary for morning review.
tax-classifier
A system for assigning Japanese business transactions to accounting categories, called 勘定科目, and consumption-tax treatments. It checks exclusions, past corrections, keywords, and then uses AI when needed.
csv-importer
A tool for importing transaction CSV files—spreadsheet files separated by commas—from Japanese accounting software and classifying every imported row.
bank-reconciliation
Match book entries against bank or credit card statements to find discrepancies, missing transactions, and duplicates. Uses exact, near, and batch matching with balance verification. Trigger on "reconcile bank statement", "match transactions", "bank balance doesn't match", "close the books".