Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ericfisherdev avatar

Search Content

  • 1 installs
  • 1 repo stars
  • Updated April 10, 2026
  • ericfisherdev/claude-plugins

Searches Confluence content via a CQL-based Python script, filtering by space, type, label, contributor, and modified date.

About

Searches Confluence content through a bundled Python script using CQL, with token-efficient output and parent-hierarchy info. A developer uses it to find pages, blog posts, or comments across Confluence during content discovery.

  • CQL-based Confluence search via a Python script
  • Filters by space, type, label, contributor, and modified date

Search Content by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,361 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ericfisherdev/claude-plugins --skill search-content

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars1
Last updatedApril 10, 2026
Repositoryericfisherdev/claude-plugins

What it does

Searches Confluence content via a CQL-based Python script, filtering by space, type, label, contributor, and modified date.

Files

SKILL.mdMarkdownGitHub ↗

Search Confluence Content

IMPORTANT: Always use this skill's Python script for searching Confluence. This skill provides CQL-based search with token-efficient output, including parent hierarchy information.

Quick Start

Use the Python script at scripts/search_confluence.py:

# Simple text search
python scripts/search_confluence.py "authentication"

# Search in specific space
python scripts/search_confluence.py "API documentation" --space DEV

# Search with type filter
python scripts/search_confluence.py "meeting notes" --type blogpost

# Search by label
python scripts/search_confluence.py --label "architecture"

Options

OptionDescription
querySearch text (positional argument)
--space, -sLimit search to specific space
--type, -tContent type: page, blogpost, comment
--label, -lSearch for content with specific label
--contributorSearch by content contributor
--modified-afterContent modified after date (YYYY-MM-DD)
--modified-beforeContent modified before date (YYYY-MM-DD)
--limitMaximum results (default: 25)
--format, -fOutput: compact (default), text, json

Search Types

Text Search

Search in page titles and content:

python scripts/search_confluence.py "deployment guide"

Label Search

Find pages with specific labels:

python scripts/search_confluence.py --label "api-reference"

Combined Search

python scripts/search_confluence.py "authentication" --space DEV --label "security"

CQL (Confluence Query Language)

This skill uses CQL internally. Advanced users can leverage CQL patterns:

Search PatternCQL Equivalent
Text searchtext ~ "query"
Space filterspace = "KEY"
Type filtertype = page
Label filterlabel = "name"
Date filterlastModified >= "2024-01-01"

Common Workflows

Find Documentation

# Find all API-related docs
python scripts/search_confluence.py "API" --space DEV --type page

# Find recent changes
python scripts/search_confluence.py "" --space DEV --modified-after 2024-01-01

Find Meeting Notes

python scripts/search_confluence.py "meeting notes" --type blogpost --limit 10

Find by Label

# Find all architecture decisions
python scripts/search_confluence.py --label "adr"

# Find deprecated content
python scripts/search_confluence.py --label "deprecated" --space DEV

Find Contributor's Content

python scripts/search_confluence.py --contributor "john.smith" --space DEV

Output Formats

compact (default):

SEARCH|5|"authentication"
HIT|123456|Authentication Guide|DEV|page|parent:Security Docs
HIT|123457|OAuth Setup|DEV|page|parent:Authentication Guide
HIT|123458|SSO Integration|DEV|page|parent:Authentication Guide
HIT|123459|Security Best Practices|DEV|page
HIT|123460|Login Flow|DEV|page|parent:User Management

Note: Parent information is included when available (e.g., parent:Security Docs).

text:

Search Results: "authentication" (5 found)

1. Authentication Guide
   ID: 123456 | Space: DEV | Type: page | Parent: Security Docs
   URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123456

2. OAuth Setup
   ID: 123457 | Space: DEV | Type: page | Parent: Authentication Guide
   URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123457
...

json:

{
  "query": "authentication",
  "count": 5,
  "results": [
    {
      "id": "123456",
      "title": "Authentication Guide",
      "space": "DEV",
      "type": "page",
      "url": "...",
      "parentId": "123400",
      "parentTitle": "Security Docs"
    }
  ]
}

Parent Information

Search results now include parent/hierarchy information when available:

  • parentId - ID of the direct parent page or folder
  • parentTitle - Title of the direct parent

This helps understand where each result is located in the content hierarchy.

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.

Related skills

Documentationworkflownotes

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.