confluence

Browse, search, create, and edit Confluence wiki pages via SAML-authenticated API calls.

1|Updated May 13, 2026
One-click install
npx skills add https://github.com/coolrobertj/Agency-Cowork --skill confluence-coolrobertj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: confluence
Source: https://github.com/coolrobertj/Agency-Cowork/tree/main/skills/confluence/skills/confluence
Command: npx skills add https://github.com/coolrobertj/Agency-Cowork --skill confluence-coolrobertj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, requests, and includes scripts (resource) components.

What problem does it solve? Managing Confluence wiki content manually through the browser is slow and hard to automate. This Skill lets you browse spaces, search pages with CQL, and create or edit pages directly from the command line using cookie-based authentication. ## Core Features & Use Cases - Page Navigation & Reading: List spaces, browse page trees, and read pages as markdown or raw HTML. - Search with CQL: Find pages by title, text, author, label, or modification date using Confluence Query Language. - Page Authoring: Create and edit pages with markdown auto-conversion, append sections, and insert structured tables. - Use Case: After a sprint review, ask your agent to create a "Sprint 42 Retrospective" page under the team space parent page, populated with a markdown summary and an action-items table. ## Quick Start Ask your agent to search the Confluence knowledge base space for pages about release planning and read the top result.

Frequently Asked Questions about confluence

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

FAQPage Schema
How do I search Confluence pages with CQL from the command line?

Run the wiki CLI search command with a --cql flag, for example 'type=page AND space=PROJ1 AND title~"meeting"'. CQL supports filters by space, author, label, ancestor, and last-modified date.

How to create a Confluence page from markdown?

Use the create command with --body containing markdown text or --body-file pointing to a markdown file. The CLI auto-converts markdown headers, lists, bold, italic, and code blocks into Confluence storage HTML format.

Does Confluence Server support personal access tokens for API authentication?

On this instance PATs are admin-disabled and NTLM returns anonymous, so they cannot be used. Authentication uses Azure AD SAML SSO via a Playwright-controlled Edge browser, with session cookies cached locally for reuse.

Why does the Confluence API return 401 Unauthorized?

A 401 error means the cached session cookies have expired. Re-run the interactive auth command to launch the browser, complete the SAML SSO login, and refresh the stored cookies.

Can I edit a Confluence page without version conflicts?

Yes. The update logic automatically fetches the current page version and increments it before saving, which prevents edit conflicts. You can replace the full body or append new sections with the --append flag.