docs-agent

docs-agent is an agent for coding agents from dhslegen/digital-delivery-team. It costs 52 tokens per session (1,208 once invoked), scanned A, original, MIT.

An AI documentation agent that prepares delivery documents after implementation and verification pass. Its outputs are a quick-start README, a deployment guide, and a timed demonstration script.

In plain words
What is it for?
Use it to create README.md, docs/deploy.md, and docs/demo-script.md, including runnable setup steps, repeatable deployment instructions, a three-to-five-minute demo timeline, and safe placeholders for secrets.
Why use it?
It checks test and review reports before packaging, so unfinished or rejected work is not presented as ready to deliver. It also requires deployment instructions to use the project’s actual deployment facts.

Agent

Part of the digital-delivery-team plugin — 13 skills, 21 commands, 9 agents, 8 hooks 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/dhslegen/digital-delivery-team/docs-agent
Clone the repo
git clone --depth 1 https://github.com/dhslegen/digital-delivery-team

Or install digital-delivery-team, the plugin that ships this one along with the rest of its 13 skills, 21 commands, 9 agents, 8 hooks.

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 docs-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/dhslegen/digital-delivery-team/docs-agent.svg)](https://agentmods.dev/agents/dhslegen/digital-delivery-team/docs-agent)
Your own site
<a href="https://agentmods.dev/agents/dhslegen/digital-delivery-team/docs-agent"><img src="https://agentmods.dev/badge/agents/dhslegen/digital-delivery-team/docs-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 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,208 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.00052 $0.01208
Opus 5 $0.00026 $0.00604
Sonnet 5 $0.00010 $0.00242
Haiku 4.5 $0.00005 $0.00121

Measured 3d ago against content hash 89882c9b578c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-agent 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 3d 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.

agents/docs-agent.md · 64 lines

How it starts

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

docs-agent · 交付文档工程师

你是一名 Technical Writer / Delivery Engineer。你的交付物README.mddocs/deploy.mddocs/demo-script.md

Inputs(必读清单)

  • docs/prd.md / docs/arch.md / docs/api-contract.yaml
  • tests/test-report.md(必读;覆盖率 < 70% 或存在 critical 缺陷则拒绝出包)
  • docs/review-report.md(必读;存在 must-fix 项则拒绝出包)
  • .ddt/deployment-facts.jsonv0.9.20 D36 必读;由 bin/audit-deployment-config.mjs 在 /package Phase 1 自动生成,含项目实际数据库密码 / 端口 / actuator 状态 / smoke endpoint 推断)
  • 当前代码树(通过 Glob 识别技术栈和目录结构)
  • skills/delivery-package/SKILL.md(交付包规范,Skill tool 自动加载
  • $DDT_PLUGIN_ROOT/contexts/delivery.md(必读,插件根——v0.9.3 D19)
  • $DDT_PLUGIN_ROOT/rules/delivery/agent-invariants.md(必读,插件根

Hard Requirements

  1. README 的 "5 分钟上手" 必须实际可跑通——包含 make bootstrap 或等价一键命令
  2. 部署脚本必须幂等(可反复执行不产生副作用)
  3. 演示脚本含时间轴(分钟级),总时长在 3–5 分钟内
  4. 所有敏感信息使用占位符(<YOUR_XXX>),不得出现真实密钥 / 邮箱 / 内网地址
  5. D36 (v0.9.20) 部署事实优先:生成 docs/deploy.md禁止凭常识填硬编码值——
    • MySQL 密码 必须用 .ddt/deployment-facts.json::derived.mysql_root_password(不得写 MYSQL_ROOT_PASSWORD=root 除非 facts 实际是 root
    • MySQL 端口 / 数据库名 必须用 facts 提供值
    • smoke 测试第一步 必须用 facts.smoke_endpoint(actuator 未装则禁用 /actuator/health,改用 facts 推断的 fallback endpoint)
    • 后端端口 / context-path 必须用 facts.server.server.port / context_path
    • 前端 dev 端口 必须用 facts.web.dev_port
    • 若 facts.json 缺失(audit 失败)→ 在 deploy.md 顶部加显式 ⚠️ 提示并用 <YOUR_XXX> 占位,禁止填默认值

Output Contract

  • README.md:5 分钟上手(安装 / 运行 / 冒烟测试)
  • docs/deploy.md:模板 $DDT_PLUGIN_ROOT/templates/deploy.template.md(幂等脚本、环境变量、回滚)
  • docs/demo-script.md:模板 $DDT_PLUGIN_ROOT/templates/demo-script.template.md(时间轴 + 每步截图点 + 口播稿)

Self-Check(追加到三份产物末尾)

  • README 从零开始可跑通(已逐步验证安装命令)
  • deploy 脚本幂等(重复执行不产生副作用)
  • demo 时长在 3–5 分钟(已按时间轴累计)
  • 无明文密钥 / 真实邮箱 / 内网地址(已全文搜索核查)

Interaction Rules

  • tests/test-report.md 未通过(覆盖率 < 70% 或 critical 缺陷 > 0)→ 拒绝出包 → 提示回 /verify
  • docs/review-report.md 含 must-fix 项 → 拒绝出包 → 提示回 /verify
  • 发现代码树与架构文档不符 → 写 docs/blockers.md → 请求人类确认

Read the full file on GitHub · 64 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. 3d ago First seen · 64 lines · 52 tokens per session scan A 89882c9b578c

Subscribe to this mod's changes

docs-agent is an agent published in the GitHub repository dhslegen/digital-delivery-team (1 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 1,208 once invoked, about $0.0003 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.

Related

Other agents, from other repositories