Confluence

From bkircher/skills · View interactive version

Confluence is an AI agent skill from the GitHub repository bkircher/skills. Search, read, draft, create, or update Confluence Cloud wiki pages. Use for titles, sections, spaces, and child pages; use jira for Jira issues.

How to use this skill

Skill file

Confluence

Use the provided CLI for supported Confluence API operations. Resolve

scripts/confluence.py against this skill directory, not the working directory.

Do not use curl, a browser, or inline HTTP code as a fallback for an unsupported

operation. Report the limitation instead. Jira issues belong to the jira skill;

Jira links in a page are context, not permission to change an issue.

Workflow

  1. Identify whether the request is to search, read, draft, create, or update a page.
  2. Read the page and nearby context before drafting or changing it. Use

drafting guidance for a proposed page and

commands and input details for write formats and limits.

  1. Ask only questions that block the task, such as an ambiguous target page or

space. A draft does not authorize publication. An explicit create or update

request authorizes that action; do not ask for the same approval again.

  1. For writes, report the page URL, changed fields, and verification status.

| Intent | Command |

| --- | --- |

| Search | python3 scripts/confluence.py search "deployment guide" --space DEV |

| Read page | python3 scripts/confluence.py get 123456 |

| Read children | python3 scripts/confluence.py get 123456 --children |

| Prepare an update | python3 scripts/confluence.py get 123456 --for-update --raw-adf |

| Preview changes | python3 scripts/confluence.py update 123456 --input changes.json --preview |

| Apply changes | python3 scripts/confluence.py update 123456 --input changes.json |

| Preview a new page | python3 scripts/confluence.py create --input page.json --preview |

| Create a page | python3 scripts/confluence.py create --input page.json |

Safe page edits

numeric IDs or use a space key as an ID. Specify parent_id for a child page.

or an update preview. Do not invent a version or reuse another page's snapshot.

rendering, not a reversible copy of the page. Never submit it as a full

replacement when the page contains macros, tables, embeds, or other rich nodes.

Use the original body_adf to retain such content.

delete pages, move pages, or change labels, permissions, attachments, or comments.

Do not use unsupported operations or another tool to bypass this limit.

result is unknown or unverified, inspect the page before any further write;

never repeat a create automatically. Confluence may accept a write even

when its response or read-back fails.

Configuration and safety

ATLASSIAN_URL is the canonical HTTPS site URL without a path or credentials.

Redirects are not followed. Verify a proposed site before changing the URL.

another method without new user instructions. Never print credentials.

limits, truncated labels, or unavailable ADF bodies. Scripts return JSON; answer

in concise text unless raw JSON is requested.

See client behavior and tests for maintenance details.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.