← Back to Skills Marketplace
hochej

Confluence CLI (confcli)

by hochej · GitHub ↗ · v0.2.5
cross-platform ⚠ suspicious
1021
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install confluence-cli
Description
Interact with Confluence Cloud from the command line. Use when reading, creating, updating, or searching Confluence pages, managing attachments, labels, comments, or exporting content.
README (SKILL.md)

confcli

CLI for Confluence Cloud.

Installation

Check if confcli is installed:

command -v confcli

If not installed, install via:

curl -fsSL https://raw.githubusercontent.com/hochej/confcli/main/install.sh | sh

To install a specific version or to a custom directory:

curl -fsSL https://raw.githubusercontent.com/hochej/confcli/main/install.sh | VERSION=0.2.3 sh
curl -fsSL https://raw.githubusercontent.com/hochej/confcli/main/install.sh | INSTALL_DIR=~/.bin sh

Authentication

Check auth status first:

confcli auth status

If not authenticated, ask the user to configure authentication. They can either:

  1. Run confcli auth login interactively in their own terminal, or
  2. Set environment variables before starting the session:
    • CONFLUENCE_DOMAIN — e.g. yourcompany.atlassian.net
    • CONFLUENCE_EMAIL
    • CONFLUENCE_TOKEN (or CONFLUENCE_API_TOKEN)

API tokens are generated at https://id.atlassian.com/manage-profile/security/api-tokens

Never ask the user to paste a token into the conversation. Tokens must be set via environment variables or confcli auth login.

Page References

Pages can be referenced by:

  • ID: 12345
  • URL: https://company.atlassian.net/wiki/spaces/MFS/pages/12345/Title
  • Space:Title: MFS:Overview

Important

Write operations (create, update, delete, purge, edit, label add/remove, attachment upload/delete, comment add/delete, copy-tree) require explicit user intent. Never perform these based on assumptions.

Use --dry-run to preview destructive operations without executing them.

Common Commands

# Spaces
confcli space list
confcli space get MFS
confcli space pages MFS --tree
confcli space create --key PROJ --name "Project" -o json --compact-json
confcli space delete MFS --yes

# Pages
confcli page list --space MFS --title "Overview"
confcli page get MFS:Overview                  # metadata (table)
confcli page get MFS:Overview --show-body      # include body in table output
confcli page get MFS:Overview -o json          # full JSON
confcli page body MFS:Overview                 # markdown content
confcli page body MFS:Overview --format storage
confcli page children MFS:Overview
confcli page children MFS:Overview --recursive
confcli page history MFS:Overview
confcli page open MFS:Overview                 # open in browser
confcli page edit MFS:Overview                 # edit in $EDITOR

# Search
confcli search "query"
confcli search "type=page AND title ~ Template"
confcli search "confluence" --space MFS

# Write
confcli page create --space MFS --title "Title" --body "\x3Cp>content\x3C/p>"
confcli page update MFS:Overview --body-file content.html
confcli page delete 12345

# Attachments
confcli attachment list MFS:Overview
confcli attachment upload MFS:Overview ./file.png ./other.pdf
confcli attachment download att12345 --dest file.png

# Labels
confcli label add MFS:Overview tag1 tag2 tag3
confcli label remove MFS:Overview tag1 tag2
confcli label pages "tag"

# Comments
confcli comment list MFS:Overview
confcli comment add MFS:Overview --body "LGTM"
confcli comment delete 123456

# Export
confcli export MFS:Overview --dest ./exports --format md

# Copy Tree
confcli copy-tree MFS:Overview MFS:TargetParent

Output Formats

Use -o flag: json, table, md

confcli space list -o json
confcli page get MFS:Overview -o json

Pagination

Add --all to fetch all results, -n to set limit:

