confluence-to-markdown
Skill by ccplugins
Fetches Confluence pages and returns them as Markdown. It tries the Atlassian MCP server first, then the REST API, then browser extraction. Built for the /bedrock:teach and /bedrock:sync commands rather than direct use.
Install confluence-to-markdown
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ccplugins/awesome-claude-code-plugins /tmp/awesome-claude-code-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-claude-code-plugins/plugins/bedrock/skills/confluence-to-markdown ~/.claude/skills/confluence-to-markdownRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ccplugins/awesome-claude-code-plugins /tmp/awesome-claude-code-plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-claude-code-plugins/plugins/bedrock/skills/confluence-to-markdown ~/.gemini/antigravity-cli/skills/confluence-to-markdownAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install confluence-to-markdown in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The confluence-to-markdown skill fetches a Confluence page and returns its content as Markdown. It tries three layers in order: the Atlassian MCP server, the Confluence REST API with Basic Auth, and browser DOM extraction through Claude in Chrome. It parses page URLs in several formats, converts storage format XHTML to Markdown, and skips images, diagrams and attachments.
It is an internal module, not meant for direct user use. The source says it is called by /bedrock:teach and /bedrock:sync and hands the Markdown and page title back to the caller, which saves the content. It is read-only and does not write to Confluence. Authentication requires existing MCP login, API token environment variables, or a logged-in browser session.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch via Atlassian MCPReads page content through the Atlassian MCP server when it is installed and authenticated.
- Fetch via REST APICalls the Confluence REST API with Basic Auth when MCP is unavailable.
- Browser extractionOpens the page in Chrome through Claude in Chrome and extracts content from the DOM.
- XHTML to Markdown conversionConverts headings, lists, tables, links, code blocks and quotes into Markdown.
- Page URL parsingReads base URL, space key and page ID from several Confluence URL formats.
- Rich media skippingOmits images, drawio diagrams and attachment macros without raising an error.
What you need
- Atlassian MCP plugin (preferred layer, optional)
- CONFLUENCE_API_TOKEN and CONFLUENCE_USER_EMAIL environment variables for the API layer
- Claude in Chrome extension connected for the browser layer
- Logged-in Confluence session in Chrome for browser extraction
Try asking
- Fetch this Confluence page as Markdown: https://example.atlassian.net/wiki/spaces/DOCS/pages/123456
- Get the Markdown content and title of this Confluence page for my notes
- Pull this Confluence page into Markdown so I can save it to my project
Good to know
- Internal module, not intended for direct user invocation
- Read-only, never writes back to Confluence
- Browser layer depends on scripts/extract.js in the skill directory
- 403 permission errors stop the process without trying other layers
Security check
B- Allowed to use Bash, Write without limitsIn
SKILL.md
Checked automatically: plugins/bedrock/skills/confluence-to-markdown/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadWriteWebFetchToolSearchmcp__plugin_atlassian_atlassian__*mcp__claude-in-chrome__*
Alternatives to confluence-to-markdown
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
confluence-to-markdown: common questions
What order does the skill use to fetch a page?
It tries the Atlassian MCP server first, then the Confluence REST API with Basic Auth, and then browser extraction through Claude in Chrome. A failed layer falls through to the next one.
Does this skill change anything in Confluence?
No. The source states the skill is read-only and never writes back to Confluence.
Why does a shortlink URL fail with the API layer?
The troubleshooting section says shortlink URLs of the form /wiki/x/ need to be opened in the browser first to resolve the full URL with the page ID.
How do I install confluence-to-markdown?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is confluence-to-markdown free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is confluence-to-markdown safe to use?
It scores 65 of 100. Grades: maintenance C, licence A, quality A. Security check: grade B (allowed to use bash, write without limits). Review the code before you install. How grades work.
What are alternatives to confluence-to-markdown?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
