360 Secure SkillHub
360 安全技能中心

Confluence Integration

用纯 shell 和 curl 封装 Confluence REST API,支持 CQL 搜索、页面查询/创建/更新(含追加内容与子页面)、空间列表和附件上传;需配置 Confluence 地址与账号凭据,无 Python 依赖。

lukaizj
lukaizj
热度 35.03
最近更新 2026-05-11 17:45:06
分类:知识依赖:代码执行 / 第三方 API / 读写文件应用场景:笔记整理 / 工作流 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lukaizj-confluence
Metadata
name
Confluence Integration
description
Confluence REST API integration via curl - lightweight solution without Python dependencies. Supports search, page operations, and file attachments.
homepage
https://github.com/lukaizj/confluence-integration-skill
tags
["confluence","wiki","documentation","rest-api","curl"]
requires
{"env":["CONFLUENCE_URL","CONFLUENCE_USER","CONFLUENCE_PASS"]}
files
["confluence.sh"]

Confluence Integration

Confluence integration skill for OpenClaw. Manage wiki pages, spaces, and content via REST API using pure curl/shell.

Capabilities

  • Search Confluence pages using CQL
  • Get, create, and update pages
  • List and view spaces
  • Upload attachments to pages
  • Create child pages

Setup

  1. Create a Confluence API token or use password
  2. Get your Confluence base URL
  3. Configure environment variables

Environment Variables

Variable Required Description
CONFLUENCE_URL Yes Your Confluence base URL (e.g., https://your-company.atlassian.net)
CONFLUENCE_USER Yes Your Confluence username or email
CONFLUENCE_PASS Yes Your password or API token

Security Note: These credentials are only used locally and never exposed or stored externally.

Usage Examples

Check connection to Confluence

Search for pages containing "kyuubi"

Get page with ID 123456

Create a new page in space DAT with title "Project Notes"

Update page 123456 with new content

Upload attachment to page 123456

Commands

check

Verify connection to Confluence instance.

search

Search pages using Confluence Query Language (CQL).

text ~ "keyword"
space = "DAT" AND text ~ "spark"
type = page

page get

Get a page by ID. Returns title, content, space, version.

page create

Create a new page. Options:

  • --space: Space key (required)
  • --title: Page title (required)
  • --body: Page content (required)
  • --parent: Parent page ID for child pages

page update

Update page content. Options:

  • --body: New content
  • --title: New title
  • --append: Append to existing content

page attach

Upload file attachment to a page.

space list

List all accessible spaces.

CQL Examples

Search Description
text ~ "kyuubi" Pages containing "kyuubi"
space = "DAT" Pages in DAT space
type = page All pages
text ~ "spark" AND space = "DEV" Pages about spark in DEV space