PDF & DocumentsDocumentedScanned

confluence

Search and manage Confluence pages and spaces using confluence-cli.

Share:

Installation

npx clawhub@latest install confluence

View the full skill documentation and source below.

Documentation

Confluence

Search and manage Confluence pages using confluence-cli.

REQUIRED: First-Time Setup

Before using this skill, complete these steps:

Step 1: Install the CLI

npm install -g confluence-cli

Step 2: Get an API token

  • Go to

  • Click "Create API token"

  • Give it a label (e.g., "confluence-cli")

  • Copy the token
  • Step 3: Configure the CLI

    confluence init

    When prompted, enter:

    • Domain: yourcompany.atlassian.net (without https://)

    • Email: Your Atlassian account email

    • API token: Paste the token from Step 2


    Step 4: Verify setup

    confluence spaces

    If you see your spaces listed, you're ready to use Confluence.


    Search Pages

    confluence search "deployment guide"

    Read Page

    confluence read <page-id>

    Page IDs are in the URL: → ID is 123456 ## Get Page Info __CODE_BLOCK_5__ ## Find Page by Title __CODE_BLOCK_6__ ## List Spaces __CODE_BLOCK_7__ ## Create Page __CODE_BLOCK_8__ ## Create Child Page __CODE_BLOCK_9__ Or from a file: __CODE_BLOCK_10__ ## Update Page __CODE_BLOCK_11__ Or from a file: __CODE_BLOCK_12__ ## List Child Pages __CODE_BLOCK_13__ ## Export Page with Attachments __CODE_BLOCK_14__ ## Tips - Domain in config should NOT include - just yourcompany.atlassian.net

    • Use --format storage when content is in Confluence storage format (HTML-like)

    • Page IDs are numeric and found in page URLs

    • Config is stored at ~/.confluence-cli/config.json