Claude-skill-registry confluence-board
Manage Confluence pages and spaces. Use when the user wants to: (1) List, create, update, or delete Confluence pages, (2) Search content across spaces, (3) View or manage spaces, (4) Read or update page content, (5) Manage page attachments. Requires environment variables CONFLUENCE_URL, CONFLUENCE_USERNAME, CONFLUENCE_API_TOKEN, and optionally CONFLUENCE_SPACES_FILTER.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/confluence-board" ~/.claude/skills/majiayu000-claude-skill-registry-confluence-board && rm -rf "$T"
manifest:
skills/data/confluence-board/SKILL.mdsource content
Confluence Page Management
Manage Confluence pages, spaces, and content via the Confluence REST API.
Environment Variables
Required:
: Confluence instance URL (e.g.,CONFLUENCE_URL
)https://company.atlassian.net/wiki
: Confluence username/emailCONFLUENCE_USERNAME
: API token from https://id.atlassian.com/manage-profile/security/api-tokensCONFLUENCE_API_TOKEN
Optional:
: Comma-separated space keys to filter by default (e.g.,CONFLUENCE_SPACES_FILTER
)DEV,DOCS
Quick Start
Use
scripts/confluence_api.py for all Confluence operations:
# List spaces python scripts/confluence_api.py spaces # List pages in a space python scripts/confluence_api.py pages --space DEV # Search for content python scripts/confluence_api.py search "meeting notes" # Get page details python scripts/confluence_api.py get 12345 # Create a page python scripts/confluence_api.py create DEV "My New Page" --body "Page content here" # Update a page python scripts/confluence_api.py update 12345 --title "New Title" --body "Updated content"
Page Operations
List Pages
python scripts/confluence_api.py pages [options] --space, -s Space key(s), comma-separated --title, -t Filter by title (contains) --label, -l Filter by label --max Max results (default: 50) --verbose, -v Show detailed output
Get Page Details
python scripts/confluence_api.py get PAGE_ID python scripts/confluence_api.py get PAGE_ID --content # Include body content
Create Page
python scripts/confluence_api.py create SPACE "Title" [options] --body, -b Page body content (plain text or HTML) --parent, -p Parent page ID --labels, -l Labels (space-separated)
Update Page
python scripts/confluence_api.py update PAGE_ID [options] --title, -t New title --body, -b New body content --append, -a Append to existing content instead of replacing --labels, -l New labels
Delete Page
python scripts/confluence_api.py delete PAGE_ID
Add Comment
python scripts/confluence_api.py comment PAGE_ID "Comment text"
Space Operations
List Spaces
python scripts/confluence_api.py spaces [--type global|personal]
Get Space Details
python scripts/confluence_api.py space SPACE_KEY
List Space Pages
python scripts/confluence_api.py space-pages SPACE_KEY [-v]
Search Operations
Search Content
python scripts/confluence_api.py search "query" [options] --space, -s Limit to space(s) --type, -t Content type (page, blogpost, comment) --max Max results (default: 25)
Search with CQL
python scripts/confluence_api.py search --cql 'type=page AND space=DEV AND title~"meeting"'
Label Operations
Get Page Labels
python scripts/confluence_api.py labels PAGE_ID
Add Labels
python scripts/confluence_api.py add-labels PAGE_ID label1 label2 label3
Remove Label
python scripts/confluence_api.py remove-label PAGE_ID label_name
Attachment Operations
List Attachments
python scripts/confluence_api.py attachments PAGE_ID
Download Attachment
python scripts/confluence_api.py download PAGE_ID "filename.pdf" --output ./downloads/
Common Workflows
Documentation Review
# Find all pages updated in the last week python scripts/confluence_api.py search --cql 'type=page AND lastModified >= now("-7d")' -v # Get specific page content python scripts/confluence_api.py get 12345 --content
Create Documentation
# Create a new page under a parent python scripts/confluence_api.py create DEV "API Documentation" \ --parent 12345 \ --body "<h1>API Reference</h1><p>Documentation content...</p>" \ --labels api documentation # Update existing page python scripts/confluence_api.py update 67890 --body "Updated content" --append
Content Organization
# List all pages with a specific label python scripts/confluence_api.py search --cql 'type=page AND label="meeting-notes"' # Add labels to categorize pages python scripts/confluence_api.py add-labels 12345 reviewed approved
CQL Examples
Custom queries with
--cql:
# Pages modified by current user python scripts/confluence_api.py search --cql 'type=page AND contributor=currentUser()' # Recently created pages python scripts/confluence_api.py search --cql 'type=page AND created >= now("-30d") ORDER BY created DESC' # Pages with specific label in space python scripts/confluence_api.py search --cql 'type=page AND space=DEV AND label="important"' # Full-text search python scripts/confluence_api.py search --cql 'text~"deployment guide"'