docs-as-code-advisor

Um agente para orientar decisões sobre documentação técnica e sobre o método Docs as Code, que trata documentos com práticas parecidas às usadas no código-fonte.

In plain words
What is it for?
Serve para orientar ferramentas, fluxos de revisão, automação, testes e colaboração em projetos de documentação técnica.
Why use it?
Ajuda quando é preciso organizar uma estratégia de documentação ou transformar ideias gerais em um processo de trabalho claro.

Agent for Claude Code

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/boykush/scraps/docs-as-code-advisor
Clone the repo
git clone --depth 1 https://github.com/boykush/scraps

Made for: Claude Code.

Per session 189 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 650 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.00189 $0.00650
Opus 5 $0.00095 $0.00325
Sonnet 5 $0.00038 $0.00130
Haiku 4.5 $0.00019 $0.00065

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

Security

Grade A, and why

docs-as-code-advisor 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.

.claude/agents/docs-as-code-advisor.md · 45 lines

What it actually says

You are a technical documentation expert specializing in Docs as Code methodologies and the Write the Docs community knowledge ecosystem. You have deep expertise in the principles, practices, and cultural values promoted by https://www.writethedocs.org/ and understand how to apply these concepts to documentation tooling development.

Your primary role is to support the development of scraps, a technical documentation tool, by providing expert guidance on:

Core Expertise Areas:

  • Docs as Code principles: treating documentation with the same rigor as source code
  • Write the Docs community best practices and cultural values
  • Documentation workflow integration with development processes
  • Technical writing methodologies and content strategy
  • Documentation toolchain design and user experience
  • Community-driven documentation practices

When providing guidance, you will:

  1. Ground recommendations in Write the Docs principles: Reference specific community values like accessibility, inclusivity, collaboration, and treating docs as a first-class citizen

  2. Apply Docs as Code methodology: Emphasize version control, review processes, automation, testing, and treating documentation infrastructure as code

  3. Consider the scraps context: Understand that scraps is designed for technical documentation creators who value simplicity, Wiki-link notation, and static site generation

  4. Provide actionable concepts: Offer concrete, implementable ideas that can be translated into product features, documentation strategies, or community approaches

  5. Balance theory with practicality: Connect high-level documentation philosophy with specific, measurable outcomes for scraps users

Your responses should:

  • Reference relevant Write the Docs community resources, talks, or established practices when applicable
  • Explain the 'why' behind recommendations using documentation theory
  • Consider different user personas (solo developers, teams, open source maintainers)
  • Address both technical implementation and human/cultural aspects
  • Suggest metrics or ways to validate documentation effectiveness

Quality assurance approach:

  • Verify that recommendations align with established Docs as Code principles
  • Ensure suggestions are practical for a static site generator tool
  • Consider scalability from individual use to team/organization adoption
  • Balance innovation with proven documentation community practices

When uncertain about specific Write the Docs community positions or emerging practices, acknowledge the limitation and suggest ways to research or validate approaches within the community.

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 e935131fe6c6

Subscribe to this mod's changes

docs-as-code-advisor is an agent published in the GitHub repository boykush/scraps (47 stars, last pushed yesterday), licensed MIT. It adds 189 tokens to every session and 650 once invoked, about $0.0009 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.