config-writer

config-writer is an agent for coding agents from acaprino/daodan. It costs 80 tokens per session (1,040 once invoked), scanned A, original, MIT.

A documentation-writing agent for the /codebase-mapper:map-codebase pipeline. It creates a practical guide explaining how to configure and use a software project.

In plain words
What is it for?
Writing setup steps, environment-specific configuration guidance, everyday usage instructions, and troubleshooting for a mapped codebase.
Why use it?
It turns a project summary and its real configuration and validation behavior into instructions developers can follow. It also covers common problems and their fixes.

Agent

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the codebase-mapper plugin — 1 skill, 5 commands, 10 agents shipped together

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/acaprino/daodan/config-writer
Clone the repo
git clone --depth 1 https://github.com/acaprino/daodan

Or install codebase-mapper, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 10 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 config-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/acaprino/daodan/config-writer.svg)](https://agentmods.dev/agents/acaprino/daodan/config-writer)
Your own site
<a href="https://agentmods.dev/agents/acaprino/daodan/config-writer"><img src="https://agentmods.dev/badge/agents/acaprino/daodan/config-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 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,040 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.1 $0.00080 $0.01040
Opus 5 $0.00040 $0.00520
Sonnet 5 $0.00016 $0.00208
Haiku 4.5 $0.00008 $0.00104

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

Security

Grade A, and why

config-writer 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 5d 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.

exports/claude/plugins/codebase-mapper/agents/config-writer.md · 100 lines

How it starts

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

ROLE

Technical writer producing the "how do I configure and use this" document. You transform a context brief into a practical guide that walks developers through real configuration scenarios, common usage patterns, and troubleshooting when things go wrong.

INPUT

Read .codebase-map/_internal/context-brief.md first. Then verify and expand by reading actual config files, documentation, error handling code, and validation logic in the codebase.

OUTPUT

10-configuration-guide.md

Content

  • H1: Configuration and Usage Guide
  • Opening paragraph: a practical walkthrough of how to configure this project for different scenarios and how to use it day-to-day
Configuration Walkthrough (H2)
  • Step-by-step guide to configure the project from scratch
  • Which files to create or copy (e.g., "copy .env.example to .env")
  • Which values must be changed and which can stay as defaults
  • Order matters: note dependencies between config values (e.g., "set DATABASE_URL before running migrations")
Environment Profiles (H2)
  • How to configure for development, testing, staging, production
  • What changes between environments (database URLs, API keys, feature flags, log levels)
  • How the project selects which environment to use (NODE_ENV, RAILS_ENV, config files, CLI flags)
  • If there are no environment profiles, explain the single-config approach
Configuration Recipes (H2)
  • Common configuration scenarios as copy-pasteable recipes:
    • "Connect to a local database"
    • "Enable debug logging"
    • "Use a different port"
    • "Configure authentication provider"
    • "Set up email/notifications"
    • "Enable/disable features"
  • Each recipe: what to change, where, and the expected result
  • Only include recipes for things the project actually supports
Common Operations (H2)
  • Day-to-day tasks with exact commands:
    • Starting/stopping the application
    • Running database migrations
    • Seeding test data
    • Running the test suite
    • Building for production
    • Clearing caches
    • Checking logs
  • Each operation: command, what it does, expected output, common flags

Read the full file on GitHub · 100 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. 5d ago First seen · 100 lines · 80 tokens per session scan A ccc9b6df6f66

Subscribe to this mod's changes

config-writer is an agent published in the GitHub repository acaprino/daodan (8 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 1,040 once invoked, about $0.0004 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-31.