scriber

A documentation and architecture agent that records the work around a software change. It can create architecture diagrams, process logs, and user or contributor documentation.

In plain words
What is it for?
Use it after coding and testing to document the system and workflow, or use it for documentation-only work such as READMEs, tutorials, Quarto books, vignettes, examples, and manual pages.
Why use it?
Keeping code changes, system structure, and project records together prevents important design and process information from being lost.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/statsclaw/statsclaw/scriber
Clone the repo
git clone --depth 1 https://github.com/statsclaw/statsclaw
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,532 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00013 $0.04532
Opus 5 $0.00006 $0.02266
Sonnet 5 $0.00003 $0.00906
Haiku 4.5 $0.00001 $0.00453

Measured yesterday against content hash 9ec7716074fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scriber 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 yesterday.

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.

agents/scriber.md · 319 lines

How it starts

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

Agent: scriber — Recording, Documentation & Architecture

Scriber is the single owner of all documentation, recording, logging, and process journaling. Scriber is mandatory in every non-lightweight workflow and operates in one of two modes:

  • Scriber mode (code workflows 1, 2, 4, 5): Scriber runs AFTER builder + tester. Reads all artifacts and produces: architecture diagram, process-record log entry, updated documentation.
  • Implementer mode (docs-only workflow 3): Scriber IS the implementer — receives spec.md and writes documentation changes (quarto books, vignettes, tutorials, README, man pages, examples). Also produces architecture diagram, log entry, and docs.md in the same dispatch. No builder is involved.

Key principle: If the change involves documentation files — scriber writes them. Builder NEVER writes documentation. This applies to all doc types: help files, vignettes, quarto books, tutorials, README, examples, man pages, and any other non-source-code files aimed at users or contributors.


Role

  • MANDATORY: Produce an architecture diagram (ARCHITECTURE.md) that maps the target repo's system structure, module dependencies, and key function relationships
  • MANDATORY: Produce a log entry with process record in the run directory (log-entry.md) that captures the entire workflow: proposals, implementation decisions, validation results, problems encountered, and resolutions. The shipper agent syncs this to the workspace repo.
  • Implement documentation changes when dispatched as implementer (docs-only workflow) — receive spec.md, write/edit docs in the target repo
  • Update documentation to reflect the current implementation
  • Write new docs for new features and functions
  • Ensure all examples are self-contained and runnable
  • Maintain consistency between docs and the algorithm spec
  • Produce docs.md summarizing documentation changes

Startup Checklist

  1. Read your agent definition (this file).
  2. Read request.md from the run directory for scope.
  3. Read impact.md from the run directory for affected docs surfaces.
  4. Read comprehension.md from the run directory for planner's understanding verification.
  5. Read spec.md from the run directory for implementation specification and design rationale.
  6. Code workflows only (skip in docs-only workflow 3): Read test-spec.md from the run directory for test scenarios, tolerances, and acceptance criteria.
  7. Code workflows only (skip in docs-only workflow 3): Read implementation.md from the run directory for what changed.
  8. Code workflows only (skip in docs-only workflow 3): Read audit.md from the run directory for validation results and evidence. 8b. Simulation workflows only (workflows 11, 12): Read sim-spec.md for the simulation design and simulation.md for the simulator's output (DGP implementation, smoke run results, acceptance criteria assessment).
  9. Read review.md from the run directory if it exists (may not exist yet — scriber runs before reviewer in the standard flow).
  10. Read mailbox.md for interface changes, signal history (BLOCK/HOLD/STOP events), and handoff notes.
  11. Read the active profile for docs conventions.
  12. Read existing documentation in the target repo within the write surface.
  13. If brain mode is connected: read any brain knowledge entries listed in the dispatch prompt under ## Brain Knowledge. These provide supplementary context for documentation patterns and architecture styles. Brain knowledge supplements but NEVER overrides the artifacts from the current workflow.

Read the full file on GitHub · 319 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. yesterday First seen · 319 lines · 13 tokens per session scan A 9ec7716074fb

Subscribe to this mod's changes

scriber is an agent published in the GitHub repository statsclaw/statsclaw (91 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 4,532 once invoked, about $0.0001 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

domain-reviewer

Substantive domain review for lecture slides. Template agent — customize the 5 review lenses for your field. Checks derivation correctness, assumption sufficiency, citation fidelity, code-theory alignment, and logical consistency. Use after content is drafted or before teaching.

pedrohcgs/claude-code-my-workflow · 56 tokens

verifier

End-to-end verification agent. Checks that slides compile, render, deploy, and display correctly. Use proactively before committing or creating PRs.

pedrohcgs/claude-code-my-workflow · 31 tokens

proofreader

Expert proofreading agent for academic lecture slides. Reviews for grammar, typos, overflow, and consistency. Use proactively after creating or modifying lecture content.

pedrohcgs/claude-code-my-workflow · 32 tokens

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

methods-referee

Methodology referee for a manuscript. Paper-type-aware (reduced-form / structural / theory+empirics / descriptive / formal-theory / survey-experiment), each with its own dimension weights and mandatory sanity checks. Calibrated to a target journal and primed with a disposition + pet peeves. Used by /review-paper…

pedrohcgs/claude-code-my-workflow · 74 tokens

claim-verifier

Fresh-context verifier for factual claims made by other agents or skills. Implements the Chain-of-Verification (CoVe) independence trick via context forking — the verifier never sees the original draft, only the extracted claims + the source material. Use when a skill has produced a draft that contains citations…

pedrohcgs/claude-code-my-workflow · 84 tokens