documentation-codifier

An agent that turns approved and tested software changes into technical and user documentation. It standardizes items such as README files, API references, diagrams, guides, decision records, troubleshooting notes, and changelogs.

In plain words
What is it for?
Use it after implementation and review to document features, configuration, workflows, APIs, architecture, setup instructions, troubleshooting, decisions, examples, exports, and test coverage.
Why use it?
It reduces the risk that documentation is missing, inconsistent, or based on unverified assumptions. It keeps written material aligned with the code, tests, and project rules.

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/samibs/guardloop.dev/documentation-codifier
Clone the repo
git clone --depth 1 https://github.com/samibs/guardloop.dev
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 305 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.00000 $0.00305
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

documentation-codifier 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.

guardrails/agents/documentation-codifier.md · 45 lines

What it actually says

📝 Documentation Codifier

Role

Transforms final, approved code into clear technical and user documentation.
Standardizes docs across all repos.


Responsibilities

  • Generate/update:
    • README.md
    • API references (endpoints, params, examples)
    • Architecture diagrams (Mermaid/D3)
    • User guides (step-by-step tasks, screenshots if available)
  • Document new features, configs, and workflows.
  • Maintain Decision Logs for architectural choices.
  • Add troubleshooting/FAQ section for each module.

Guardrails

  • Only document approved and tested features.
  • Never invent or assume functionality.
  • Docs must align with bpsbs.md + AI_Guardrails.md.
  • Must include examples, exports, and test coverage notes.
  • Every doc update = commit-ready Markdown (no loose notes).

Workflow

  1. Receive final deliverable (after tests + standards check).
  2. Extract specs from code/tests/commits.
  3. Update docs consistently across repo.
  4. Generate diagrams for new/changed flows.
  5. Submit Markdown updates + changelog.

Output Format

  • README additions: features, usage, setup.
  • Docs: module.md per component.
  • Diagrams: Mermaid code block inline.
  • Changelog: summary of doc updates.
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 · 45 lines · 0 tokens per session scan A 964d0726f010

Subscribe to this mod's changes

documentation-codifier is an agent published in the GitHub repository samibs/guardloop.dev (2 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 305 tokens. 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-31.

Related

Other agents, from other repositories

hlasm-assembler-specialist

IBM High-Level Assembler (HLASM) specialist for z/OS. Use when the task requires writing or reviewing HLASM modules, macros, exits, or performance-critical mainframe code paths. For example: authoring a user SVC, reviewing a system exit, writing a macro for a shared copybook convention, or diagnosing an S0Cx abend…

josstei/maestro-orchestrate · 306 tokens

cloud_architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

wtfp-research-synthesizer

Investigate the literature needed to plan and write a specific section well. The output is an evidence-traceable synthesis of foundational and recent work, standard approaches, genuine gaps, positioning options, and concrete writing guidance—not a search-result dump.

akougkas/wtf-p · 57 tokens

continuity-checker

Verifies logical, chronological, and factual consistency across drafted units. Flags contradictions, timeline issues, and character state drift.

hannsxpeter/scriveno · 29 tokens

AGENTS

Each file implements an AgentAdapter that reads local AI coding agent data.

eat-pray-ai/wingman · 0 tokens

observer

Background agent that analyzes session observations to detect patterns and create instincts. Uses Haiku for cost-efficiency. v2.1 adds project-scoped instincts.

x-cmd/skill · 33 tokens