Ships an installable Claude Code plugin (/plugin marketplace add erp-mafia/accounted) that bundles the MCP connection (OAuth, zero-key) with seven short workflow skills following the Swedish bookkeeping rhythm: start, bookkeep, check, month-close, vat, payroll, year-end. Wrappers are deliberately thin: they ground in the agent briefing and Accounted:// resources, load server-side workflow skills and regulatory atoms via gnubok_load_skill at need, and stage every write for user approval. No knowledge is duplicated into the plugin. A vitest cross-checks every skill slug, atom id, resource URI, and tool name the wrappers reference against the MCP server source, so a server rename fails CI instead of a user's chat session. Assessment and follow-ups in dev_docs/claude_plugin.md (local, dev_docs is unpublished by design). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
28 lines
1.5 KiB
Markdown
28 lines
1.5 KiB
Markdown
---
|
|
name: check
|
|
description: Read-only health check of the books. Use when the user asks "hur ligger vi till", "check my books", "ar bokforingen i ordning", "status", "veckokoll", "manadskoll", or wonders whether anything looks wrong or is overdue.
|
|
---
|
|
|
|
# Check
|
|
|
|
A read-only pass over the books that ends in a short prioritized list. This flow never writes anything; it routes each finding to the flow that fixes it.
|
|
|
|
## Flow
|
|
|
|
1. If not already done this session, call `gnubok_get_agent_briefing`.
|
|
2. Read `Accounted://attention`, `Accounted://period/active`, and `Accounted://recent-activity`.
|
|
3. Assess, in this order:
|
|
- Unbooked backlog: how many items, how old is the oldest?
|
|
- Unreconciled bank transactions in the active period.
|
|
- Overdue customer invoices and unpaid supplier invoices.
|
|
- Unapproved pending operations waiting on the user (`gnubok_list_pending_operations`).
|
|
- Upcoming deadlines: moms, AGI, F-skatt, bokslut. Use dates from the product, not memorized ones.
|
|
- Period status: is a period that should be closed still open?
|
|
4. Present a short table in the user's language: finding, severity, and which flow fixes it (`/accounted:bookkeep`, `/accounted:month-close`, `/accounted:vat`, `/accounted:payroll`, `/accounted:year-end`).
|
|
5. If everything is clean, say so plainly and state the next deadline.
|
|
|
|
## Rules
|
|
|
|
- Strictly read-only: do not stage or approve anything in this flow, even if the fix is obvious. Offer the fixing flow instead.
|
|
- Report only what the data shows; no speculative findings.
|