confluence-publish

confluence-publish is a command for Claude Code from gonzalezpazmonica/savia. It costs 33 tokens per session (981 once invoked), scanned A, original, MIT.

A publishing command that converts Markdown files into Confluence pages and creates or updates them in a project space. Confluence is a team documentation platform.

In plain words
What is it for?
Use it to publish specifications, architecture diagrams, onboarding guides, sprint reports, or retrospectives, with options to choose the project, space, and update behavior.
Why use it?
It removes the need to copy project documents into Confluence by hand and helps keep published pages organized under a parent page.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit Use it to publish specifications, architecture diagrams, onboarding guides, sprint reports, or retrospectives, with options to choose the project, space, and update behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gonzalezpazmonica/savia/confluence-publish
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/gonzalezpazmonica/savia

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 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 confluence-publish

README.md
[![agentmods](https://agentmods.dev/badge/commands/gonzalezpazmonica/savia/confluence-publish/github.svg)](https://agentmods.dev/commands/gonzalezpazmonica/savia/confluence-publish)
Your own site
<a href="https://agentmods.dev/commands/gonzalezpazmonica/savia/confluence-publish"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/savia/confluence-publish/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 confluence-publish

Your own site · 80×15
<a href="https://agentmods.dev/commands/gonzalezpazmonica/savia/confluence-publish"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/savia/confluence-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 981 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.00033 $0.00981
Opus 5 $0.00016 $0.00491
Sonnet 5 $0.00007 $0.00196
Haiku 4.5 $0.00003 $0.00098

Measured 4d ago against content hash 0ccd6d67203b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

confluence-publish 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/confluence-publish.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.

Publicar en Confluence

Argumentos: $ARGUMENTS

Uso: /confluence-publish {fichero} --project {p} o /confluence-publish --project {p} --type {tipo}

Parámetros

  • {fichero} — Ruta al fichero markdown a publicar (relativa al proyecto)
  • --project {nombre} — Proyecto de PM-Workspace
  • --space {clave} — Espacio Confluence (defecto: CONFLUENCE_DEFAULT_SPACE del proyecto)
  • --parent {título} — Página padre bajo la que crear la nueva página
  • --type {tipo} — Tipo de contenido predefinido:
    • sprint-report → publica resultado de /sprint-review
    • spec → publica una SDD Spec
    • architecture → publica diagrama de arquitectura
    • onboarding → publica guía de onboarding
    • retro → publica resultado de /sprint-retro
  • --update — Actualizar página existente en vez de crear nueva

2. Cargar perfil de usuario

  1. Leer .claude/profiles/active-user.md → obtener active_slug
  2. Si hay perfil activo, cargar (grupo Connectors del context-map):
    • profiles/users/{slug}/identity.md
    • profiles/users/{slug}/preferences.md
    • profiles/users/{slug}/projects.md
  3. Adaptar idioma y formato según preferences.language y preferences.report_format
  4. Si no hay perfil → continuar con comportamiento por defecto

3. Contexto requerido

  1. docs/rules/domain/connectors-config.md — Verificar Atlassian habilitado
  2. projects/{proyecto}/CLAUDE.mdCONFLUENCE_DEFAULT_SPACE, JIRA_PROJECT

4. Pasos de ejecución

  1. Verificar conector — Comprobar Atlassian disponible

  2. Resolver contenido:

    • Si {fichero} → leer el markdown del fichero
    • Si --type → generar contenido desde el comando correspondiente
    • Si --type sprint-report → ejecutar /sprint-review y usar su salida
  3. Convertir markdown → Confluence Storage Format:

    • Tablas markdown → macro {table}
    • Código → macro {code} con lenguaje
    • Diagramas Mermaid → imagen renderizada o macro compatible
    • Links internos → ajustar a URLs de Confluence
    • Mantener estructura de headings

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. 4d ago First seen · 100 lines · 33 tokens per session scan A 0ccd6d67203b

Subscribe to this mod's changes

confluence-publish is a command published in the GitHub repository gonzalezpazmonica/savia (50 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 981 once invoked, about $0.0002 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-09-06.