Confluence CLI

Atlassian Confluence CLI with a Claude Code plugin: read, search and edit pages from the terminal, with a read-only agent mode.

  • 326 ★ on the repository
  • Last commit
  • MIT
CLI

Extended access

Why this level

  • The CLI stores a Confluence token and can edit and delete pages by default.
All reasons and checks

pchuri/confluence-cli

Install

Works in

Manual install

brew install pchuri/tap/confluence-cli

The first README option; `npm install -g confluence-cli` also works.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The CLI stores a Confluence token and can edit and delete pages by default.

This is third-party code. Review the repository files before installing.

What it does

Confluence CLI provides a `confluence` command to read, search, create, update and delete pages. It also handles attachments, comments, content properties and exports of a page or a whole tree to a local folder. Named profiles cover several instances, and `confluence api` sends arbitrary authenticated requests. For Claude Code the repository ships a plugin with a `confluence` skill, so the agent learns the CLI commands after install. A profile can be switched to read-only mode, which blocks writes at the CLI level.

Who it is for. Developers and technical writers whose documentation lives in Confluence and who want an agent to read and update pages without a browser.

Good fit when

  • An agent needs requirements from Confluence pages directly in the terminal.
  • Documentation must be exported to Markdown with its attachments.
  • A task summary should be written to a page by command.
  • The same scripts must target Cloud and Data Center through different profiles.

Not a fit when

  • You need Jira or Bitbucket: the CLI covers Confluence only.
  • The agent must not be trusted with writes; enable read-only mode or skip the tool.
  • The instance does not allow API tokens.

Example request

Search Confluence for the release process, read the first page and summarize its steps as a list.

Limitations

Needs a Confluence account and an API token or password, set through `confluence init` or environment variables. Read-only mode must be enabled manually, and by default the agent can edit and delete pages. `confluence api` bypasses typed operations, so give the agent a least-privilege token. The Pi Coding Agent extension needs `typebox` installed separately. Cloud needs an Atlassian API token, Data Center a personal token or password. The last commit dates from October 2026.

How to disable. Remove the plugin through `/plugin` or the `.claude/skills/confluence/` folder, then run `npm uninstall -g confluence-cli`. Revoke the token in Atlassian settings and delete the profile file by hand.

FAQ

How do I connect the skill to Claude Code?

Through the plugin: `/plugin marketplace add pchuri/confluence-cli`, then `/plugin install confluence@pchuri-confluence-cli`. Without plugins, `confluence install-skill` creates `.claude/skills/confluence/SKILL.md`.

How do I stop an agent from writing?

Enable read-only mode for the profile. It blocks every write at the CLI level.

Does the CLI work with Data Center?

Yes. `confluence init` recommends `/wiki/rest/api` for Cloud and `/rest/api` for Data Center.

Can I export a whole space?

Yes. The export command with `--recursive` saves a page, its tree or a whole space with attachments.

Where is the configuration stored?

`confluence init` writes a profile with the domain, API path and auth method. The environment variables `CONFLUENCE_DOMAIN` and `CONFLUENCE_API_TOKEN` accept the same values.

Discussion

No questions or reviews yet.

CLI tools

Claude Code Docs

Claude Code Documentation Tool

A Claude Code plugin that keeps the official Claude docs at hand, reading each page live from Anthropic on demand, with no mirror and no MCP server

PluginExtended access58Repository stars

A self-hosted RAG platform: cited answers over GitHub, Notion, Drive and files, with an MCP mode for Claude Code.

MCP serverExtended access126Repository stars

Research environment for Claude Code and Codex: 87 skills, 15 reviewer agents and shared context for LaTeX papers.

SkillExtended access151Repository stars

Plugin for Claude Code and Codex: the agent answers with an interactive page of charts and calculators that you can edit and keep.

PluginExtended access133Repository stars
Official

Artifact Share CLI: an agent publishes HTML, Markdown and static sites at a stable link and updates it with new versions

CLIExtended access35Repository stars

A Claude Code plugin that writes papers, grants and posters from real literature: source search first, then cited text.

PluginExtended access2.6KRepository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
Confluence CLI (this card)no326
MCP Atlassiannokey is optional6,116an MCP server for Jira and Confluence; Confluence CLI is a terminal command with a Claude Code plugin for Confluence only
Atlassian Rovo MCP ServeryesOAuth1,160the official remote Atlassian MCP; Confluence CLI runs locally with a token and exports page trees

README in short

The `confluence` command covers reading, search, writes, attachments and export; a Claude Code plugin and a Pi Coding Agent extension with protected writes are available.

README badge

Report a problem