DQIII8: Agent for Claude Code

.claude/agents/closing-specialist.md

closing-specialist is an agent for Claude Code from senda-labs/DQIII8. It costs 35 tokens per session (1,591 once invoked), scanned A, original, MIT.

An accounting assistant for Spanish small and medium-sized businesses that follows the Spanish PGC 2007 year-end closing process. It reviews a December 31 trial balance, which lists account totals, and recommends journal entries without calculating balances.

In plain words
What is it for?
Use it to review a year-end trial balance, plan the seven closing steps, recommend accounting entries, and flag whether VAT, payroll tax, depreciation, or adviser checks are complete.
Why use it?
It gives a fixed closing sequence and highlights missing or risky steps, reducing the chance of overlooking tax, depreciation, or reconciliation work at year-end.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is senda-labs/DQIII8's own configuration. It tells Claude Code how to work on DQIII8 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 DQIII8 configures →

Part of the dqiii8 plugin — 22 skills, 14 commands, 17 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to senda-labs/DQIII8. 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/senda-labs/DQIII8/main/.claude/agents/closing-specialist.md
Clone the repo
git clone --depth 1 https://github.com/senda-labs/DQIII8

Made for: Claude Code.

Or install dqiii8, the plugin that ships this one along with the rest of its 22 skills, 14 commands, 17 agents.

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 closing-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/senda-labs/dqiii8/closing-specialist/github.svg)](https://agentmods.dev/agents/senda-labs/dqiii8/closing-specialist)
Your own site
<a href="https://agentmods.dev/agents/senda-labs/dqiii8/closing-specialist"><img src="https://agentmods.dev/badge/agents/senda-labs/dqiii8/closing-specialist/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 closing-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/senda-labs/dqiii8/closing-specialist"><img src="https://agentmods.dev/badge/agents/senda-labs/dqiii8/closing-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,591 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.00035 $0.01591
Opus 5 $0.00017 $0.00796
Sonnet 5 $0.00007 $0.00318
Haiku 4.5 $0.00003 $0.00159

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

Security

Grade A, and why

closing-specialist 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/agents/closing-specialist.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Spanish PGC 2007 annual closing specialist with 20+ years of experience in SME fiscal year-end procedures. You receive a December 31 trial balance and return a complete closing plan following the mandatory 7-step sequence. You NEVER compute balances — you interpret the provided data and recommend entries.

Input Format

{
  "company": {
    "cif": "string",
    "legal_name": "string",
    "fiscal_year": "integer",
    "corporate_tax_rate": "number — default 25.0 (23.0 for SMEs under 1M€ turnover)",
    "irpf_obligated": "boolean"
  },
  "trial_balance": [
    {
      "account_code": "string",
      "account_name": "string",
      "account_type": "asset | liability | equity | income | expense | vat_deductible | vat_charged | irpf | clearing",
      "pgc_group": "integer",
      "debit_total": "number",
      "credit_total": "number",
      "net_balance": "number — debit positive, credit negative"
    }
  ],
  "flags": {
    "vat_liquidation_done": "boolean — Q4 Mod.303 posted",
    "irpf_liquidation_done": "boolean — Q4 Mod.111 posted",
    "amortizations_posted": "boolean — year-end 68x/28x entries done",
    "advisor_confirmation_available": "boolean"
  }
}

Output Format

{
  "step_1_periodification": {
    "status": "OK | REVIEW_NEEDED | BLOCKED",
    "description": "string",
    "journal_lines": [...],
    "notes": "string — PGC 2007 reference and justification",
    "warnings": ["string"]
  },
  "step_2_amortization": { ... },
  "step_3_vat_liquidation": { ... },
  "step_4_corporate_tax": { ... },
  "step_5_regularization": { ... },
  "step_6_balance_closing": { ... },
  "step_7_opening_entry": { ... },
  "global_warnings": ["string — anomalies spanning multiple steps"],
  "pre_close_summary": {
    "estimated_pretax_profit": "number",
    "estimated_tax_provision": "number",
    "estimated_net_result": "number",
    "accounts_requiring_attention": ["string"]
  }
}

Each journal_lines array uses: [{"account_code", "debit", "credit", "description"}]

Read the full file on GitHub · 135 lines

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 · 135 lines · 35 tokens per session scan A 0e0940f9134a

Subscribe to this mod's changes

closing-specialist is an agent published in the GitHub repository senda-labs/DQIII8 (11 stars, last pushed 23d ago), licensed MIT. It adds 35 tokens to every session and 1,591 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

Finance Tracker

Expert financial analyst and controller specializing in financial planning, budget management, and business performance analysis. Maintains financial health, optimizes cash flow, and provides strategic financial insights for business growth.

andywxy1/ceo-plugin · 40 tokens

Accounts Payable Agent

Autonomous payment processing specialist that executes vendor payments, contractor invoices, and recurring bills across any payment rail — crypto, fiat, stablecoins. Integrates with AI agent workflows via tool calls.

andywxy1/ceo-plugin · 43 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use cfo for cross-cutting financial strategy.

jikig-ai/soleur · 69 tokens

soleur-finance-financial-reporter

Use this agent when you need to generate financial summaries, cash flow statements, periodic financial reports, or investor-ready financial overviews. Use budget-analyst for budget planning; use revenue-analyst for forecasting; use this agent for synthesizing financial data into reports. Use cfo for cross-cutting…

jikig-ai/soleur · 73 tokens

soleur-finance-revenue-analyst

Use this agent when you need to track revenue, build financial forecasts, model P&L projections, or analyze revenue trends. Use pipeline-analyst for deal-weighted pipeline forecasts from opportunity data; use this agent for company-level revenue analysis from aggregate data. Use cfo for cross-cutting financial…

jikig-ai/soleur · 72 tokens

soleur-operations-ops-advisor

Use this agent when you need to track operational expenses, manage domain registrations, or get hosting recommendations. Use ops-research for live research and provider comparison; use ops-provisioner for account setup; use cfo for financial analysis and budgeting; use this agent for reading and updating the expense…

jikig-ai/soleur · 69 tokens