Agent skill

Confluence CLI

by magnus919 in magnus919/agent-skills

Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages.

MITAuto-check passedBackend & APIs

Install Confluence CLI

skills CLI
$ npx skills add magnus919/agent-skills --skill confluence-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install magnus919/agent-skills confluence-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/confluence-cli .claude/skills/confluence-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
confluence-cli
GitHub stars
116
Token cost
~1.5k tokens
SKILL.md length
382 words
Files
4 (incl. scripts)
Skills in repo
130
Repo updated
First seen
Licence
MIT

At a glance

Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages.

  • Works in 2 steps: Generate an API token at… → Set environment variables
  • The user mentions Confluence
  • SKILL.md covers Setup, Essential Commands, Global Flags and Known Gotchas, plus 1 more section
  • Needs CONFLUENCE_API_TOKEN

What it does

Confluence CLI is an agent skill from magnus919/agent-skills. Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages. Use when the user mentions Confluence, a space key (e.g. DEV), or asks about documentation, wiki pages, space content, or knowledge base articles. Do not use this skill for unrelated requests; route to the nearest named specialist.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `README.md` and `evals/evals.json`). Compatibility notes: Requires CONFLUENCEEMAIL and CONFLUENCEAPITOKEN env vars (free from id.atlassian.com/manage/api-tokens), Python 3.8+, and the requests library. Also requires…

It sits in Backend & APIs, covering Help center and FAQ content. It works with Confluence. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.

