confluence-cf
Confluence CLI built for AI agents — pure JSON output, semantic exit codes, 200+ auto-generated commands, and built-in jq filtering.
Give your AI agent (Claude Code, Cursor, Copilot, or custom bots) reliable, token-efficient access to Confluence Cloud.
Install
pip install confluence-cf
# or
uv tool install confluence-cf
Why cf?
# Full Confluence response: ~8,000 tokens
cf pages get --id 12345
# With cf's filtering: ~50 tokens
cf pages get --id 12345 --fields id,title --jq '{id: .id, title: .title}'
- All output is JSON — stdout for data, stderr for errors, always
- Semantic exit codes — 0=ok, 2=auth, 3=not_found, 5=rate_limited — agents can branch without parsing
- 200+ commands from the official Confluence OpenAPI spec, synced daily
- Batch operations — N API calls in one process via
cf batch - Self-describing —
cf schemalets agents discover commands at runtime - Workflow helpers —
cf workflow move,cf workflow copy,cf workflow archive
Quick start
# Configure
cf configure --base-url https://yoursite.atlassian.net --token YOUR_API_TOKEN
# Search pages
cf search search-content --cql "space = DEV AND type = page" \
--jq '.results[] | {id, title}'
# Export a page tree
cf export --id 12345 --tree
# Batch operations
echo '[
{"command":"pages get","args":{"id":"12345"},"jq":".title"},
{"command":"pages get","args":{"id":"67890"},"jq":".title"}
]' | cf batch
Also available via
- Homebrew:
brew install sofq/tap/cf - npm:
npm install -g confluence-cf - Scoop:
scoop bucket add sofq https://github.com/sofq/scoop-bucket && scoop install cf - Docker:
docker run --rm ghcr.io/sofq/cf version - Go:
go install github.com/sofq/confluence-cli@latest
Documentation
Full docs, Claude Code skill, and source at github.com/sofq/confluence-cli.
Metadata
Release files for confluence-cf 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| confluence_cf-1.2.7.tar.gz | 3.4 kB | With provenance | Details for confluence_cf-1.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| confluence_cf-1.2.7-py3-none-any.whl | Python 3 | none | any | Details for confluence_cf-1.2.7-py3-none-any.whl |
Total release size: 7.1 kB
Release files / confluence_cf-1.2.7.tar.gz
| Download URL | confluence_cf-1.2.7.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a28d7e515fe1518a256f1c99547e7170491194b7242b5a4d69f6f7e51477b4f3
|
|
BLAKE2b-256 checksum How to use checksums |
c1ba9d8c425091becca9c9d8a9470d6f61347644efc018baeb98a6037fa06e6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.
Transparency logRelease files / confluence_cf-1.2.7-py3-none-any.whl
| Download URL | confluence_cf-1.2.7-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0e469216d1a5e7cfe99cd09c4b41f784aa32e25de76586eeb8172dacd97ae5b
|
|
BLAKE2b-256 checksum How to use checksums |
db9f00f58d79cf9f81ff6bec8816daecdd6dd5eaf8449a0cbb2da20451d16091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.
Transparency logSecurity for confluence-cf 1.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for confluence_cf-1.2.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.