New to Claude Skills? Learn how to install them →

tech-leads-club on GitHub

Confluence Assistant

Free

Streamline your Confluence operations with ease.

Get this skill

Free · Opens the source repo

What Confluence Assistant does

The Confluence Assistant skill is designed to facilitate seamless interactions with Atlassian's Confluence platform. It allows users to perform essential operations such as searching for pages, creating new content, updating existing pages, listing spaces, and adding comments. This skill is particularly useful for teams that rely heavily on Confluence for documentation and collaboration, enabling them to manage their content more effectively without navigating through the Confluence interface manually.

When using this skill, users can initiate actions by simply stating their needs in natural language. The skill intelligently interprets these requests and executes the appropriate commands. For example, a user can ask to search for specific documentation, and the skill will utilize the efficient Rovo Search to return relevant pages quickly. This natural language processing capability ensures that users can interact with Confluence in a more intuitive manner, reducing the learning curve associated with the platform.

Configuration is straightforward, as the skill automatically detects the necessary Cloud ID or Confluence URL from the conversation context. If this information is not available, it prompts the user to provide it. This ensures that all operations are conducted within the correct Confluence environment, minimizing errors and enhancing productivity. The skill also emphasizes the use of Markdown for content creation and updates, aligning with Confluence's preferred formatting method.

Overall, the Confluence Assistant skill is ideal for developers, project managers, and team members who frequently engage with Confluence for documentation purposes. It simplifies the process of managing content, making it easier to keep information organized and accessible.

When to use it

Use the Confluence Assistant when you need to interact with Confluence for tasks like searching for documents, creating or updating pages, or managing spaces.

When not to use it

This skill is not suitable for Jira-related tasks or general web searches, and should not be used for creating local files.

What you can build with it

Searching for Documentation

You can ask the assistant to find specific documentation by simply stating your query, such as 'Find the API documentation.'

Creating a New Page

If you need to create a new page, you can instruct the assistant with details like the title and content, and it will handle the creation process.

Updating Existing Content

To update a page, just provide the page ID and the new content, and the assistant will update the page accordingly.

How to install Confluence Assistant

View source

1. Install with the skills CLI

npx skills add tech-leads-club/agent-skills/confluence-assistant --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by tech-leads-club

Confluence Assistant

You are an expert in using Atlassian MCP tools to interact with Confluence.

When to Use

Use this skill when the user asks to:

  • Search for Confluence pages or documentation
  • Create new Confluence pages
  • Update existing Confluence pages
  • Navigate or list Confluence spaces
  • Add comments to pages
  • Get details about specific pages

Configuration

Project Detection Strategy (Automatic):

  1. Check conversation context first: Look for Cloud ID or Confluence URL already mentioned
  2. If not found: Ask the user to provide their Cloud ID or Confluence site URL
  3. Use detected values for all Confluence operations in this conversation

Configuration Detection Workflow

When you activate this skill:

  1. Check if Cloud ID or Confluence URL is already available in the conversation context
  2. If not found, ask: "Which Confluence site should I use? Please provide a Cloud ID (UUID) or site URL (e.g. https://example.atlassian.net/)"
  3. Use the provided value for all operations in this conversation

Cloud ID format:

  • Can be a site URL (e.g., https://example.atlassian.net/)
  • Can be a UUID from getAccessibleAtlassianResources

Workflow

1. Finding Content (Always Start Here)

Use search (Rovo Search) first - it's the most efficient way:

search("natural language query about the content")
  • Works with natural language
  • Returns relevant pages quickly
  • Most efficient first step

2. Getting Page Details

Depending on what you have:

  • If you have ARI (Atlassian Resource Identifier): fetch(ari)
  • If you have page ID: getConfluencePage(cloudId, pageId)
  • To list spaces: getConfluenceSpaces(cloudId, keys=["SPACE_KEY"])
  • For pages in a space: getPagesInConfluenceSpace(cloudId, spaceId)

3. Creating Pages

createConfluencePage(
  cloudId,
  spaceId="123456",
  title="Page Title",
  body="# Markdown Content\n\n## Section\nContent here..."
)

Always use Markdown in the body field — never HTML.

4. Updating Pages

updateConfluencePage(
  cloudId,
  pageId="123456",
  title="Updated Title",
  body="# Updated Markdown Content\n\n..."
)

Always use Markdown in the body field — never HTML.

Best Practices

✅ DO

  • Always use Markdown for page body field
  • Use search first before other lookup methods
  • Use natural language in search queries
  • Validate space exists before creating pages
  • Include clear structure in page content (headings, lists, etc.)

⚠️ IMPORTANT

  • Don't confuse:
    • Page ID (numeric) vs Space Key (string)
    • Space ID (numeric) vs Space Key (CAPS_STRING)
  • CloudId can be URL or UUID - both work
  • Use detected configuration - Check conversation context or ask user for Cloud ID / URL
  • ARI format: ari:cloud:confluence:site-id:page/page-id

Examples

Example 1: Search and Update a Page

User: "Find the API documentation page and add a new section"

1. search("API documentation")
2. getConfluencePage(cloudId, pageId="found-id")
3. updateConfluencePage(
     cloudId,
     pageId="found-id",
     title="API Documentation",
     body="# API Documentation\n\n## Existing Content\n...\n\n## New Section\nNew content here..."
   )

Example 2: Create a New Page in a Space

User: "Create a new architecture decision record"

1. getConfluenceSpaces(cloudId, keys=["TECH"])
2. createConfluencePage(
     cloudId,
     spaceId="space-id-from-step-1",
     title="ADR-001: Use Microservices Architecture",
     body="# ADR-001: Use Microservices Architecture\n\n## Status\nAccepted\n\n## Context\n...\n\n## Decision\n...\n\n## Consequences\n..."
   )

Example 3: Find and Read Page Content

User: "What's in our onboarding documentation?"

1. search("onboarding documentation")
2. getConfluencePage(cloudId, pageId="id-from-results")
3. Summarize the content for the user

Output Format

When creating or updating pages, use well-structured Markdown:

# Main Title

## Introduction

Brief overview of the topic.

## Sections

Organize content logically with:

- Clear headings (##, ###)
- Bullet points for lists
- Code blocks for examples
- Tables when appropriate

## Key Points

- Point 1
- Point 2
- Point 3

## Next Steps

1. Step 1
2. Step 2
3. Step 3

Important Notes

  • Markdown is mandatory — never use HTML or other formats in body
  • Search first — most efficient way to find content
  • Validate IDs — ensure space/page IDs exist before operations
  • Natural language — Rovo Search understands intent, not just keywords
  • ID types — don't confuse page ID (numeric) vs space key (string) vs space ID (numeric)

Frequently asked questions about Confluence Assistant

Similar skills