MCPInstall

twg-confluence

Use with root twg for Confluence content, spaces, hierarchy, authoring, editing, comments, versions, permissions, exports, and CQL. Applies Confluence semantics and safe write rules.

Installs
134
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/atlassian/twg-cli --skill twg-confluence
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads twg-confluence automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

twg-confluence

Use with root twg when Confluence is the primary source or mutation target. This skill owns content-type, hierarchy, format, and concurrency semantics; live help owns exact command grammar.

CLI launcher fallback

Run twg <command>. On shell command not found, use $HOME/.local/bin/twg (macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe (PowerShell), then tell user to add that directory to PATH. Do not treat auth or command errors as PATH failures.

Use When

  • Use for Confluence-anchored content or space reads and mutations: CQL, bodies, hierarchy, versions, permissions, exports.
  • Do not load for a supporting Confluence link in a broader workflow.

First Route

IntentRoute
Known content ID or URLconfluence content get
Several known pagesOne docs get <id-or-url…> for the whole set
Exact Confluence filteringConfluence search with CQL
Date-filtered page/blogpost listconfluence search query --cql with lastmodified; content list has no date filter
Fuzzy page/topic discoveryCross-product search, then native get
Create or update contentUnified confluence content surface
Space metadata/lifecycleconfluence space
Hierarchyconfluence tree
ExportWord returns a download directly; PDF requires export-status polling

Use twg help describe "<exact path>" before an unfamiliar or consequential mutation.

Confluence Semantics

Pagination.

  • Use the unified content surface for content operations advertised by live help; use confluence space for spaces and confluence tree for hierarchy.
  • Search snippets are discovery candidates. Read the selected content before summarizing or editing it.
  • confluence content get and content versions list --id are single-page. For a page set, take metadata from one confluence search query --cql (title, space, lastmodified, author), then hydrate bodies only for the pages whose content changes the answer - batched through docs get <id-or-url…>, which takes many IDs at once, with --agent-fields @compact. Never loop a single-page route over a page list, and never re-run the CQL query per page.
  • Page titles are supplied separately from bodies. Do not repeat the title as the first body heading.
  • Remix create returns an asset, not a page embed. Embed via the loaded HTML guide and read back the page; an ID/URL is not proof.
  • Maui create uses --content-id only for ownership/embedding, not page reading. Read source first; include values, labels, narrative, and visualization instructions in the prompt. "This page" is not enough.

Safe Authoring And Editing

  • Treat user authorization and CLI confirmation as separate checks for archive, trash, and purge. Passing --yes is an execution preflight, not evidence the user authorized the mutation. Use --yes only after the user named the mutation and the exact target or a previously displayed bounded target set.
  • Explicit instructions such as "archive page XYZ" or "archive those 15 pages" after a concrete list authorize execution without another confirmation. Vague language such as "clean up", "organize", or "take care of" does not authorize archive, trash, or purge.
  • If the mutation or targets were inferred, resolve the proposed targets, present the exact action and bounded target list, and wait for the user to affirm it. Do not generalize approval from a similar prior action; trash does not authorize a permanent purge.
  • Before authoring, apply the target space's instructions once per space per session; see references/spaces.md. Empty instructions mean defaults.
  • Prefer live_doc for collaborative internal content where supported. Bare "page" or "doc" creation also defaults to live docs.
  • Use page for explicit classic/non-live intent, knowledge bases, customer help, established classic-page spaces, or page-only operations. Preserve an existing target's type; a classic parent does not set a child's type.
  • For non-trivial edits, read current content, save the body locally, edit the file, then update with the snapshot token.
  • Use the lossless HTML round trip when macros or exact storage matter.
  • Use --dry-run only for explicit preview requests or unusually risky edits where direct execution was not requested.
  • Read back the content or space after mutation and report its URL.

Handoffs

  • Load twg-context-discovery for related Jira work, projects, goals, or dependencies; twg-responsibility-routing for people, ownership, authority, or escalation.
  • Load twg-status-rollups when pages contribute to a broader status report.
  • Load twg-operational-health for runbooks, incidents, or PIRs.
  • Load twg-space-creation to create or clone a whole space.

References

  • references/content.md - content types, reads, writes, and exports
  • references/editing.md - concurrency-safe body editing
  • references/spaces.md - space lifecycle and hierarchy
  • references/querying.md - CQL and fuzzy discovery
  • references/body-formats.md - HTML, markdown, mentions, and special formats

FAQ

What does the twg-confluence skill do?

Use with root twg for Confluence content, spaces, hierarchy, authoring, editing, comments, versions, permissions, exports, and CQL. Applies Confluence semantics and safe write rules.

How do I install twg-confluence?

Run npx skills add https://github.com/atlassian/twg-cli --skill twg-confluence in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/twg-confluence/ (personal) or .claude/skills/twg-confluence/ (project).

Which AI agents can use twg-confluence?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is twg-confluence safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains twg-confluence?

It is published by atlassian in atlassian/twg-cli. It has 134 recorded installs.

More from atlassian/twg-cli

View all →

twg

atlassian/twg-cli

Use TWG whenever Atlassian or company context would help: Jira workitems and issues; Confluence pages and PRDs; Bitbucket PRs; project or goal status and launch readiness; owners, SMEs, approvers, or escalation; personal, org, or leadership work rollups and out-of-office catch-ups; dependency maps; code search, repository, or PR discovery; incidents, on-call, or reliability; and deep internal research across connected sources, docs, work, and people.

twg-jira

atlassian/twg-cli

Use with root twg for Jira workitems, similar issue discovery, duplicate detection, projects, boards, sprints, fields, transitions, comments, links, and administration. Applies Jira semantics and safe mutation rules.

twg-status-rollups

atlassian/twg-cli

Open the skill to read its SKILL.md instructions.

97 installs

twg-engineering-work

atlassian/twg-cli

Open the skill to read its SKILL.md instructions.

94 installs

twg-context-discovery

atlassian/twg-cli

Open the skill to read its SKILL.md instructions.

93 installs

twg-operational-health

atlassian/twg-cli

Open the skill to read its SKILL.md instructions.

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs