confluence-automation
它能做什么
这个工具可以帮你管理 Confluence 中的信息。你可以创建和更新页面、搜索特定内容、整理空间,还能添加标签,方便之后查找。
适用场景
- ✓当你需要新建一份文档,或更新已有的文档时。
- ✓当你想在 Confluence 中查找特定信息时。
- ✓当你需要整理或列出可用的工作空间时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/confluence-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在 Projects 空间中创建一个关于团队规则的页面,标题为“Team Rules”,内容写上“所有规则都在主文档中。””
每周 5 个新技能,1 分钟读完。
工作原理
这个工具通过名为 Rube MCP 的系统连接到 Confluence。它会先检查连接是否正常,然后使用特定命令完成创建页面、搜索信息或管理空间等任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Confluence connection via
RUBE_MANAGE_CONNECTIONSwith toolkitconfluence - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
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.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitconfluence - If connection is not ACTIVE, follow the returned auth link to complete Confluence OAuth
- 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:
CONFLUENCE_GET_SPACES- List spaces to find the target space ID [Prerequisite]CONFLUENCE_SEARCH_CONTENT- Find existing page to avoid duplicates or locate parent [Optional]CONFLUENCE_GET_PAGE_BY_ID- Get current page content and version number before updating [Prerequisite for updates]CONFLUENCE_CREATE_PAGE- Create a new page in a space [Required for creation]CONFLUENCE_UPDATE_PAGE- Update an existing page with new content and incremented version [Required for updates]CONFLUENCE_ADD_CONTENT_LABEL- Tag the page with labels after creation [Optional]
Key parameters:
spaceId: Space ID or key (e.g.,"DOCS","12345678") -- space keys are auto-converted to IDstitle: Page title (must be unique within a space)parentId: Parent page ID for creating child pages; omit to place under space homepagebody.storage.value: HTML/XHTML content in Confluence storage formatbody.storage.representation: Must be"storage"for create operationsversion.number: For updates, must be current version + 1version.message: Optional change description
Pitfalls:
- Confluence enforces unique page titles per space; creating a page with a duplicate title will fail
UPDATE_PAGErequiresversion.numberset to current version + 1; always fetch current version first withGET_PAGE_BY_ID- Content must be in Confluence storage format (XHTML), not plain text or Markdown
CREATE_PAGEusesbody.storage.valuewhileUPDATE_PAGEusesbody.valuewithbody.representationGET_PAGE_BY_IDrequires a numeric long ID, not a UUID or string
2. Search Content
When to use: User wants to find pages, blog posts, or content across Confluence
Tool sequence:
CONFLUENCE_SEARCH_CONTENT- Keyword search with intelligent relevance ranking [Required]CONFLUENCE_CQL_SEARCH- Advanced search using Confluence Query Language [Alternative]CONFLUENCE_GET_PAGE_BY_ID- Hydrate full content for selected search results [Optional]CONFLUENCE_GET_PAGES- Browse pages sorted by date when search relevance is weak [Fallback]
Key parameters for SEARCH_CONTENT:
query: Search text matched against page titles with intelligent rankingspaceKey: Limit search to a specific spacelimit: Max results (default 25, max 250)start: Pagination offset (0-based)
Key parameters for CQL_SEARCH:
cql: CQL query string (e.g.,text ~ "API docs" AND space = DOCS AND type = page)expand: Comma-separated properties (e.g.,content.space,content.body.storage)excerpt:highlight,indexed, ornonelimit: Max results (max 250; reduced to 25-50 when using body expansions)
CQL operators and fields:
- Fields:
text,title,label,space,type,creator,lastModified,created,ancestor - Operators:
=,!=,~(contains),!~,>,<,>=,<=,IN,NOT IN - Functions:
currentUser(),now("-7d"),now("-30d") - Example:
title ~ "meeting" AND lastModified > now("-7d") ORDER BY lastModified DESC
Pitfalls:
CONFLUENCE_SEARCH_CONTENTfetches up to 300 pages and applies client-side filtering -- not a true full-text searchCONFLUENCE_CQL_SEARCHis the real full-text search; usetext ~ "term"for content body search- HTTP 429 rate limits can occur; throttle to ~2 requests/second with backoff
…
常见问题
什么是 Rube MCP?
它是一个系统,让这个工具能与 Confluence 交互,从而自动完成各项任务。
使用时需要密码吗?
不需要 API 密钥。你只需要设置 Confluence,使其能够连接到 Rube MCP 即可。
如果我想创建一个标题已经存在的页面,会怎样?
创建会失败,因为同一个空间中的每个页面标题都必须是唯一的。
详情
作者的原始描述
Automate Confluence page creation, content search, space management, labels, and hierarchy navigation via Rube MCP (Composio). Always search tools first for current schemas.
热度
- GitHub 星标
- 48k
- 排名
- #4237
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。