Confluence automation

From lingxling/awesome-skills-cn · View interactive version

Confluence automation is an AI agent skill from the GitHub repository lingxling/awesome-skills-cn. Automate Confluence page creation, content search, space management, labels, and hierarchy navigation via Rube MCP (Composio). Always search tools first for current schemas.

How to use this skill

Skill file

Confluence Automation via Rube MCP

Automate Confluence operations including page creation and updates, content search with CQL, space management, label tagging, and page hierarchy navigation through Composio's Confluence toolkit.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit confluence
  3. If connection is not ACTIVE, follow the returned auth link to complete Confluence OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create and Update Pages

When to use: User wants to create new documentation or update existing Confluence pages

Tool sequence:

  1. CONFLUENCE_GET_SPACES - List spaces to find the target space ID [Prerequisite]
  2. CONFLUENCE_SEARCH_CONTENT - Find existing page to avoid duplicates or locate parent [Optional]
  3. CONFLUENCE_GET_PAGE_BY_ID - Get current page content and version number before updating [Prerequisite for updates]
  4. CONFLUENCE_CREATE_PAGE - Create a new page in a space [Required for creation]
  5. CONFLUENCE_UPDATE_PAGE - Update an existing page with new content and incremented version [Required for updates]
  6. CONFLUENCE_ADD_CONTENT_LABEL - Tag the page with labels after creation [Optional]

Key parameters:

Pitfalls:

2. Search Content

When to use: User wants to find pages, blog posts, or content across Confluence

Tool sequence:

  1. CONFLUENCE_SEARCH_CONTENT - Keyword search with intelligent relevance ranking [Required]
  2. CONFLUENCE_CQL_SEARCH - Advanced search using Confluence Query Language [Alternative]
  3. CONFLUENCE_GET_PAGE_BY_ID - Hydrate full content for selected search results [Optional]
  4. CONFLUENCE_GET_PAGES - Browse pages sorted by date when search relevance is weak [Fallback]

Key parameters for SEARCH_CONTENT:

Key parameters for CQL_SEARCH:

CQL operators and fields:

Pitfalls:

3. Manage Spaces

When to use: User wants to list, create, or inspect Confluence spaces

Tool sequence:

  1. CONFLUENCE_GET_SPACES - List all spaces with optional filtering [Required]
  2. CONFLUENCE_GET_SPACE_BY_ID - Get detailed metadata for a specific space [Optional]
  3. CONFLUENCE_CREATE_SPACE - Create a new space with key and name [Optional]
  4. CONFLUENCE_GET_SPACE_PROPERTIES - Retrieve custom metadata stored as space properties [Optional]
  5. CONFLUENCE_GET_SPACE_CONTENTS - List pages, blog posts, or attachments in a space [Optional]
  6. CONFLUENCE_GET_LABELS_FOR_SPACE - List labels on a space [Optional]

Key parameters:

Pitfalls:

4. Navigate Page Hierarchy and Labels

When to use: User wants to explore page trees, child pages, ancestors, or manage labels

Tool sequence:

  1. CONFLUENCE_SEARCH_CONTENT - Find the target page ID [Prerequisite]
  2. CONFLUENCE_GET_CHILD_PAGES - List direct children of a parent page [Required]
  3. CONFLUENCE_GET_PAGE_ANCESTORS - Get the full ancestor chain for a page [Optional]
  4. CONFLUENCE_GET_LABELS_FOR_PAGE - List labels on a specific page [Optional]
  5. CONFLUENCE_ADD_CONTENT_LABEL - Add labels to a page [Optional]
  6. CONFLUENCE_GET_LABELS_FOR_SPACE_CONTENT - List labels across all content in a space [Optional]
  7. CONFLUENCE_GET_PAGE_VERSIONS - Audit edit history for a page [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Always resolve human-readable names to IDs before operations:

Pagination

Confluence uses two pagination styles:

Content Formatting

Known Pitfalls

ID Formats

Rate Limits

Content Format

Version Conflicts

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| List spaces | CONFLUENCE_GET_SPACES | type, status, limit |

| Get space by ID | CONFLUENCE_GET_SPACE_BY_ID | id |

| Create space | CONFLUENCE_CREATE_SPACE | key, name, type |

| Space contents | CONFLUENCE_GET_SPACE_CONTENTS | spaceKey, type, status |

| Space properties | CONFLUENCE_GET_SPACE_PROPERTIES | id, key |

| Search content | CONFLUENCE_SEARCH_CONTENT | query, spaceKey, limit |

| CQL search | CONFLUENCE_CQL_SEARCH | cql, expand, limit |

| List pages | CONFLUENCE_GET_PAGES | spaceId, sort, limit |

| Get page by ID | CONFLUENCE_GET_PAGE_BY_ID | id (integer) |

| Create page | CONFLUENCE_CREATE_PAGE | title, spaceId, body |

| Update page | CONFLUENCE_UPDATE_PAGE | id, title, body, version |

| Delete page | CONFLUENCE_DELETE_PAGE | id |

| Child pages | CONFLUENCE_GET_CHILD_PAGES | id, limit, sort |

| Page ancestors | CONFLUENCE_GET_PAGE_ANCESTORS | id |

| Page labels | CONFLUENCE_GET_LABELS_FOR_PAGE | id |

| Add label | CONFLUENCE_ADD_CONTENT_LABEL | content ID, label |

| Page versions | CONFLUENCE_GET_PAGE_VERSIONS | id |

| Space labels | CONFLUENCE_GET_LABELS_FOR_SPACE | space ID |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Automate Confluence page creation, content search, space management, labels, and hierarchy navigation via Rube MCP (Composio).

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.