openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > confluence-publish

Publish, create, and update Confluence pages from HTML content.

通信与消息

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.2

统计:⭐ 0 · 25 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:aeincx/confluence-publish

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code, runtime instructions, and requested environment access are consistent with its stated purpose of publishing/upserting Confluence pages and do not request unrelated credentials or network endpoints.

目的

Name and description match the actual behavior: the skill upserts Confluence pages via the Confluence REST API. Requested credentials (EMAIL, DOMAIN, API_TOKEN), workspace filesystem read, and network access restricted to *.atlassian.net are appropriate and expected.

说明范围

SKILL.md and src/main.py only instruct the agent to read page input (from the provided input string or a workspace file), optional .env-style files under the workspace, and to call Confluence API endpoints on Atlassian Cloud. There are no instructions to read unrelated system files, extra env vars, or to contact external endpoints outside *.atlassian.net.

安装机制

This is an instruction-and-python-source skill with no install spec; requirements.txt only lists requests and pytest. No remote downloads, extract steps, or unusual install behaviors are present.

证书

The skill requires exactly EMAIL, DOMAIN, and API_TOKEN (API_TOKEN marked primary), which are the minimal credentials needed to authenticate with Confluence. It does not request unrelated secrets or other service credentials.

持久

The skill is not always-on, does not modify other skills, and requests only read access to files under the workspace and network access to Atlassian Cloud. Autonomous invocation is allowed (platform default) but is not combined with broad or unrelated privileges.

综合结论

This skill appears coherent and implements safe checks (validates that DOMAIN targets *.atlassian.net, enforces workspace-only file reads). Before installing: provide only a Confluence API token with the minimum required privileges, ensure any env_file or page_path you pass is inside your workspace (the skill rejects outside files), and review the included src/main.py if you want to confirm no additional network endpoints are added. Consider t…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「confluence-publish」。简介:Publish, create, and update Confluence pages from HTML content.。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aeincx/confluence-publish/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: confluence-publish
description: Publish, create, and update Confluence pages from HTML content.
required_env_vars:
  - EMAIL
  - DOMAIN
  - API_TOKEN
primary_credential: API_TOKEN
required_credentials:
  - EMAIL
  - DOMAIN
  - API_TOKEN
permissions:
  filesystem:
    read:
      - workspace
  network:
    allow:
      - https://*.atlassian.net
---

# Confluence Publish

Publish, create, and update Confluence pages from HTML content.

## What this skill does

This skill upserts Confluence pages through the Confluence REST API:

- If a page with the same title exists in the target space, it updates the page.
- If no page exists, it creates a new page.

It supports credentials from config, env file, or process environment variables.

## Actions

### `publish_page`

Create or update a Confluence page.

Expected input:
- `input`: HTML content, optionally with metadata JSON in the first HTML comment.
- `config`: runtime options and credentials.

Metadata comment format:

```html
<!--
{"space_key":"SPACE","page_title":"My Page","parent_page_id":"12345"}
-->
<h1>Body content</h1>
```

Alternative config keys:
- `space_key`
- `page_title`
- `parent_page_id` (optional)
- `body_html`
- `page_path` (path to a file in the current workspace containing metadata comment + body)

Credential options:
- `config.credentials.EMAIL`, `config.credentials.DOMAIN`, `config.credentials.API_TOKEN`
- `config.env_file` pointing to a `.env` style file in the current workspace
- Environment vars: `EMAIL`, `DOMAIN`, `API_TOKEN`

Security constraints:
- `config.env_file` and `config.page_path` must resolve to files under the current workspace directory.
- `DOMAIN` and optional `base_url` must target Atlassian Cloud (`https://<tenant>.atlassian.net/wiki`).

Success output includes:
- `status: "success"`
- `operation: "created" | "updated"`
- `page_id`
- `title`
- `url`
- `space_key`

### `test_connection`

Checks Confluence authentication and returns user identity info.

## Example call payload

```json
{
  "action": "publish_page",
  "input": "<!-- {"space_key":"SPACE","page_title":"Demo"} --><h1>Hello</h1>",
  "config": {
    "credentials": {
      "EMAIL": "user@example.com",
      "DOMAIN": "exampletenant",
      "API_TOKEN": "your-token"
    }
  }
}
```