npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

confluence-axi

v1.0.4

Published

Agent-ergonomic Confluence Cloud CLI over the REST API directly, with token-efficient TOON output and OAuth 3LO + API-token auth.

Readme

confluence-axi

Agent-ergonomic CLI for Confluence Cloud, calling the Confluence REST API directly. Token-efficient TOON output, contextual suggestions, and idempotent mutations.

Sunset note: this replaces the Confluence half of the combined atlassian-axi CLI, which is now sunset and split into two per-product bins. The Jira half is the separate jira-axi package.

Quick Start

Install the confluence-axi skill in the Agent Skills format with npx skills:

npx -y skills@latest add emilchristensen/atlassian-axi --skill confluence-axi -g

That is the entire setup - no npm install needed. The skill teaches your agent to run confluence-axi through npx -y confluence-axi@latest, so the CLI comes along on demand. You still need credentials for your Confluence Cloud site (see Auth). -g installs the skill user-level for all projects; drop it to install for the current project only.

Other Ways to Install

The skill is the recommended path, but it is not the only one.

Zero setup - any capable agent can run the CLI directly with nothing installed at all:

npx -y confluence-axi@latest search "space = ENG AND type = page"

Session hook - install globally, only if you want the agent SessionStart hook functionality (setup hooks requires it):

npm i -g confluence-axi
confluence-axi setup hooks

Both paths in detail, including what the hooks add: Getting started.

Node >= 20. Nothing else required; there is no acli dependency.

Auth

Two modes. Resolution order: ATLASSIAN_API_TOKEN env > OAuth session > stored API token.

  • API token (agents / CI): non-interactive, token read from stdin only, never as an argument.

    echo -n "$TOKEN" | confluence-axi auth login --token --site acme.atlassian.net --email [email protected]
  • OAuth browser (humans): needs an interactive TTY, and your own registered Atlassian 3LO app (there is no shipped default). Set ATLASSIAN_AXI_OAUTH_CLIENT_ID and supply the secret.

    export ATLASSIAN_AXI_OAUTH_CLIENT_ID=<your app client id>
    confluence-axi auth login

See docs/auth.md for the resolution order, env vars, storage, --site, registering your own app, and the threat model.

Commands

confluence-axi page get <id> [--full] [--format storage|adf]
confluence-axi page create --space <KEY> --title <text> (--body <xhtml> | --body-file <path>) [--parent <id>]
confluence-axi page update <id> [--title <text>] [(--body <xhtml> | --body-file <path>)] [--allow-macro-loss]
confluence-axi page delete <id>
confluence-axi page attachments <id> [--limit <n>] [--media-type <type>] [--filename <name>]
confluence-axi page labels <id> [--add a,b | --remove a,b] [--prefix my|team|global|system (list only)] [--limit <n> (list only)]
confluence-axi page children <id> [--limit <n>]
confluence-axi space list [--limit <n>] [--fields <a,b,c>]
confluence-axi search "<CQL>" [--limit <n>] [--fields <a,b,c>]
confluence-axi auth login | login --token | status | logout
confluence-axi setup hooks
confluence-axi update [--check]

Flags come AFTER the command. Per-command help: confluence-axi <command> --help, scoped to the subcommand when you name one (confluence-axi page get --help).

Output and idempotency

All structured output is TOON-encoded and token-efficient; there is no plain-text or JSON mode. Bodies truncate by default; pass --full on page get. Mutations are idempotent: a no-op mutation reports "Already ..." and re-fetches the authoritative post-state, so re-running a failed mutation is safe.

Macro-loss guard

page update is a full-body replace. If the new body drops an <ac:structured-macro> (an embedded whiteboard, diagram, or macro) the current page still has, the update is REFUSED with VALIDATION_ERROR unless --allow-macro-loss is passed. Correct pattern: page get <id> --full, carry the macro block into the new body, then page update --body-file. This CLI cannot create or edit diagrams/whiteboards, only preserve them.

Body format

Confluence page bodies are storage-format XHTML (or Atlas Doc Format via --format adf). Markdown is NOT converted; passing markdown stores it literally.

Docs

License

MIT