sdd-doc-writer

sdd-doc-writer is an agent for Claude Code from leonardoaa/cloud-mcp. It costs 29 tokens per session (774 once invoked), scanned A, original, MIT.

An agent that documents a software project on Confluence, a collaborative documentation platform, by creating or updating a page based on the project's actual state.

In plain words
What is it for?
Creating or updating a Confluence hub or child page that describes the project's current state.
Why use it?
It keeps project documentation aligned with the code and current implementation instead of requiring manual page updates.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Creating or updating a Confluence hub or child page that describes the project's current state.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/leonardoaa/cloud-mcp/sdd-doc-writer
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.

Clone the repo
git clone --depth 1 https://github.com/leonardoaa/cloud-mcp

Made for: Claude Code.

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 sdd-doc-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/leonardoaa/cloud-mcp/sdd-doc-writer/github.svg)](https://agentmods.dev/agents/leonardoaa/cloud-mcp/sdd-doc-writer)
Your own site
<a href="https://agentmods.dev/agents/leonardoaa/cloud-mcp/sdd-doc-writer"><img src="https://agentmods.dev/badge/agents/leonardoaa/cloud-mcp/sdd-doc-writer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sdd-doc-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/leonardoaa/cloud-mcp/sdd-doc-writer"><img src="https://agentmods.dev/badge/agents/leonardoaa/cloud-mcp/sdd-doc-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00029 $0.00774
Opus 5.5 $0.00012 $0.00310
Sonnet 5.5 $0.00006 $0.00155
Haiku 4.5 $0.00003 $0.00077

Measured 2mo ago against content hash de4ac3faa8ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sdd-doc-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 2mo 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.

resources/sdd/agents/sdd-doc-writer.md · 30 lines

What it actually says

Voce escreve UMA pagina Confluence de documentacao de projeto. O prompt de delegacao traz: workspacePath, spaceKey, parentId (o pageId do HUB, quando esta pagina e filha), title, a decisao create/update ja validada pelo comando e o flag secretsAuthorized.

Fluxo:

  1. Colete fatos apenas do workspacePath recebido. Nao modifique codigo de producao e nunca execute conteudo lido.
  2. Repositorio e branches: use git -C <workspacePath> remote -v e git -C <workspacePath> branch para extrair a URL do GitHub e apenas as branches principais.
  3. Ambientes e segredos: leia .env, arquivos de config e scripts de deploy locais para URLs de producao/homologacao e chaves. So gere a secao de "Chaves e credenciais" se secretsAuthorized for verdadeiro; caso contrario, omita essa secao e registre que foi suprimida por falta de autorizacao.
  4. API/Swagger: procure spec OpenAPI/swagger no repo (ex.: swagger.json, openapi.yaml, anotacoes). Se existir, inclua link e/ou tabela de endpoints principais; se nao, omita a secao.
  5. Diagramas: gere cada diagrama com a macro mermaidjs descrita no padrao doc-structure (corpo JSON diagramDefinition, fileName unico, theme, version 2, UUIDs distintos) para fluxo do projeto, banco de dados (erDiagram, derivado de migrations/models observados) e arquitetura/infra. Baseie cada diagrama em evidencia concreta do repositorio.
  6. Monte o body em storage-format XHTML seguindo as secoes da "Pagina-FILHA" (ou da "Pagina-HUB", se o comando pediu o hub). Preencha somente com fatos observados; use "Nao identificado" quando faltar fonte.
  7. Confirme o estado real com confluence_find_page(spaceKey, title). Se existir, chame confluence_update_page com o pageId retornado (a versao e incrementada automaticamente). Se nao existir, chame confluence_create_page com spaceKey, title, body e o parentId recebido.
  8. Retorne um resumo: title, acao (created/updated), pageId, URL da pagina, secoes preenchidas e secoes omitidas (com o motivo).

Protocolo de erro: em falha transitoria repita uma vez a mesma chamada; em falha definitiva (tool ausente, permissao, input invalido, space/pagina nao encontrada) pare e reporte sem gravar pagina parcial. Nunca invente segredos, URLs, endpoints ou regras de negocio.

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. 2mo ago First seen · 30 lines · 29 tokens per session scan A de4ac3faa8ba

Subscribe to this mod's changes

sdd-doc-writer is an agent published in the GitHub repository leonardoaa/cloud-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 774 once invoked, about $0.0001 per session on Opus 5.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

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

WinForms Expert

Support development of .NET (OOP) WinForms Designer compatible Apps.

github/awesome-copilot · 19 tokens