with one click
confluence-docs
// Search and read Confluence documentation. Use when looking for internal docs, knowledge base articles, runbooks, or team documentation stored in Confluence.
// Search and read Confluence documentation. Use when looking for internal docs, knowledge base articles, runbooks, or team documentation stored in Confluence.
AWS service troubleshooting patterns. Use for EC2, ECS, Lambda, CloudWatch, RDS issues.
PostgreSQL database inspection and queries. Use when investigating table schemas, running queries, checking locks, replication status, or long-running queries.
Correlate incidents with recent deployments and code changes. Use when investigating if a deployment caused an issue, finding what changed, or identifying the commit that introduced a bug.
GitHub code search, file reading, PR review, branch/file management, and commit operations. Use when you need to search code patterns, read repository files, review pull requests, create branches, commit files, or open PRs.
Kubernetes debugging methodology and scripts. Use for pod crashes, CrashLoopBackOff, OOMKilled, deployment issues, resource problems, or container failures.
Jira issue tracking and project management. Use for creating, searching, updating, and commenting on Jira issues. Supports JQL queries for advanced searching.
| name | confluence-docs |
| description | Search and read Confluence documentation. Use when looking for internal docs, knowledge base articles, runbooks, or team documentation stored in Confluence. |
| allowed-tools | Bash(python *) |
Set these environment variables:
CONFLUENCE_URL — Your Confluence instance URL (e.g., https://yourcompany.atlassian.net)CONFLUENCE_EMAIL — Your Atlassian account emailCONFLUENCE_API_TOKEN — API token from https://id.atlassian.com/manage-profile/security/api-tokensAll scripts are in .claude/skills/confluence-docs/scripts/
python .claude/skills/confluence-docs/scripts/search_pages.py --query SEARCH_QUERY [--space SPACE_KEY] [--limit N]
# Examples:
python .claude/skills/confluence-docs/scripts/search_pages.py --query "refund policy"
python .claude/skills/confluence-docs/scripts/search_pages.py --query "onboarding" --space HR
python .claude/skills/confluence-docs/scripts/search_pages.py --query "deployment process" --limit 20
The confluence_client.py module provides:
| Function | Purpose |
|---|---|
search_content(cql, limit) | Search pages using CQL |
get_page_by_id(page_id) | Get page content by ID |
get_page_by_title(space, title) | Get page by title + space |
| Pattern | Example | Purpose |
|---|---|---|
| Text search | text ~ "deployment" | Full text search |
| Space filter | space = "ENG" AND type = page | Pages in a space |
| Recent docs | lastModified >= now("-30d") | Recently updated |
| By label | type = page AND label = "runbook" | Pages with label |
| Combined | space = "HR" AND text ~ "onboarding" | Complex queries |
# Step 1: Search broadly
python search_pages.py --query "authentication"
# Step 2: Narrow to a space
python search_pages.py --query "authentication" --space ENG
python search_pages.py --query "how to request access"
# Search for existing documentation
python search_pages.py --query "refund process"
# Get full page content using the client library
# (from Python code, not CLI — use get_page_by_id)
| Goal | Command |
|---|---|
| Search pages | search_pages.py --query "topic" |
| Filter by space | search_pages.py --query "topic" --space ENG |
--space when you know the teamget_page_by_id() from the client library when search snippets aren't enough