Agent skill

Markdown To Confluence

by testdouble in testdouble/han

Publishes a local Markdown file to a user-specified Confluence location, creating a new page or updating an existing one through the Atlassian MCP server.

MITAuto-check passedDocuments & Office

Install Markdown To Confluence

skills CLI
$ npx skills add testdouble/han --skill markdown-to-confluence -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install testdouble/han markdown-to-confluence --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/testdouble/han.git skills-src && mkdir -p .claude/skills && cp -r skills-src/han-atlassian/skills/markdown-to-confluence .claude/skills/markdown-to-confluence && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
markdown-to-confluence
GitHub stars
279
Token cost
~2.4k tokens
SKILL.md length
1,250 words
Files
1
Skills in repo
54
Repo updated
First seen
Licence
MIT

At a glance

Publishes a local Markdown file to a user-specified Confluence location, creating a new page or updating an existing one through the Atlassian MCP server.

  • Works in 6 steps: Atlassian MCP Preflight (hard requirement) → Confirm the Source Markdown File → Resolve the Target Confluence Location… → …
  • The user wants to post
  • SKILL.md covers Project Context, Step 0: Atlassian MCP…, Step 1: Confirm the Source… and Step 2: Resolve the Target…, plus 3 more sections
  • Calls bash

What it does

Markdown To Confluence is an agent skill from testdouble/han. Publishes a local Markdown file to a user-specified Confluence location, creating a new page or updating an existing one through the Atlassian MCP server. Use when the user wants to post, publish, push, or sync a Markdown file to a Confluence space or page. Requires a configured Atlassian MCP server. Does not write or generate the Markdown itself — point it at an existing file, or use project-documentation-to-confluence for the document-then-publish flow, or plan-a-feature-to-confluence for the plan-then-publish…

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Markdown and MCP servers. It works with Confluence, Model Context Protocol and Jira. The repository describes itself as: Han: AI skills and agents for "Solo" product engineers and small teams. The licence is MIT.

When your agent uses it

  • The user wants to post
  • Sync a Markdown file to a Confluence space

Example prompts

  • “Use the markdown-to-confluence skill to publish a local Markdown file to a user-specified Confluence location, creating a new page or updating an…”
  • “/markdown-to-confluence”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash(find *), mcp__claude_ai_Atlassian__getAccessibleAtlassianResources, mcp__claude_ai_Atlassian__atlassianUserInfo, mcp__claude_ai_Atlassian__getConfluenceSpaces, mcp__claude_ai_Atlassian__getConfluencePage, mcp__claude_ai_Atlassian__getPagesInConfluenceSpace, mcp__claude_ai_Atlassian__getConfluencePageDescendants, mcp__claude_ai_Atlassian__createConfluencePage, mcp__claude_ai_Atlassian__updateConfluencePage, Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh")

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Atlassian MCP Preflight (hard requirement)
  2. Confirm the Source Markdown File
  3. Resolve the Target Confluence Location (required)
  4. Determine the Publish Mode
  5. Publish to Confluence
  6. Verification

What it can do on your machine

Read from SKILL.md and the folder at commit abba73a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Bash(find *)
    • mcp__claude_ai_Atlassian__getAccessibleAtlassianResources
    • mcp__claude_ai_Atlassian__atlassianUserInfo
    • mcp__claude_ai_Atlassian__getConfluenceSpaces
    • mcp__claude_ai_Atlassian__getConfluencePage
    • mcp__claude_ai_Atlassian__getPagesInConfluenceSpace
    • mcp__claude_ai_Atlassian__getConfluencePageDescendants

    …and 3 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Markdown To Confluence loads about 2.4k tokens when it runs. Until then it costs about 149 tokens; SKILL.md has 1,250 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~149
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from testdouble/han at commit abba73a, republished under its MIT licence (© testdouble). 1,250 words, ~2,434 tokens.

Download SKILL.mdSave it as .claude/skills/markdown-to-confluence/SKILL.md (or your agent's skills folder).
name
markdown-to-confluence
description
Publishes a local Markdown file to a user-specified Confluence location, creating a new page or updating an existing one through the Atlassian MCP server. Use when the user wants to post, publish, push, or sync a Markdown file to a Confluence space or page. Requires a configured Atlassian MCP server. Does not write or generate the Markdown itself — point it at an existing file, or use project-documentation-to-confluence for the document-then-publish flow, or plan-a-feature-to-confluence for the plan-then-publish flow. Does not publish to Jira — use work-items-to-jira.
allowed-tools
Read, Glob, Grep, Bash(find *), mcp__claude_ai_Atlassian__getAccessibleAtlassianResources, mcp__claude_ai_Atlassian__atlassianUserInfo, mcp__claude_ai_Atlassian__getConfluenceSpaces, mcp__claude_ai_Atlassian__getConfluencePage, mcp__claude_ai_Atlassian__getPagesInConfluenceSpace, mcp__claude_ai_Atlassian__getConfluencePageDescendants, mcp__claude_ai_Atlassian__createConfluencePage, mcp__claude_ai_Atlassian__updateConfluencePage, Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh")
argument-hint
[path to markdown file] [confluence location: page URL or space + parent] [--mode draft|live (default draft)]

Project Context

  • personal config directory: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"
  • project .han/config.md: !cat .han/config.md 2>/dev/null || echo ""

As your first action, use the Read tool on .han/config.md inside the personal config directory path above. A read that returns no file is no personal configuration: continue silently. When that file or the project .han/config.md probe supplies content, apply it per config-rule.md, which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Markdown to Confluence

This skill takes one local Markdown file and publishes it to a Confluence location that the user must specify — creating a new page or updating an existing one through the Atlassian MCP server. It owns everything about the posting itself: the MCP preflight, resolving the destination, reading the file, the create-or-update call, and reporting the result. It does not write the Markdown; the caller supplies an existing file.

Callers that supply an explicit publish mode and location (for example han-atlassian:project-documentation-to-confluence) run this skill straight through without re-asking. Invoked on its own with pieces missing, it asks for them and defaults to a safe unpublished draft.

Step 0: Atlassian MCP Preflight (hard requirement)

This skill cannot run without a configured and connected Atlassian MCP server.

Confirm the server is reachable by calling mcp__claude_ai_Atlassian__getAccessibleAtlassianResources to retrieve the cloud ID(s). If the tool is not available, the call errors, or it returns no accessible resources (typically an authentication or configuration problem), stop immediately. Tell the user this skill requires the Atlassian MCP server to be installed, configured, and authenticated, and that they can re-run the skill once it is connected.

If more than one cloud / site is accessible, note which sites are available; you will confirm the correct one while resolving the location in Step 2.

Step 1: Confirm the Source Markdown File

Resolve the Markdown file path from the arguments or conversation. Read it and confirm it exists and has content. If no file path was provided, or the path does not resolve to a readable file, ask the user for the path with AskUserQuestion and do not proceed without one. This is the exact content that will be posted; do not rewrite, summarize, or restructure it.

A body may legitimately contain embedded Confluence storage macros mixed into the Markdown — for example, an orchestrating skill such as han-atlassian:plan-a-feature-to-confluence rewrites its cross-page links into title-based page-link macros (the <ac:link><ri:page ri:content-title="..."/>…</ac:link> form, link body included) before handing the file over. Post these verbatim along with the rest of the body; do not strip or escape them.

Step 2: Resolve the Target Confluence Location (required)

This skill does not search Confluence for the right place. A typical Confluence instance is large and full of duplicate or similarly-named pages, so guessing the destination is unreliable. The user must name the exact location.

  1. Find a location in the request. Check the arguments and conversation for either of:
    • a Confluence page URL (to update that page, or to create a child page under it), or
    • a space (key or name) plus an optional parent page (title, ID, or URL).
  2. If no location was provided, ask for one. Use AskUserQuestion to request it, and explain plainly that the skill needs an exact destination because it does not search Confluence. Offer both accepted forms (a page URL, or a space plus parent page). This is required: do not proceed without a location.
  3. Resolve the location concretely now, so failures surface early. Use the cloud ID from Step 0 for every call.
    • From a page URL: extract the page ID from the /pages/<id>/ segment and call mcp__claude_ai_Atlassian__getConfluencePage to confirm it exists and to read its space and title. Then determine the intent: update that page, or create a new child page under it. If the user did not already say, ask with AskUserQuestion.
    • From a space (+ parent): call mcp__claude_ai_Atlassian__getConfluenceSpaces to resolve the space ID from the key or name. If a parent page was named, find it with mcp__claude_ai_Atlassian__getPagesInConfluenceSpace or mcp__claude_ai_Atlassian__getConfluencePageDescendants (or by page ID/URL) to get the parent page ID. With no parent, the new page is created at the space root.
  4. Record the resolved target: cloud ID, space (ID + human name), parent page ID (if any), existing page ID (if updating), the mode (create a new page, or update an existing one), and the intended page title. If updating, default the title to the existing page's title unless the user asked to rename it.
Show full SKILL.md (507 more words)Show less

Step 3: Determine the Publish Mode

The publish mode controls whether the page goes live or is saved as an unpublished draft.

  • If the caller supplied an explicit mode (draft or live), use it. A caller that already confirmed the choice with the user (such as han-atlassian:project-documentation-to-confluence) passes the mode through; do not ask again.
  • If no mode was supplied, default to draft so nothing is published live unintentionally. The user can re-run for live, or you may confirm with AskUserQuestion whether to save a draft (recommended default) or publish live now.

Step 4: Publish to Confluence

Read the Markdown file from Step 1 and publish it with the Atlassian MCP server. The Confluence MCP tools accept Markdown directly via contentFormat: "markdown", so post the document body as-is — no manual conversion to storage/XHTML is needed. Any embedded storage macros (such as the ac:link page-link macros described in Step 1) ride along in the same body; post them verbatim.

Apply the publish mode from Step 3 with the create/update tool's status parameter: draft → status: "draft" (unpublished draft), live → status: "current" (immediately visible). Confirm the exact field against the tool's input schema when you call it, and use whatever the tool exposes for draft-vs-published.

  • Create mode: call mcp__claude_ai_Atlassian__createConfluencePage with the cloud ID, space ID, title, the markdown body, contentFormat: "markdown", the chosen status ("draft" or "current"), and the parent page ID when one was resolved.
  • Update mode: call mcp__claude_ai_Atlassian__getConfluencePage first to read the current page (for its version and existing content), then call mcp__claude_ai_Atlassian__updateConfluencePage with the cloud ID, page ID, title, the markdown body, contentFormat: "markdown", and the chosen status. If the user chose draft for a page that is already published and the tool cannot hold an unpublished draft over a live page, do not silently publish it live: tell the user, and ask whether to publish the update live or keep the changes local only.

Diagram note: Markdown produced by Han's documentation skills emits Mermaid diagrams in fenced mermaid code blocks. Confluence does not render Mermaid natively without a Mermaid macro, so these blocks publish as code, not rendered diagrams. Leave them intact — do not silently strip them — and tell the user the diagrams posted as Mermaid source, in case their space has a macro that renders them or they want to convert them by hand.

On success, report the created or updated page's URL, and state whether it was published live or saved as a draft. For a draft, make clear the user still needs to review and publish it in Confluence. On failure, report the error and confirm the source Markdown file is unchanged and intact.

Step 5: Verification

  1. MCP preflight passed: the Atlassian server was reachable, or the skill stopped before doing any work.
  2. Source file confirmed: a readable Markdown file was supplied and read.
  3. Location was user-specified: the destination came from the user, never from an automated Confluence search.
  4. Publish reported: the page was created or updated in the chosen mode (live or draft) and its URL was returned.

© testdouble, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in han-atlassian/skills/markdown-to-confluence of testdouble/han.

Open the folder on GitHubat commit abba73a

Compare with similar skills

Markdown To Confluence next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Markdown To Confluence compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Markdown To Confluence this skilltestdouble/han279—~2.4kAutomated safety check: PassMIT
Confluence To Markdowniurykrieger/claude-bedrock1051 repos~2.8kAutomated safety check: NotesMIT
Atlassian MCP ExpertJeffallan/claude-skills12k—~1.3kAutomated safety check: PassMIT
MCP Atlassiansundial-org/awesome-openclaw-skills663—~433Automated safety check: PassNone
Open Knowledgeojowwalker77/BonsAI145—~5.1kAutomated safety check: PassCustom licence
Atlassiansanjay3290/ai-skills430—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Confluence To Markdown

    iurykrieger/claude-bedrock

    Internal fetcher module for Confluence pages. An agent skill from iurykrieger/claude-bedrock.

    105 GitHub starsUsed in 1 repo~2.8k tokens
    Knowledge ManagementAuto-check: notes
  • Atlassian MCP Expert

    Jeffallan/claude-skills

    Queries and edits Jira issues and Confluence pages through an MCP server, covering JQL and CQL queries, server setup, authentication and sprint or backlog workflows.

    12k GitHub stars~1.3k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • MCP Atlassian

    sundial-org/awesome-openclaw-skills

    Run the Model Context Protocol (MCP) Atlassian server in Docker, enabling integration with Jira, Confluence, and other Atlassian products.

    663 GitHub stars~433 tokensUpdated 7 mo ago
    Agent WorkflowsAuto-check passed
  • Open Knowledge

    ojowwalker77/BonsAI

    Authoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP.

    145 GitHub stars~5.1k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Atlassian

    sanjay3290/ai-skills

    Manage Jira issues and Confluence wiki pages in Atlassian Cloud.

    430 GitHub stars~1.6k tokensUpdated 26 days ago
    Backend & APIsAuto-check passed
  • Outline

    Vortiago/mcp-outline

    Conventions and efficient workflows for Outline knowledge bases via mcp-outline tools.

    156 GitHub stars~818 tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed

More from testdouble/han

All 54 skills in this repo
  • HTML Summary

    testdouble/han

    Convert a stakeholder summary markdown file into a single self-contained HTML executive report — bottom line and decision asks up front, supporting detail later — styled with a Test Double-derived…

    279 GitHub stars~2.9k tokensUpdated 6 days ago
    Auto-check passed
  • Update Han plugin documentation so every skill, agent, guidance doc, index, and cross-reference is current and accurate.

    279 GitHub stars~3.4k tokensUpdated 6 days ago
    Auto-check passed
  • Guidance

    testdouble/han

    Authoritative guidance for building Claude Code skills, agents, and plugins, plus init and update steps that install and refresh the plugin-building skills in the current repository.

    279 GitHub stars~1.8k tokensUpdated 6 days ago
    Auto-check passed
  • Han Release

    testdouble/han

    Cut a Han release: update CHANGELOG.md with the changes since the last release, bump and tag every plugin that changed as {plugin-name}--v{version} so a version-constrained dependency can resolve…

    279 GitHub stars~8.6k tokensUpdated 6 days ago
    Auto-check passed
  • Plan Implementation

    testdouble/han

    Builds a feature implementation plan from an existing feature specification (or equivalent context) through a facilitated team conversation.

    279 GitHub stars~9.5k tokensUpdated 6 days ago
    Auto-check passed
  • Refactor

    testdouble/han

    Restructure existing code without changing its behavior, through a test-gated refactoring loop: a named target, a green suite over that target before any edit, a planned sequence of small named…

    279 GitHub stars~3.1k tokensUpdated 6 days ago
    Auto-check passed

Questions about Markdown To Confluence

What does Markdown To Confluence do?

Publishes a local Markdown file to a user-specified Confluence location, creating a new page or updating an existing one through the Atlassian MCP server. Markdown To Confluence is an agent skill from testdouble/han. Publishes a local Markdown file to a user-specified Confluence location, creating a new page or updating an existing one through the Atlassian MCP server.

When should I use Markdown To Confluence?

Markdown To Confluence fits situations like: the user wants to post; sync a Markdown file to a Confluence space.

How do I install Markdown To Confluence in Claude Code?

Run `npx skills add testdouble/han --skill markdown-to-confluence -a claude-code`. Or copy the skill folder (han-atlassian/skills/markdown-to-confluence in testdouble/han) into .claude/skills/markdown-to-confluence in your project. Claude Code loads it when a task matches its description.

How do I install Markdown To Confluence in Codex?

Run `npx skills add testdouble/han --skill markdown-to-confluence -a codex`. Or copy the skill folder (han-atlassian/skills/markdown-to-confluence in testdouble/han) into .agents/skills/markdown-to-confluence in your project. Codex loads it when a task matches its description.

Can I use Markdown To Confluence in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add testdouble/han --skill markdown-to-confluence -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/markdown-to-confluence, .gemini/skills/markdown-to-confluence, .github/skills/markdown-to-confluence and .opencode/skills/markdown-to-confluence in your project.

What does Markdown To Confluence need to run?

Going by SKILL.md and its folder, Markdown To Confluence needs the command-line tools its instructions call (bash). Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash(find *), mcp__claude_ai_Atlassian__getAccessibleAtlassianResources, mcp__claude_ai_Atlassian__atlassianUserInfo, mcp__claude_ai_Atlassian__getConfluenceSpaces, mcp__claude_ai_Atlassian__getConfluencePage, mcp__claude_ai_Atlassian__getPagesInConfluenceSpace, mcp__claude_ai_Atlassian__getConfluencePageDescendants, mcp__claude_ai_Atlassian__createConfluencePage, mcp__claude_ai_Atlassian__updateConfluencePage, Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh").

Does Markdown To Confluence access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Markdown To Confluence safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Markdown To Confluence use?

Markdown To Confluence is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Markdown To Confluence use?

About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Markdown To Confluence?

Skills that share tags, products or a category with Markdown To Confluence: Confluence To Markdown (iurykrieger/claude-bedrock, 105 stars), Atlassian MCP Expert (Jeffallan/claude-skills, 12k stars), MCP Atlassian (sundial-org/awesome-openclaw-skills, 663 stars) and Open Knowledge (ojowwalker77/BonsAI, 145 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Markdown To Confluence?

testdouble (a GitHub organization) maintains it in testdouble/han, which has 279 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 1, 2026.

Source: testdouble/han on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.