cpa-skills
AGENTS.md8 starsChanged 4 months agoMITView on GitHub
Guidelines for AI agents working in this repository. This repository contains Agent Skills for accounting and tax work, following the Agent Skills specification. Skills install to .agents/skills/ (the cross-agent standard). The repo also serves as a Claude Code plugin marketplace via .claude-plugin/marketplace.json. dist/ and markdown/ are generated. Never hand-edit them. Edit skills/, then run python3 build.py. Both must pass before a commit. validate-skills.sh exits non-zero on any error. Only references/, scripts/, and assets/. Anything else is not bundled by build.py…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository44 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accrual-proposalsSkill
- ar-aging-tie-outSkill
- arr-waterfallSkill
- audit-samplingSkill
- audit-workpaperSkill
- balance-sheet-recon-packSkill
- bank-rec-reviewSkill
- bank-rec-to-glSkill
- bank-statement-to-excelSkill
- board-package-builderSkill
- budget-vs-actualSkill
- cash-applicationSkill
- cash-flow-tieoutSkill
- commission-recalcSkill
- consolidation-rollupSkill
- cutoff-and-unrecorded-liabilitiesSkill
- debt-covenant-checkSkill
- deferred-revenue-waterfallSkill
- depreciation-tie-outSkill
- dunning-draftsSkill
- duplicate-payment-scanSkill
- expense-policy-testingSkill
- filing-diffSkill
- flux-narrativeSkill
- fx-revaluationSkill
- intercompany-reconSkill
- invoice-codingSkill
- journal-entry-anomaly-scanSkill
- k1-extract-summarizeSkill
- lease-schedule-tie-outSkill
- month-end-close-checklistSkill
- payroll-tax-reconciliationSkill
- pbc-assemblerSkill
- prepaid-amortizationSkill
- receipts-to-expenseSkill
- return-yoy-varianceSkill
- revenue-trace-to-sourceSkill
- sales-tax-reconciliationSkill
- tax-return-reviewSkill
- thirteen-week-cash-forecastSkill
- three-way-matchSkill
- trial-balance-integritySkill
- vendor-statement-reconSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 1 is common, 6 are distinctive, and 1 is very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 73
Only references/, scripts/, and assets/.
- Distinctive: line 83
No dollar thresholds, rates, phase-outs, standard deductions, contribution limits, mileage rates, dormancy periods, or filing deadlines.
- Distinctive: line 87
Instead: recompute using the figure as shown on the return or in the client's own worksheet, test internal consistency, and where the …
- Distinctive: line 105
When adding a skill, define its gate.
- Distinctive: line 109
If a figure is illegible, missing, or ambiguous, it becomes a visible exception with a reference.
- Common: line 123
No network calls, no cloud OCR, no uploads, no telemetry, no API keys.
- Distinctive: line 129
No spreadsheets, PDFs, accounting exports, or TIN-shaped strings — not in fixtures, not in issues, not in test files.
- Distinctive: line 174
Do not commit fixtures containing anything resembling real client data.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Guidelines for AI agents working in this repository.
Repository overview
This repository contains Agent Skills for accounting and tax work, following the
Agent Skills specification. Skills install to
.agents/skills/ (the cross-agent standard). The repo also serves as a Claude Code plugin
marketplace via .claude-plugin/marketplace.json.
- Name: CPA Skills
- GitHub: adoptai/cpa-skills
- Maintainer: Adopt AI
- License: MIT
Structure
cpa-skills/
├── .claude-plugin/
│ ├── marketplace.json # Claude Code plugin marketplace manifest
│ └── plugin.json # plugin metadata
├── skills/ # the skills
│ └── skill-name/
│ ├── SKILL.md # required, under 500 lines
│ ├── scripts/ # optional, executable code
│ └── references/ # optional, detail loaded on demand
├── dist/ # generated .skill packages (build.py)
├── markdown/ # generated single-file copies (build.py)
├── build.py # regenerates dist/ and markdown/
├── validate-skills.sh # spec + repo compliance checks
├── AGENTS.md
├── CLAUDE.md
├── CONTRIBUTING.md
├── VERSIONS.md
├── LICENSE
└── README.mddist/ and markdown/ are generated. Never hand-edit them. Edit skills/, then run
python3 build.py.
Commands
./validate-skills.sh # spec compliance, manifest sync, client-data check
python3 build.py # regenerate dist/ and markdown/ from skills/Both must pass before a commit. validate-skills.sh exits non-zero on any error.
The Agent Skills specification
Required frontmatter
---
name: skill-name
description: What this skill does and when to use it. Include trigger phrases.
---| Field | Required | Constraints |
name | Yes | 1–64 chars, lowercase a-z, digits, hyphens. Must match the directory name. No leading, trailing, or consecutive hyphens. |
description | Yes | 1–1024 chars. What it does and when to trigger. |
license | No | Defaults to MIT |
metadata | No | Key–value pairs |
Optional directories
Only references/, scripts/, and assets/. Anything else is not bundled by build.py and
is flagged as an error by the validator. Note references/ is plural.
Domain rules — read before editing any skill
This repository is used by accountants, tax preparers, and auditors on live client engagements. These rules are not stylistic; violating them makes a skill unsafe to ship.
1. Never state a statutory figure from memory
No dollar thresholds, rates, phase-outs, standard deductions, contribution limits, mileage rates, dormancy periods, or filing deadlines. They change annually and some change mid-year. A skill that asserts a stale figure will be relied on and will be wrong.
Instead: recompute using the figure as shown on the return or in the client's own worksheet, test internal consistency, and where the figure itself must be confirmed, write the instruction as "verify [limit] for TY[year] against current instructions for Form X line Y." Cite the form and line, never a remembered number.
2. Every skill must gate its own output
Each skill proves its work before delivering it, and refuses to produce a clean deliverable when the proof fails. This is the core design property of the repository:
| Skill | Gate |
bank-statement-to-excel | Extract must tie to the statement's opening and closing balance |
bank-rec-to-gl | Unexplained difference must be exactly zero |
tax-return-review | Every tested item needs a form/line reference and a source document |
return-yoy-variance | Explanation components must sum to the variance |
journal-entry-anomaly-scan | Every entry must balance before any anomaly test runs |
When adding a skill, define its gate. A skill with no gate does not belong here.
3. Never plug, never guess a number
If a figure is illegible, missing, or ambiguous, it becomes a visible exception with a reference. It is never back-solved, interpolated, or absorbed into "other." A silently completed workpaper is worse than an incomplete one because it gets signed.
4. Stop where judgment starts
Skills automate the mechanical layer — matching, footing, extraction, pattern detection, formatting. They do not render professional conclusions. The reconciliation matches transactions but does not classify a reconciling item as a deposit in transit versus an unidentified withdrawal. The journal entry scan reports attributes and never characterizes intent. Preserve this boundary.
5. Local only
No network calls, no cloud OCR, no uploads, no telemetry, no API keys. Client financial records must not leave the machine. If a capability requires a remote service, it does not go in this repository.
6. Never commit client data
No spreadsheets, PDFs, accounting exports, or TIN-shaped strings — not in fixtures, not in issues, not in test files. Synthetic examples only. The validator checks for this.
Writing style
SKILL.mdunder 500 lines; move detail toreferences/- Second person, direct and instructional
- Short paragraphs, two to four sentences
- Tables for reference data, code blocks for commands
- Bold for key terms; no decorative emoji
- State the reason a step exists when it is not obvious — a reviewer following an unexplained procedure will skip it under time pressure
Description field
Discovery depends entirely on this field. Include what the skill does, the phrases that should trigger it, and the adjacent skill for scope boundaries. Lean pushy — under-triggering is the common failure.
Git workflow
Branches: feature/skill-name, fix/skill-name-description, docs/description
Commits: Conventional Commits —
feat: add fixed-asset-rollforward skill, fix: tighten round-number test in je scan
Pull request checklist
./validate-skills.shpassespython3 build.pyrun anddist/+markdown/committednamematches the directorydescriptionunder 1024 chars with trigger phrasesSKILL.mdunder 500 lines- New skill added to
.claude-plugin/marketplace.json - No statutory figures asserted from memory
- The skill's output gate is defined and enforced
VERSIONS.mdupdated- No client data anywhere in the diff
Testing a skill change
Scripts are validated with synthetic data. Generate a fixture, plant a known error, and confirm the gate catches it — a gate that never fails has not been tested. Example: transpose a digit in a statement extract and verify the line-continuity test names the offending row.
Do not commit fixtures containing anything resembling real client data.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

