From confluence-tools
This skill MUST be used when the user asks to "list Confluence pages", "show pages in space", "get page tree", "list wiki pages", "show children pages", "what pages are in", "list folder contents", or wants to see multiple pages/folders in a space or under a parent. Use this for bulk content listing.
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 listing Confluence content. This skill supports both pages and folders, uses caching, and provides token-efficient output for content hierarchies.
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 listing Confluence content. This skill supports both pages and folders, uses caching, and provides token-efficient output for content hierarchies.
Use the Python script at scripts/list_confluence_pages.py:
# List root content in a space
python scripts/list_confluence_pages.py --space DEV
# List children of a specific page or folder
python scripts/list_confluence_pages.py --parent 123456
# List with depth (recursive)
python scripts/list_confluence_pages.py --space DEV --depth 2
# Tree view with type indicators
python scripts/list_confluence_pages.py --space DEV --depth 3 --format tree
| Option | Description |
|---|---|
--space, -s | Space key to list content from |
--parent, -p | Parent page or folder ID to list children of |
--depth, -d | Recursion depth (default: 1, max: 5) |
--limit, -l | Maximum items to return (default: 50) |
--preset | Output preset: minimal, standard, full |
--format, -f | Output: compact (default), tree, json |
--no-cache | Bypass cache, fetch fresh |
| Preset | Description |
|---|---|
minimal | ID, title, and type |
standard | ID, title, type, status, created date |
full | All fields including child count |
compact (default):
ITEMS|DEV|5
FOLDER|123456|Architecture Overview|current
PAGE|123457|API Documentation|current
PAGE|123458|Setup Guide|current
PAGE|123459|FAQ|current
PAGE|123460|Release Notes|current
tree (hierarchical with type indicators):
Space: DEV (5 items)
├── [F] Architecture (123456)
│ ├── [P] System Design (123461)
│ └── [P] Data Flow (123462)
├── [F] API Documentation (123457)
├── [P] Setup Guide (123458)
├── [P] FAQ (123459)
└── [P] Release Notes (123460)
Type indicators:
[F] = Folder[P] = Pagejson:
{"space":"DEV","count":5,"pages":[{"id":"123456","title":"Architecture","type":"folder","children":[...]},...]}
# Quick overview of a space
python scripts/list_confluence_pages.py --space DEV --preset minimal
# Full tree structure with types
python scripts/list_confluence_pages.py --space DEV --depth 3 --format tree
# Direct children only (auto-detects if parent is folder or page)
python scripts/list_confluence_pages.py --parent 123456
# All descendants
python scripts/list_confluence_pages.py --parent 123456 --depth 5
# Works the same way - auto-detects parent type
python scripts/list_confluence_pages.py --parent 789012
# Get content tree for building navigation
python scripts/list_confluence_pages.py --space DEV --depth 2 --format json
This skill automatically handles both pages and folders:
--parent, the script automatically detects whether the ID is a page or folderContent listings are cached for 4 hours at ~/.confluence-tools-cache.json.
# Force fresh data
python scripts/list_confluence_pages.py --space DEV --no-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.