When your agent uses it

  • The user mentions Confluence
  • A space key (e.g
  • Unrelated requests
  • Route to the nearest named specialist

Example prompts

  • “/confluence-cli”

Requirements

  • Python 3
  • A credential in CONFLUENCE_API_TOKEN
  • Compatibility (from SKILL.md): Requires CONFLUENCE_EMAIL and CONFLUENCE_API_TOKEN env vars (free from id.atlassian.com/manage/api-tokens), Python 3.8+, and the `requests` library. Also requires CONFLUENCE_SERVER (defaults to your-domain.atlassian.net).

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Generate an API token at id.atlassian.com/manage/api-tokens
  2. Set environment variables

What it can do on your machine

Read from SKILL.md and the folder at commit c545c2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • id.atlassian.com
    • developer.atlassian.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CONFLUENCE_API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires CONFLUENCE_EMAIL and CONFLUENCE_API_TOKEN env vars (free from id.atlassian.com/manage/api-tokens), Python 3.8+, and the `requests` library. Also requires CONFLUENCE_SERVER (defaults to your-domain.atlassian.net).

    From compatibility in the SKILL.md frontmatter.

Context cost

Confluence CLI loads about 1.5k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 382 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from magnus919/agent-skills at commit c545c2b, republished under its MIT licence (© magnus919). 382 words, ~1,451 tokens.

Download SKILL.mdSave it as .claude/skills/confluence-cli/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
confluence-cli
description
Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages. Use when the user mentions Confluence, a space key (e.g. DEV), or asks about documentation, wiki pages, space content, or knowledge base articles. Do not use this skill for unrelated requests; route to the nearest named specialist.
compatibility
Requires CONFLUENCE_EMAIL and CONFLUENCE_API_TOKEN env vars (free from id.atlassian.com/manage/api-tokens), Python 3.8+, and the `requests` library. Also requires CONFLUENCE_SERVER (defaults to your-domain.atlassian.net).
license
MIT
metadata.tags
confluence, atlassian, wiki, documentation, knowledge-base, api-client
metadata.sources
https://developer.atlassian.com/cloud/confluence/rest/v2/, https://id.atlassian.com/manage/api-tokens

confluence-cli — Confluence Wiki from the Terminal

Interact with Atlassian Confluence Cloud via the REST API. List spaces, browse pages, view page content with body, search with CQL, and create pages.

Setup

  1. Generate an API token at id.atlassian.com/manage/api-tokens
  2. Set environment variables:
bash
export CONFLUENCE_EMAIL="your-email@example.com"
export CONFLUENCE_API_TOKEN="your-api-token"
export CONFLUENCE_SERVER="https://your-domain.atlassian.net"

--help and --dry-run work without credentials.

Essential Commands

me — Current user profile
bash
confluence-cli me                       # your account info
confluence-cli me --json                # machine-readable
spaces — List spaces
bash
confluence-cli spaces                   # all accessible spaces
confluence-cli spaces --limit 50        # more results
confluence-cli spaces --json            # machine-readable
pages — List pages
bash
confluence-cli pages                                # recent pages across all spaces
confluence-cli pages --space DEV                    # pages in a specific space
confluence-cli pages --space DEV --limit 10          # top 10
confluence-cli pages --space DEV --json             # machine-readable

Filters by space key. Resolves the key to an internal ID automatically.

view — View a page by ID
bash
confluence-cli view 123456                   # full page with body
confluence-cli view 123456 --json            # machine-readable

Shows title, status, version, author, timestamps, and HTML body (stripped to plain text for display). The full HTML body is available in --json output up to 5000 chars.

search — Search with CQL
bash
confluence-cli search --cql 'text~"deploy"'              # full-text search
confluence-cli search --cql 'space=DEV AND type=page'    # by space and type
confluence-cli search --cql 'creator=currentuser()'      # my content
confluence-cli search --cql 'text~"api"' --limit 5       # top 5 results

CQL (Confluence Query Language) is Confluence's search syntax. Common patterns:

  • text~"keyword" — full-text search
  • space=KEY — filter by space
  • type=page — filter by content type
  • creator=currentuser() — your content
  • label="name" — by label
  • Combine with AND: space=DEV AND text~"deploy"
create — Create a page
bash
confluence-cli create --space DEV --title "My Page"                             # basic
confluence-cli create --space DEV --title "API Docs" --body "<p>Content</p>"    # with HTML body
confluence-cli create --space DEV --title "Test" --parent 123456                # as child page
confluence-cli create --space DEV --title "Test" --dry-run                      # preview

Creates pages in Confluence Cloud (v2 API). The body is HTML using Confluence's storage format. For simple pages, basic HTML tags work (<p>, <ul>, <h2>, etc.).

Global Flags

All flags work in any position:

bash
confluence-cli --json pages --space DEV              # flag before subcommand
confluence-cli pages --space DEV --json              # flag after subcommand
confluence-cli --dry-run create --space DEV --title "Test"
confluence-cli --quiet pages                         # suppress non-essential output
Show full SKILL.md (200 more words)Show less

Known Gotchas

  • Authentication uses HTTP Basic Auth with email + API token. Same credentials as Jira, but stored under different env var names.
  • Two API versions — The CLI uses v2 API for most operations (spaces, pages, create) and the legacy rest API for me and search (CQL). This is transparent to the user.
  • Space keys must be resolved to IDs — The v2 API requires numeric space IDs for filtering. The CLI resolves keys automatically, which costs one extra API call on pages --space and create --space.
  • Page body is HTML — The Confluence storage format uses HTML. The CLI strips HTML tags for display and returns raw HTML in --json output (up to 5000 chars). Creating pages with rich formatting requires valid HTML.
  • CQL search quirks — CQL is case-insensitive for most operators. The text~ operator searches the full text body. Enclose multi-word phrases in escaped quotes.
  • Rate limits — Confluence Cloud has rate limits. The CLI does not auto-retry.

References

© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in confluence-cli of magnus919/agent-skills.

  • SKILL.md
  • README.md
  • evals/evals.json
  • scripts/confluence-cli

Open the folder on GitHubat commit c545c2b

Compare with similar skills

Confluence CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Confluence CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Confluence CLI this skillmagnus919/agent-skills116—~1.5kAutomated safety check: PassMIT
Debug DashboardBlackBeltTechnology/pi-agent-dashboard315—~1.6kAutomated safety check: PassMIT
Iam Helper For Troubleshootinggoogle/skills21k—~1.3kAutomated safety check: PassApache-2.0
Atlassian MCP ExpertJeffallan/claude-skills12k—~1.3kAutomated safety check: PassMIT
Atlassiansanjay3290/ai-skills431—~1.6kAutomated safety check: PassApache-2.0
Lc Faq Addyennanliu/CS_basics142—~2.2kAutomated safety check: NotesNone

Similar skills

  • Debug Dashboard

    BlackBeltTechnology/pi-agent-dashboard

    Diagnose problems in the running pi-agent-dashboard system: server.log, /api/health, bridge WebSocket connectivity, vitest triage, known-issue FAQ entries.

    315 GitHub stars~1.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Official

    Diagnoses, remediates, and manages Google Cloud Identity and Access Management (IAM) access issues.

    21k GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Atlassian MCP Expert

    Jeffallan/claude-skills

    Queries and edits Jira issues and Confluence pages through an MCP server, covering JQL and CQL queries, server setup, authentication and sprint or backlog workflows.

    12k GitHub stars~1.3k tokensUpdated 6 days ago
    Backend & APIsAuto-check passed
  • Atlassian

    sanjay3290/ai-skills

    Manage Jira issues and Confluence wiki pages in Atlassian Cloud.

    431 GitHub stars~1.6k tokensUpdated 29 days ago
    Backend & APIsAuto-check passed
  • Lc Faq Add

    yennanliu/CS_basics

    File an interview question and answer into doc/faq/ in the shape the other 49 FAQs use — the sheet its Scope line owns, the numbered section it belongs under, tagged code fences — and write the…

    142 GitHub stars~2.2k tokensUpdated today
    Sales & SupportAuto-check: notes
  • Atlassian Admin

    alirezarezvani/claude-skills

    Atlassian Administrator for managing and organizing Atlassian products (Jira, Confluence, Bitbucket, Trello), users, permissions, security, integrations, system configuration, and org-wide governance.

    28k GitHub starsUsed in 1 repo~3.2k tokens
    Backend & APIsAuto-check passed

More from magnus919/agent-skills

All 130 skills in this repo
  • Artifact Pyramids

    magnus919/agent-skills

    Organize durable agent research outputs as summaries, analysis, and evidence dossiers.

    116 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Ascii City Engine

    magnus919/agent-skills

    Build portable, first-person colored ASCII city engines and small GIS-derived city packs.

    116 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Color Management

    magnus919/agent-skills

    Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.

    116 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Data Scientist

    magnus919/agent-skills

    A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…

    116 GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed
  • Docker Compose

    magnus919/agent-skills

    Use Docker Compose to define, run, debug, and harden multi-container applications.

    116 GitHub stars~2k tokensUpdated yesterday
    Auto-check: notes
  • Fpga Development

    magnus919/agent-skills

    Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.

    116 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Confluence CLI

What does Confluence CLI do?

Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages. Confluence CLI is an agent skill from magnus919/agent-skills. Interact with Atlassian Confluence from the terminal: list spaces, browse pages, view page content, search with CQL, and create pages.

When should I use Confluence CLI?

Confluence CLI fits situations like: the user mentions Confluence; A space key (e.g; unrelated requests; route to the nearest named specialist.

How do I install Confluence CLI in Claude Code?

Run `npx skills add magnus919/agent-skills --skill confluence-cli -a claude-code`. Or copy the skill folder (confluence-cli in magnus919/agent-skills) into .claude/skills/confluence-cli in your project. Claude Code loads it when a task matches its description.

How do I install Confluence CLI in Codex?

Run `npx skills add magnus919/agent-skills --skill confluence-cli -a codex`. Or copy the skill folder (confluence-cli in magnus919/agent-skills) into .agents/skills/confluence-cli in your project. Codex loads it when a task matches its description.

Can I use Confluence CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add magnus919/agent-skills --skill confluence-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/confluence-cli, .gemini/skills/confluence-cli, .github/skills/confluence-cli and .opencode/skills/confluence-cli in your project.

What does Confluence CLI need to run?

Going by SKILL.md and its folder, Confluence CLI needs credentials named CONFLUENCE_API_TOKEN. Our summary lists: Python 3; A credential in CONFLUENCE_API_TOKEN. Compatibility (from SKILL.md): Requires CONFLUENCE_EMAIL and CONFLUENCE_API_TOKEN env vars (free from id.atlassian.com/manage/api-tokens), Python 3.8+, and the `requests` library. Also requires CONFLUENCE_SERVER (defaults to your-domain.atlassian.net)..

Does Confluence CLI access the network?

SKILL.md names 2 domains. As links in the text: id.atlassian.com and developer.atlassian.com. This is read from the text; nothing was executed.

Is Confluence CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Confluence CLI use?

Confluence CLI is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Confluence CLI use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Confluence CLI?

Skills that share tags, products or a category with Confluence CLI: Debug Dashboard (BlackBeltTechnology/pi-agent-dashboard, 315 stars), Iam Helper For Troubleshooting (google/skills, 21k stars), Atlassian MCP Expert (Jeffallan/claude-skills, 12k stars) and Atlassian (sanjay3290/ai-skills, 431 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Confluence CLI?

magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 116 GitHub stars. The repository holds 130 skills in this directory. The repository was last updated on October 8, 2026.

Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.