From confluence-tools
This skill MUST be used when the user asks to "get a Confluence page", "fetch page content", "show me the wiki page", "read Confluence page", "view page", or mentions a Confluence page ID or wants to retrieve page information. ALWAYS use this skill for Confluence page retrieval.
npx claudepluginhub ericfisherdev/claude-plugins --plugin confluence-toolsThis skill uses the workspace's default tool permissions.
**IMPORTANT:** Always use this skill's Python script for fetching Confluence pages. This skill uses caching to reduce API calls and provides token-efficient output with configurable truncation.
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
IMPORTANT: Always use this skill's Python script for fetching Confluence pages. This skill uses caching to reduce API calls and provides token-efficient output with configurable truncation.
Use the Python script at scripts/fetch_confluence_page.py:
# Fetch page by ID
python scripts/fetch_confluence_page.py 123456
# Fetch page by title in a space
python scripts/fetch_confluence_page.py --space DEV --title "Architecture Overview"
# Minimal output (~30 tokens)
python scripts/fetch_confluence_page.py 123456 --preset minimal
# Full content with ancestors
python scripts/fetch_confluence_page.py 123456 --preset full
| Preset | Description | Approx Tokens |
|---|---|---|
minimal | Title, ID, URL only | ~30 |
standard | Title, space, status, truncated body (500 chars) | ~150 |
full | Full content with ancestors and labels | Variable |
| Option | Description |
|---|---|
--space, -s | Space key (required with --title) |
--title, -t | Page title to search for |
--preset, -p | Output preset: minimal, standard, full |
--body-length | Max body characters (0=none, -1=full) |
--include-labels | Include page labels |
--include-ancestors | Include parent page chain |
--format, -f | Output: compact (default), text, json |
--no-cache | Bypass cache, fetch fresh |
compact (default):
PAGE|123456|Architecture Overview|DEV|current
Body: This document describes the system architecture...
URL:https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123456
text:
Page: Architecture Overview
ID: 123456
Space: DEV
Status: current
Version: 5
Body: This document describes the system architecture...
URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123456
json:
{"id":"123456","title":"Architecture Overview","space":"DEV","status":"current","body":"...","url":"..."}
# Get just the URL and title
python scripts/fetch_confluence_page.py 123456 --preset minimal
# Get full page content with context
python scripts/fetch_confluence_page.py 123456 --preset full
# Search for a page in a specific space
python scripts/fetch_confluence_page.py --space DEV --title "API Documentation"
Pages are cached for 1 hour at ~/.confluence-tools-cache.json.
Manage cache:
python shared/confluence_cache.py info # View cache status
python shared/confluence_cache.py clear # Clear cache
Requires environment variables:
CONFLUENCE_BASE_URL - e.g., https://yoursite.atlassian.netCONFLUENCE_EMAIL - Your Atlassian account emailCONFLUENCE_API_TOKEN - API token from Atlassian account settingsFor detailed options, see references/options-reference.md.