sync-confluence

sync-confluence is a skill for Claude Code, Codex from soulcodex/agentic. It costs 81 tokens per session (1,149 once invoked), scanned B, original, MIT.

A guide for publishing engineering Markdown documents from docs/engineering/ to Confluence Cloud, an online platform for shared team documentation. It supports local setup and automated syncing for marked documents.

In plain words
What is it for?
Use it to scaffold engineering documentation folders or configure a CI process that publishes ADRs, RFCs, and architecture documents to Confluence.
Why use it?
It provides a defined path from repository documentation to the team’s Confluence pages and limits syncing to documents with the required metadata.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to scaffold engineering documentation folders or configure a CI process that publishes ADRs, RFCs, and architecture documents to Confluence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soulcodex/agentic/sync-confluence
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.

Any agent
npx skills add soulcodex/agentic --skill sync-confluence
Clone the repo
git clone --depth 1 https://github.com/soulcodex/agentic

Made for: Claude Code, Codex.

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 sync-confluence

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/soulcodex/agentic/sync-confluence"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/sync-confluence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,149 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00081 $0.01149
Opus 5.5 $0.00032 $0.00460
Sonnet 5.5 $0.00016 $0.00230
Haiku 4.5 $0.00008 $0.00115

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

Security

Grade B, and why

sync-confluence scanned grade B with 1 finding 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

### Step A4 — Output instructions
skills/documentation/sync-confluence/SKILL.md · 181 lines

How it starts

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

Sync Confluence Skill

This skill syncs Markdown documentation from docs/engineering/ to Confluence Cloud using the mark tool. It operates in two distinct modes.


Mode A — Scaffold (run once, locally)

Triggered when docs/engineering/ does not exist. Run this once before any CI sync.

Step A1 — Verify prerequisites

Ensure mark is installed:

mark --version

If not installed: brew install mark or go install github.com/kovetskiy/mark@latest.

Step A2 — Create directory structure

Creates the full tree with INDEX.md stubs:

docs/engineering/
├── INDEX.md
├── adr/
│   └── INDEX.md
├── rfc/
│   └── INDEX.md
└── architecture/
    ├── INDEX.md
    └── resources/

Step A3 — Add sample documents

Creates one example ADR and one example RFC using the templates so engineers have a concrete reference to copy from.

Step A4 — Output instructions

After scaffolding, output:

Scaffold complete. Next steps:

  1. Review and commit the new directory structure
  2. Add mark metadata headers to your documents
  3. Configure CONFLUENCE_* secrets in your CI environment
  4. Push to main — CI sync will run automatically

Do NOT push to Confluence in scaffold mode.


Mode B — CI Sync (run on every push to main)

Triggered in CI. No interactive prompts. Fails fast on any error.

Step B1 — Verify environment

Check required env vars are set:

: "${CONFLUENCE_URL:?missing}"
: "${CONFLUENCE_USER:?missing}"
: "${CONFLUENCE_API_TOKEN:?missing}"

Exit 1 if any are missing.

Step B2 — Verify scaffold exists

test -d docs/engineering || exit 1

Exit 1 if docs/engineering/ does not exist (scaffold was not run).

Step B3 — Scan for eligible documents

Scan for files with mark headers:

find docs/engineering/adr docs/engineering/rfc docs/engineering/architecture \
  -name '*.md' -exec grep -l '<!-- Space:' {} \;

Step B4 — Diagram enforcement

Mermaid: Supported natively by mark. No action needed.

Read the full file on GitHub · 181 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 181 lines · 81 tokens per session scan B df36eaa86d73

Subscribe to this mod's changes

sync-confluence is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 8d ago), licensed MIT. It adds 81 tokens to every session and 1,149 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sync-confluence compared with skills from other repositories

sync-confluence next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sync-confluencesoulcodex/agenticSkill108d agoMITB81Claude Code, Codex
verifybuttjer/n8n-decanterSkill2todayMITA0Claude Code
amazon-mcpishan-parihar/amazon-lyrSkill02d agoMITA36Claude Code, Codex
helpGentBajko/capstoneSkill51mo agoApache-2.0A18Claude Code
housekeepingbuttjer/n8n-decanterSkill2todayMITA0Claude Code
reviewGentBajko/capstoneSkill51mo agoApache-2.0A113Claude Code
startGentBajko/capstoneSkill51mo agoApache-2.0A116Claude Code