finance-automation-portfolio: Skill for Claude Code

.claude/skills/ap/SKILL.md

ap is a skill for Claude Code from sophonfinance-wq/finance-automation-portfolio. It costs 63 tokens per session (459 once invoked), scanned A, original, MIT.

A read-only checker for Accounts Payable, the part of finance that handles supplier bills and payments.

In plain words
What is it for?
Use it to analyze document sets, return PASS, REVIEW, or FAIL results, check evidence for 30 controls, and create findings for correction in the source system.
Why use it?
It identifies posting, payment, approval, reporting, and responsibility-separation problems without changing source files or releasing payments.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sophonfinance-wq/finance-automation-portfolio's own configuration. It tells Claude Code how to work on finance-automation-portfolio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything finance-automation-portfolio configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/sophonfinance-wq/finance-automation-portfolio/main/.claude/skills/ap/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sophonfinance-wq/finance-automation-portfolio

Made for: Claude Code.

Wrote 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.

agentmods badge for ap

README.md
[![agentmods](https://agentmods.dev/badge/skills/sophonfinance-wq/finance-automation-portfolio/ap/github.svg)](https://agentmods.dev/skills/sophonfinance-wq/finance-automation-portfolio/ap)
Your own site
<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.

agentmods 80×15 button for ap

Your own site · 80×15
<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>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash 8f3b61e7d2bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

.claude/skills/ap/SKILL.md · 26 lines

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_complete runs 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.
Changes

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.

  1. 11d ago First seen · 26 lines · 63 tokens per session scan A 8f3b61e7d2bc

Subscribe to this mod's changes

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.