confluence-cli

Manage Confluence pages and spaces via npm-installed confluence-cli commands.

3|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/BenjaminG/ai-skills --skill confluence-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: confluence-cli
Source: https://github.com/BenjaminG/ai-skills/tree/main/confluence-cli
Command: npx skills add https://github.com/BenjaminG/ai-skills --skill confluence-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables users to manage Confluence content from the command line using the confluence-cli tool, simplifying documentation workflows, bulk operations, and migrations without a heavy GUI.

Core Features & Use Cases

  • Read pages and fetch page metadata
  • Create, update, and organize pages and spaces
  • Copy page trees and migrate content between spaces
  • Automate routine Confluence tasks with shell scripts
  • Use cases: bulk page creation from templates, migrating documentation between spaces, scripted updates to spaces

Quick Start

Install the CLI globally with npm install -g confluence-cli, then verify connectivity with confluence spaces and confluence read on a page. Initialize authentication with confluence init or by setting environment variables for domain, email, and API token.

Frequently Asked Questions about confluence-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Confluence page creation and updates from the command line?

You can automate Confluence page creation and updates by installing the confluence-cli npm package and using shell scripts to run core commands like create and update for bulk documentation workflows.

What is the best way to migrate Confluence content between spaces in bulk?

Migrating Confluence content between spaces is done using the CLI copy-tree command, which allows you to copy entire page trees and move documentation structures without relying on the web GUI.

How do I set up authentication for a Confluence CLI tool?

Authentication for the Confluence CLI is set up by running the init command or by configuring environment variables for your Confluence domain, email, and API token before executing operations.

Can I read and fetch Confluence page metadata without using the web interface?

Reading and fetching Confluence page metadata without the web interface is possible by using the read command in the CLI, which retrieves page content and properties directly from the terminal.

Do I need npm to install a command-line tool for Confluence automation?

Yes, npm is required to install the tool globally via the command npm install -g confluence-cli, which then allows you to execute scripted Confluence interactions and bulk operations from your terminal.