DQIII8: Skill for Claude Code

.claude/skills/audit/SKILL.md

audit is a skill for Claude Code from senda-labs/DQIII8. It costs 36 tokens per session (691 once invoked), scanned A, original, MIT.

A system health audit for DQIII8, the software system it checks. It examines databases, agent activity, connected pipelines, error records, and services, then creates a scored Markdown report.

In plain words
What is it for?
Use it to check database integrity, agent performance, pipeline connections, errors, and running services. Run it for the last 7 days by default, or specify a different period or agent.
Why use it?
It brings several health checks into one report, making failures and unusual gaps easier to spot. It can also review a chosen time period or one agent.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

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/skills/audit/SKILL.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 audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/senda-labs/dqiii8/audit"><img src="https://agentmods.dev/badge/skills/senda-labs/dqiii8/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 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.00036 $0.00691
Opus 5 $0.00018 $0.00345
Sonnet 5 $0.00007 $0.00138
Haiku 4.5 $0.00004 $0.00069

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

Security

Grade A, and why

audit 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/audit/SKILL.md · 70 lines

How it starts

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

/audit -- System Health Audit

Triggers the auditor agent to analyze database/dqiii8.db and produce a structured health report.

Usage

/audit
/audit --period 30d       # analyze last 30 days instead of default 7
/audit --agent python-specialist   # scope to one agent

Scope note — sessions / morning_report / loop_effectiveness

.claude/hooks/stop.py:439 writes sessions from every CLI session (INSERT ... ON CONFLICT(session_id) DO UPDATE), gated on _total_actions > 0 (stop.py:436). So sessions is only populated when agent_actions has ≥1 row for that session, which makes a near-empty sessions table a second, independent detector for an agent_actions outage — a real signal to chase, not noise to dismiss. Only morning_report is genuinely bot-only (written solely by bin/ui/dqiii8_bot.py).

loop_effectiveness is a VIEW over objectives, which has 0 rows because the autonomous-loop execution flow (bin/director.py loop mode) isn't in active use yet — an empty result there is still expected, not a symptom to chase.

What it does

  1. Queries all metric tables: agent_actions, error_log, sessions, skill_metrics
  2. Uses views agent_performance and error_keywords_freq
  3. Computes an overall health score (0-100)
  4. Writes a Markdown report to database/audit_reports/audit-YYYY-MM-DD-HH.md
  5. Inserts a summary row in the audit_reports table
  6. Prints a one-line summary to the terminal

Output

[AUDIT] Score: 87/100 | Actions: 106 | Success: 100.0% | Failures: 0 | Unresolved errors: 0
Report: database/audit_reports/audit-2026-03-11-14.md

Score interpretation

Score Status Cadencia recomendada
>= 85 HEALTHY next audit in 7 days
70-85 WARNING next audit in 3 days
< 70 CRITICAL next audit in 1 day, notify user

Auto-trigger

The stop.py hook automatically triggers /audit when 7+ days have passed since the last report in audit_reports. Also auto-invoked when errors accumulate during a session.

Read the full file on GitHub · 70 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 · 70 lines · 36 tokens per session scan A 595b07472235

Subscribe to this mod's changes

audit is a skill published in the GitHub repository senda-labs/DQIII8 (11 stars, last pushed 22d ago), licensed MIT. It adds 36 tokens to every session and 691 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.