π¦ ClawHub
Confluence
by @francisbrero
Search and manage Confluence pages and spaces using confluence-cli. Read documentation, create pages, and navigate spaces.
TERMINAL
clawhub install confluenceπ About This Skill
name: confluence description: Search and manage Confluence pages and spaces using confluence-cli. Read documentation, create pages, and navigate spaces. homepage: https://github.com/pchuri/confluence-cli metadata: {"clawdbot":{"emoji":"π","primaryEnv":"CONFLUENCE_TOKEN","requires":{"bins":["confluence"],"env":["CONFLUENCE_TOKEN"]},"install":[{"id":"npm","kind":"node","package":"confluence-cli","bins":["confluence"],"label":"Install confluence-cli (npm)"}]}}
Confluence
Search and manage Confluence pages using confluence-cli.
REQUIRED: First-Time Setup
Before using this skill, complete these steps:
Step 1: Install the CLI
npm install -g confluence-cli
Step 2: Get an API token
1. Go to https://id.atlassian.com/manage-profile/security/api-tokens 2. Click "Create API token" 3. Give it a label (e.g., "confluence-cli") 4. Copy the token
Step 3: Configure the CLI
confluence init
When prompted, enter:
yourcompany.atlassian.net (without https://)Step 4: Verify setup
confluence spaces
If you see your spaces listed, you're ready to use Confluence.
Search Pages
confluence search "deployment guide"
Read Page
confluence read
Page IDs are in the URL: https://yoursite.atlassian.net/wiki/spaces/SPACE/pages/123456/Title β ID is 123456
Get Page Info
confluence info
Find Page by Title
confluence find "Page Title"
List Spaces
confluence spaces
Create Page
confluence create "Page Title" SPACEKEY --body "Page content here"
Create Child Page
confluence create-child "Child Page Title" --body "Content"
Or from a file:
confluence create-child "Page Title" --file content.html --format storage
Update Page
confluence update --body "Updated content"
Or from a file:
confluence update --file content.html --format storage
List Child Pages
confluence children
Export Page with Attachments
confluence export --output ./exported-page/
Tips
https:// - just yourcompany.atlassian.net--format storage when content is in Confluence storage format (HTML-like)~/.confluence-cli/config.jsonπ Tips & Best Practices
https:// - just yourcompany.atlassian.net--format storage when content is in Confluence storage format (HTML-like)~/.confluence-cli/config.json