Agent skill
confluence-read
Search Confluence pages and fetch page content. Use when a user wants to find or read Confluence wiki pages, or when context from Confluence is needed.
Install this agent skill to your Project
npx add-skill https://github.com/bkircher/skills/tree/main/confluence-read
SKILL.md
Confluence data access instructions
Search and fetch Confluence Cloud pages, returning content as Markdown.
Inputs
- Search query text, or a Confluence page URL / page ID
- Environment variables:
ATLASSIAN_URL,ATLASSIAN_EMAIL,ATLASSIAN_API_TOKEN
Workflow
1) Verify environment variables
Ensure all required variables are set. Never output or log token values. If missing, ask the user to set them before calling the API.
Variables: ATLASSIAN_URL, ATLASSIAN_EMAIL, ATLASSIAN_API_TOKEN
2) Identify the intent
- Search: the user wants to find pages by keyword, optionally within a space.
- Fetch: the user provides a specific page ID or URL and wants its content.
3) Run the appropriate script
Search pages
python scripts/search.py <QUERY> [--space SPACEKEY] [--limit N]
Returns a JSON array of matching pages with title, URL, excerpt, and rendered Markdown body. Default limit is 10.
Fetch a single page
python scripts/fetch_page.py <PAGE_ID_OR_URL> [--children]
Accepts a numeric page ID or a full Confluence page URL. Returns JSON with the page title, labels, rendered Markdown body, and metadata.
Pass --children to include a list of child pages (title and URL only).
4) Present results
- Use the
body_markdownfield to show page content. - Summarize or quote as appropriate for the user's request.
Notes
- Read-only operation: do not alter page data unless explicitly authorized.
- Never log or output secrets -- reference environment variable names only.
- ADF rendering is handled by the shared
jira.pyrenderer.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gh-code-review
Conduct a thorough and in-depth code review. Use this skill when conducting a code review for a PR on GitHub.
unit-testing
Use when writing or updating unit tests (in any language).
git-commit-message
Formulate a git commit message. Use this skill whenever asked to create a commit message.
postgresql-table-design
Design and optimize a PostgreSQL-specific schema. Use for PostgreSQL best practices, data types, indexing, constraints, performance patterns, and advanced features.
english-text-editor
Suggests improvements for English language text but does not rewrite the original. Use when asked to correct spelling or wording and the text is English.
jira-read-ticket
Use whenever a user mentions or references a Jira ticket and you want to pull out description, comments, or more.
Didn't find tool you were looking for?