Tooluck logoTooluck
SKILL.md

publish-to-confluence

Agent skill fromhuytieu/COG-second-brain

Publish any markdown file from the vault to Confluence with format conversion and approval gate

How to install publish-to-confluence

install publish-to-confluence
# install the COG-second-brain pack with the skills CLI
npx skills add huytieu/COG-second-brain

# or add only this skill to Claude Code: copy the folder

skills/publish-to-confluence/

# into

~/.claude/skills/publish-to-confluence/ (all projects)

.claude/skills/publish-to-confluence/ (one project)

skills/publish-to-confluence/SKILL.md

MITFull file
1# COG Publish to Confluence Skill
2
3## When to Invoke
4- User wants to publish a document to Confluence
5- User says "publish to Confluence", "push to wiki", "send to Confluence", "confluence publish"
6- User has a markdown file they want to share with the team on Confluence
7- After generating a PRD, release notes, or other document that should go to the wiki
8
9## Agent Mode Awareness
10
11**Check `agent_mode` in `00-inbox/MY-PROFILE.md` frontmatter:**
12- If `agent_mode: team` — no significant benefit for this skill (single sequential operation)
13- If `agent_mode: solo` — standard execution
14
15## Command: `/publish-to-confluence`
16
17## Pre-Flight Check
18
191. **Read `00-inbox/MY-INTEGRATIONS.md`** — Confluence MUST be listed under Active Integrations
20 - If Confluence is **not active**: Inform the user and stop.
21 ```
22 Confluence is not in your active integrations.
23
24 Would you like to:
25 a) Set up Confluence integration (I'll add it to MY-INTEGRATIONS.md)
26 b) Export the document in a Confluence-compatible format for manual upload
27 ```
28 - If Confluence is **disabled**: Skip silently per COG conventions. Suggest alternative publishing (HackMD, Notion) if active.
29
302. **Get current timestamp:** Run `date '+%Y-%m-%d %H:%M'` using Bash
31
32---
33
34## Execution Strategy
35
36### Phase 1: Identify the Source Document
37
38Determine what to publish:
39
40**Option A: User specifies a file path**
41```
42Read the specified file from the vault.
43```
44
45**Option B: User describes the document**
46```
47…

Excerpt shown under the repository's MIT license.

More skills in COG-second-brain

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates