Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

confluenceConfluence 文档协作

Agent Skill

confluence 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,277

周安装

93

GitHub Stars

公开资料未说明

下载量

729
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:confluence(Confluence 文档协作)
来源仓库:https://github.com/jorgemuza/orbit
仓库路径:skills/confluence
安装命令:
npx skills add https://github.com/jorgemuza/orbit --skill confluence
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jorgemuza/orbit --skill confluence

简介

confluence 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中获取信息的场景。
  • 通过关键词输入和来源仓库筛选来组织和呈现信息。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • confluence 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Confluence with orbit CLI

Manage Confluence pages, publish markdown documentation, and control page layout using the orbit CLI. Supports Confluence Cloud and Server/Data Center via REST API with multi-profile support and 1Password secret resolution.

Prerequisites

  1. orbit CLI installed — if which orbit fails, install with:

- macOS/Linux (Homebrew): brew install jorgemuza/tap/orbit - macOS/Linux (script): curl -sSfL https://raw.githubusercontent.com/jorgemuza/orbit/main/install.sh | sh - Windows (Scoop): scoop bucket add jorgemuza https://github.com/jorgemuza/scoop-bucket && scoop install orbit

  1. A profile with a confluence-cloud or confluence-server service configured in ~/.config/orbit/config.yaml
  2. Valid credentials (API token for Cloud, PAT for Server) — can be stored in 1Password with op:// prefix
  3. For Cloud: auth type is basic with email as username and API token as password

Quick Reference

All commands follow the pattern: orbit -p <profile> confluence <command> [flags]

For full command details and flags, see references/commands.md. For Confluence storage format (XHTML) details, see references/storage-format.md.

Core Workflows

Viewing Pages

# View page details
orbit -p myprofile confluence page 473676972036

# View as JSON (includes body content)
orbit -p myprofile confluence page 473676972036 -o json

# List child pages
orbit -p myprofile confluence children 473676972036

# Show full page hierarchy (ancestors + descendants tree)
orbit -p myprofile confluence hierarchy 473676972036

# Deeper tree (default depth is 2)
orbit -p myprofile confluence hierarchy 473676972036 --depth 5

# JSON tree output
orbit -p myprofile confluence hierarchy 473676972036 -o json

Searching Pages

# Search by space
orbit -p myprofile confluence search --space FO

# Search by title (fuzzy match)
orbit -p myprofile confluence search --space FO --title "Architecture"

# Search by label
orbit -p myprofile confluence search --space FO --label design

# Full-text search
orbit -p myprofile confluence search --space FO --text "deployment pipeline"

# Raw CQL query
orbit -p myprofile confluence search --cql 'space=FO AND label=design AND type=page'

# Increase result limit (default 25)
orbit -p myprofile confluence search --space ISMS --limit 100

Creating Pages from Markdown

When creating a page from a markdown file, the CLI automatically converts it to Confluence storage format (XHTML). The converter handles headings, lists, tables, code blocks, blockquotes, inline formatting, and images.

# Create page from markdown file
orbit -p myprofile confluence create --space FO --parent 473677299713 \
  --title "My New Page" --file docs/overview.md

# Create page with inline body (storage format XHTML)
orbit -p myprofile confluence create --space FO --parent 473677299713 \
  --title "Quick Page" --body "<p>Hello world</p>"

Pages are automatically created with wide width (full-width layout).

Updating Existing Pages

When --file is provided, the update command automatically reads the title from frontmatter, syncs labels from confluence_labels, prepends page properties from confluence_properties, and sets full-width layout — matching the publish command behavior. Use --title to override the frontmatter title.

# Update page from markdown (title, labels, properties auto-synced)
orbit -p myprofile confluence update 473676972036 --file docs/overview.md

# Override title explicitly
orbit -p myprofile confluence update 473676972036 \
  --title "Custom Title" --file docs/overview.md

# Update with inline storage format
orbit -p myprofile confluence update 473676972036 --body "<p>New content</p>"

Publishing a Directory of Markdown Files

The publish command recursively converts an entire directory of markdown files to Confluence pages, preserving the folder hierarchy:

  • INDEX.md files become the parent page for their directory
  • Other .md files become child pages under the directory's parent
  • Subdirectories are processed recursively
  • Page titles come from frontmatter title:, first # heading, or filename
  • Files with confluence_ignore: true are skipped; if previously published, the Confluence page is deleted. When an INDEX.md is ignored, the entire subdirectory is skipped.
  • Upsert behavior: If a page has no confluence_page_id in frontmatter, orbit searches by title first. If create fails due to a title conflict (e.g. special characters like & in the title), it falls back to listing the parent's children and updating the matching page. After success, confluence_page_id is written to frontmatter for future runs.
  • All pages are set to full-width layout on every create and update.
# Publish entire docs directory
orbit -p myprofile confluence publish ./docs --space FO --parent 473677299713

# Preview what would be created (no API calls)
orbit -p myprofile confluence publish ./docs --space FO --parent 473677299713 --dry-run

Diagram Rendering

Fenced code blocks with diagram languages are automatically rendered as images via kroki.io — no Confluence plugins required. Supported languages: mermaid, plantuml, graphviz, dot, d2, ditaa, erd, nomnoml, svgbob, vega, vegalite, wavedrom, pikchr, structurizr, excalidraw, c4plantuml.

graph LR A-->B A-->C

This renders as a PNG image (max 600px wide, 800px tall — auto-scaled) with a clickable link to the full-resolution image. Regular code blocks (python, go, bash, etc.) are unaffected. If Kroki rejects a diagram (syntax error), it falls back to a syntax-highlighted code block.

Mermaid diagrams are auto-sanitized before rendering to fix common Kroki compatibility issues:

  • <br/> tags stripped (replaced with .)
  • Parenthesized suffixes in participant aliases converted: Worker (queue)Worker - queue
  • Trailing () on participant names removed
  • Port numbers after colons removed: API:8000API
  • Reverse arrows flipped: Client<<--API: msgAPI-->>Client: msg

When writing Mermaid diagrams for Confluence publishing, avoid:

  • HTML tags (<br/>) in participant names or notes
  • Colons in participant alias text (e.g., API:8000)
  • Parentheses in participant aliases (e.g., Worker(queue))
  • Function-call syntax in aliases (e.g., dispatch())
  • Reverse arrows (<<--) — Mermaid only supports left-to-right arrows
  • ASCII box-drawing characters — use proper Mermaid syntax instead

Exporting Pages

# Export page as markdown (default)
orbit -p myprofile confluence export 12345

# Export to a directory
orbit -p myprofile confluence export 12345 --format markdown --output docs/

# Export raw storage format
orbit -p myprofile confluence export 12345 --format storage --output backup/

Setting Page Width

# Set single page to wide
orbit -p myprofile confluence set-width 473676972036

# Set page and all children to wide
orbit -p myprofile confluence set-width 473676972036 --recursive

# Set to fixed width
orbit -p myprofile confluence set-width 473676972036 --width fixed

Markdown Frontmatter Tracking

When publishing or converting markdown files for Confluence, track the mapping between local files and Confluence pages using YAML frontmatter. After creating or updating a page, update the source markdown file's frontmatter with:

---
title: "My Page Title"
confluence_ignore: false
confluence_page_id: "473676972036"
confluence_url: "https://mysite.atlassian.net/wiki/spaces/FO/pages/473676972036/My+Page+Title"
---

This enables:

  • Re-running updates without needing to look up page IDs
  • Tracking which files have been published
  • Building scripts that sync local changes to Confluence
  • Excluding files from Confluence with confluence_ignore: true (deletes previously published pages)

When the user asks to publish or sync markdown files to Confluence:

  1. Run the orbit command to create/update the page
  2. Capture the page ID and URL from the output
  3. Update the markdown file's frontmatter with confluence_page_id and confluence_url
  4. If the frontmatter doesn't exist, add it at the top of the file

Example workflow for syncing a file:

# If confluence_page_id exists in frontmatter, update (title auto-read from frontmatter):
orbit -p myprofile confluence update 473676972036 --file docs/overview.md

# If no confluence_page_id, create new:
orbit -p myprofile confluence create --space FO --parent 473677299713 \
  --title "Overview" --file docs/overview.md
# Then update the frontmatter with the returned page ID and URL

Page Properties & Labels

The publish command supports Confluence Page Properties macros and labels via frontmatter, enabling dynamic Page Properties Report tables (like the ISMS Policies page pattern).

Labels (Tags)

Add confluence_labels to frontmatter to tag pages. Labels are applied after each page is created or updated during publish.

---
title: "My Policy"
confluence_labels:
  - ai-process
  - foundation
---

Page Properties (details macro)

Add confluence_properties to frontmatter to generate a Confluence Page Properties macro at the top of the page. This creates a structured metadata block that can be queried by Page Properties Report macros on other pages.

---
title: "Compounding Engineering & System Evolution"
confluence_properties:
  id: status
  fields:
    Owner: AI Tooling Guild
    Classification: Internal
    Status: "{status:Green|approved}"
    Reviewed on: 2026-03-06
    Approved on: 2026-03-06
---
  • id -- sets the macro ID (used by detailssummary reports to target specific property blocks)
  • fields -- ordered key-value pairs rendered as a two-column table inside the macro
  • Values matching {status:Color|Text} are converted to status badge macros (emoji shortcodes like :green_circle: Green are also supported)
  • Values matching YYYY-MM-DD are converted to Confluence <time> date macros
  • Other values are rendered as plain text

Page Properties Report (detailssummary macro)

Add a directive in your markdown to generate a dynamic table that pulls Page Properties from labeled pages. Two formats are supported:

HTML comment format (full control):

<!-- confluence:properties-report cql="label = 'ai-process' and space = currentSpace()" firstcolumn="Document" headings="Status, Classification, Reviewed on" -->

Shorthand format:

{properties-report: label="ai-process", columns="Status, Classification, Reviewed on"}

Parameters:

  • cql -- CQL query to find pages (e.g., label = "policy" and space = currentSpace())
  • label -- shorthand for CQL: generates label = "value" and space = currentSpace()
  • firstcolumn -- name of the first column (defaults to "Title")
  • columns / headings -- comma-separated list of property names to show as columns
  • sortBy -- optional column to sort by

Complete Example

Child page (e.g., overview.md):

---
title: Overview & Philosophy
confluence_labels:
  - ai-process
confluence_properties:
  id: status
  fields:
    Owner: AI Tooling Guild
    Classification: Internal
    Status: "{status:Green|approved}"
    Reviewed on: 2026-03-06
---

Index page (e.g., INDEX.md):

---
title: AI Development Process
confluence_labels:
  - ai-process
---

# AI Development Process

<!-- confluence:properties-report cql="label = 'ai-process' and space = currentSpace()" firstcolumn="Document" headings="Status, Classification, Owner, Reviewed on" -->

<!-- confluence:ignore-start -->

| Document | Version | Summary |
|----------|---------|---------|
| [Overview & Philosophy](./overview.md) | v2.0 | Core principles, four layers |

<!-- confluence:ignore-end -->

On Confluence, only the Properties Report macro is rendered (the static table is ignored). In markdown viewers (GitHub, local), the static table is shown alongside the HTML comment directives (which are invisible).

Markdown-to-Confluence Conversion

The converter handles the following transformations:

MarkdownConfluence Storage Format
# Heading (first one)Skipped -- Confluence shows the page title
## Heading to ###### Heading<h2> to <h6>
**bold**<strong>
` code `<code>
~~strike~~<del>
- bullet / * bullet<ul><li>
1. numbered<ol><li>
> blockquoteInfo panel macro
``` `lang ``` code blocksCode macro with language
`\table \rows \`<table> with <thead>
![alt](url)<ac:image>
[text](url)<a href> (relative.md links resolved to Confluence page links)
--- horizontal rules<hr />
YAML frontmatterStripped
**Key**: Value metadata linesTwo-column table (gray label column)
<!-- confluence:toc-start/end -->TOC section replaced with Confluence toc macro
confluence_properties frontmatterPage Properties (details) macro
<!-- confluence:properties-report -->Page Properties Report (detailssummary) macro
{properties-report:...}Page Properties Report (detailssummary) macro
<!-- confluence:ignore-start/end -->Content between markers is skipped (not sent to Confluence)

Key behaviors to communicate to users:

  • The first # heading is always skipped because Confluence already displays the page title
  • Relative markdown links (.md, ./) are resolved to Confluence internal page links when publishing a directory (using the publish command). The link map maps relative paths to page titles, generating <ac:link> macros. When converting a single file without a link map, relative links fall back to plain text
  • TOC sections wrapped in <!-- confluence:toc-start --> / <!-- confluence:toc-end --> directives are replaced with Confluence's built-in TOC macro. Supports params: maxLevel, minLevel, style, outline, printable (e.g., <!-- confluence:toc-start maxLevel=2 -->). Section numbering (outline) defaults to false to avoid duplicate numbering when the markdown TOC already uses numbered lists
  • Code blocks and tables use full-width layout
  • Document metadata lines (**Key**: Value) right after frontmatter are converted to a styled two-column table with gray labels
  • Code blocks with language hints get syntax highlighting via the code macro
  • confluence_labels in frontmatter applies labels/tags to pages during publish
  • confluence_properties in frontmatter generates a Page Properties macro prepended to page content
  • Properties Report directives generate dynamic tables querying labeled pages
  • <!-- confluence:ignore-start --> / <!-- confluence:ignore-end --> blocks are stripped during conversion — content inside is completely skipped. This is useful for INDEX pages that need static markdown tables for GitHub/local rendering alongside dynamic Properties Report macros for Confluence. Ignore directives inside code blocks are treated as literal text (not processed)

Important Notes

  • Wide width by default -- All pages created via orbit are automatically set to full-width layout. Use set-width --width fixed to revert.
  • Cloud vs Server -- Use service type confluence-cloud for Atlassian Cloud (requires /wiki/ prefix in API paths, handled automatically). Use confluence-server for Data Center.
  • Auth for Cloud -- Basic auth with your email as username and an API token (not your password) as the password field.
  • 1Password integration -- Credentials in config can use op://vault/item/field and are resolved at runtime. Run orbit auth once to resolve and cache all secrets for 8 hours (single biometric prompt). Use orbit auth clear to wipe the cache.
  • Dry run before publish -- Always use --dry-run first when publishing a directory to preview the page hierarchy before making API calls.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.85%
按下载量换算276

Claude

30.3%
按下载量换算221

Cursor

18.38%
按下载量换算134

Gemini CLI

8.56%
按下载量换算62

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills