Files
accounted/claude-plugin/skills/month-close/SKILL.md
T
Jakob WennbergandClaude Fable 5 e33cc2428d feat(plugin): official Claude Code plugin with marketplace and seven workflow skills (#1088)
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>
2026-07-21 12:59:57 +02:00

1.7 KiB

name, description, argument-hint
name description argument-hint
month-close Close a month in Accounted. Use when the user says "stang manaden", "manadsavslut", "month-end close", "close the period", or wants the monthly closing routine done.
month

Month close

Run the monthly close as a checklist against live data. The authoritative checklist lives server-side and is tailored to this company; this skill orchestrates it, it does not replace it.

Flow

  1. If not already done this session, call gnubok_get_agent_briefing and read Accounted://period/active to confirm which period is being closed.
  2. Load the checklist: gnubok_load_skill("month-end-close"). Follow it step by step with the company's real numbers.
  3. Bank first: if unreconciled transactions exist in the period, load gnubok_load_skill("bank-reconciliation") and clear them before anything else. Unbooked items route through the /accounted:bookkeep flow.
  4. Work the remaining checklist items (accruals, recurring vouchers, control balances). Every correction is staged and individually approved by the user; use storno-style corrections through the product's tools, never edit posted entries.
  5. If the month ends a VAT period, hand over to /accounted:vat rather than improvising the momsdeklaration inside this flow.
  6. Lock or close the period only as the final step, only after the user explicitly confirms, as its own staged operation.
  7. Report in the user's language: closed, or blocked with a concrete list of what stands in the way.

Rules

  • The server-side checklist is authoritative; do not substitute a generic month-end list from memory.
  • Every write stages a pending operation; the user approves each before it is booked.
  • Never work around a locked or closed period; surface it and stop.