publish-to-confluence
Skill by huytieu
Publishes a markdown file from the vault to Confluence, converting it to Confluence format after an explicit approval step. Built for product managers, engineering leads and founders who share documents on a team wiki.
Install publish-to-confluence
Built from the published package, never by AI.
git clone --depth 1 https://github.com/huytieu/COG-second-brain /tmp/COG-second-brain && mkdir -p ~/.claude/skills && cp -r /tmp/COG-second-brain/skills/publish-to-confluence ~/.claude/skills/publish-to-confluenceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/huytieu/COG-second-brain /tmp/COG-second-brain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/COG-second-brain/skills/publish-to-confluence ~/.gemini/antigravity-cli/skills/publish-to-confluenceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install publish-to-confluence in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The publish-to-confluence skill sends a markdown file from the vault to a Confluence space. It can be triggered by phrases such as "publish to Confluence" or "push to wiki", or run right after a PRD or release notes are generated. The skill converts markdown to Confluence storage format, strips YAML frontmatter, and turns relative vault links into plain text.
Before publishing, it checks that Confluence is listed as an active integration, asks for the space and parent page, and shows a preview. It publishes only after an explicit yes. After publishing, it records the page URL, ID and version in the vault file's frontmatter. The skill is aimed at product managers, engineering leads and founders.
Written from the project's SKILL.md and checked against it.
What it can do
- Publish markdown to ConfluenceSends a vault markdown file to a Confluence space as a new page or an update.
- Markdown to storage formatConverts headings, lists, code blocks, tasks and other markdown into Confluence XHTML.
- Approval gateShows a summary and publishes only after the user answers yes.
- Find spaces and parent pagesLists Confluence spaces and pages so the user can pick a destination.
- Re-publishingDetects a previously published file and offers to update the existing page or create a copy.
- Vault metadata updateWrites the Confluence URL, page ID, space, timestamp and version into the source file's frontmatter.
- Fallback exportSaves converted XHTML to a file if the Confluence API call fails.
What you need
- Confluence listed as an active integration in 00-inbox/MY-INTEGRATIONS.md
- Confluence credentials configured for the API
- Write permission to the target Confluence space
- Bash access to run the date command
Try asking
- Publish the PRD in 04-projects to Confluence under the product space.
- Push my latest release notes to the team wiki for review.
- Update the existing Confluence page for this document with the new version.
Good to know
- Requires Confluence to be an active integration; otherwise it stops or offers alternatives.
- Relative vault links are converted to plain text because they do not work in Confluence.
- Unsupported markdown is converted on a best-effort basis with warnings.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/publish-to-confluence/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to publish-to-confluence
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
publish-to-confluence: common questions
Does the skill publish to Confluence without asking?
No. The source says it never publishes without explicit user approval, and it waits for an explicit yes.
What happens to the YAML frontmatter when publishing?
The source says the YAML frontmatter is stripped entirely and does not appear in the Confluence page.
What if the Confluence API call fails?
The skill saves the converted XHTML to a file so the user can paste it into Confluence manually.
How do I install publish-to-confluence?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is publish-to-confluence free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is publish-to-confluence safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to publish-to-confluence?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