confcli space list --all
confcli search "query" --all -n 100
Usage Guidance
This skill appears to be a legitimate Confluence CLI, but two issues need your attention before installing: (1) SKILL.md expects CONFLUENCE_DOMAIN, CONFLUENCE_EMAIL, and CONFLUENCE_TOKEN environment variables but the skill metadata doesn't declare them — verify and provide credentials only via environment variables or interactive login as recommended; (2) the doc recommends running a remote install script by piping raw.githubusercontent.com content into sh — avoid blind curl|sh if you can. Instead: review the install script on the repository, download it and inspect it locally before executing, or install the CLI via a package manager or a verified release. If you plan to let an agent invoke this skill autonomously, do not give it your API token unless you trust the skill and have inspected the installer and behavior. Ask the skill author (or the registry) to update metadata to list the required env vars and to provide a vetted install mechanism or release URL.
Capability Analysis
Type: OpenClaw Skill Name: confluence-cli Version: 0.2.5 The skill bundle is classified as suspicious primarily due to its installation method and the broad capabilities of the installed tool. The `SKILL.md` file instructs the agent to install `confcli` by executing a remote script via `curl -fsSL https://raw.githubusercontent.com/hochej/confcli/main/install.sh | sh`. This direct execution of remote code introduces a significant supply chain risk, as the content of the script could be altered to deliver malicious payloads. Furthermore, the `confcli` tool, once installed, provides extensive capabilities to read, write, update, delete, and export data from Confluence, as well as interact with the local file system (e.g., downloading attachments, exporting content, editing files), representing broad permissions that could be misused. While the instructions include safeguards like requiring explicit user intent for write operations and not asking for tokens directly, the combination of remote code execution for installation and powerful system/network access makes this skill suspicious.
Capability Assessment
Purpose & Capability
The documented commands and capabilities (reading, creating, updating pages, attachments, labels, comments, exports) align with a Confluence CLI. Nothing in the instructions suggests functionality outside that purpose.
Instruction Scope
The runtime instructions direct the user/agent to run a remote install script (curl -fsSL https://raw.githubusercontent.com/hochej/confcli/main/install.sh | sh). The doc also references environment variables (CONFLUENCE_DOMAIN, CONFLUENCE_EMAIL, CONFLUENCE_TOKEN) and interactive operations. The instructions explicitly say not to ask users to paste tokens (good), but they do permit the agent or user to run potentially-destructive write commands — which the doc attempts to constrain by requiring explicit user intent. Overall the install instruction and env var use are scope concerns.
Install Mechanism
There is no declared install spec in the registry, but SKILL.md recommends piping a raw GitHub-hosted install script into sh. raw.githubusercontent.com is a common host for releases, but piping a remote script to sh is a high-risk pattern because it executes remote code without local inspection.
Credentials
The skill metadata declares no required environment variables or primary credential, yet SKILL.md expects CONFLUENCE_DOMAIN, CONFLUENCE_EMAIL, and CONFLUENCE_TOKEN / CONFLUENCE_API_TOKEN for authentication. Those variables are appropriate for a Confluence CLI, but their absence from the metadata is an inconsistency and a transparency issue.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not declare modifications to other skills or system-wide settings. Agent autonomous invocation is allowed by default, which is normal — there are no additional persistence/privilege requests in the manifest.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install confluence-cli
  3. After installation, invoke the skill by name or use /confluence-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.5
Confcli, a CLI tool for Confluence Cloud. - Read, create, update, search, and manage Confluence pages from the command line. - Supports handling attachments, labels, comments, and exporting content. - Flexible authentication via interactive login or environment variables. - Detailed usage examples and safe defaults for write operations. - Multiple output formats: JSON, table, Markdown. - Pagination and dry-run support for safer bulk or destructive operations.
Metadata
Slug confluence-cli
Version 0.2.5
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Confluence CLI (confcli)?

Interact with Confluence Cloud from the command line. Use when reading, creating, updating, or searching Confluence pages, managing attachments, labels, comments, or exporting content. It is an AI Agent Skill for Claude Code / OpenClaw, with 1021 downloads so far.

How do I install Confluence CLI (confcli)?

Run "/install confluence-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Confluence CLI (confcli) free?

Yes, Confluence CLI (confcli) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Confluence CLI (confcli) support?

Confluence CLI (confcli) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Confluence CLI (confcli)?

It is built and maintained by hochej (@hochej); the current version is v0.2.5.

💬 Comments