Agent Skill
2/7/2026

confluence-page

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.

E
ericfisherdev
1GitHub Stars
1Views
npx skills add ericfisherdev/claude-plugins

SKILL.md

Nameconfluence-page
DescriptionThis 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.

name: confluence-page description: 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.

Confluence Page Retrieval

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.

Quick Start

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

Presets

PresetDescriptionApprox Tokens
minimalTitle, ID, URL only~30
standardTitle, space, status, truncated body (500 chars)~150
fullFull content with ancestors and labelsVariable

Options

OptionDescription
--space, -sSpace key (required with --title)
--title, -tPage title to search for
--preset, -pOutput preset: minimal, standard, full
--body-lengthMax body characters (0=none, -1=full)
--include-labelsInclude page labels
--include-ancestorsInclude parent page chain
--format, -fOutput: compact (default), text, json
--no-cacheBypass cache, fetch fresh

Output Formats

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":"..."}

Common Workflows

Quick Page Lookup

# Get just the URL and title
python scripts/fetch_confluence_page.py 123456 --preset minimal

Read Full Documentation

# Get full page content with context
python scripts/fetch_confluence_page.py 123456 --preset full

Find Page by Name

# Search for a page in a specific space
python scripts/fetch_confluence_page.py --space DEV --title "API Documentation"

Cache

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

Environment Setup

Requires environment variables:

  • CONFLUENCE_BASE_URL - e.g., https://yoursite.atlassian.net
  • CONFLUENCE_EMAIL - Your Atlassian account email
  • CONFLUENCE_API_TOKEN - API token from Atlassian account settings

Reference

For detailed options, see references/options-reference.md.

Skills Info
Original Name:confluence-pageAuthor:ericfisherdev