Index of every page on this site: llms.txt
All skills
wghust avatar

/confluence-distill

@e591e3f
by wghustwghust/stark-skills5 stars
Run it yourself

Read-only Confluence search and distillation into a new multi-file Agent Skill package (SKILL.md + references/ + optional scripts/). Use when the user wants to search Confluence by topic (e.g. alerts, runbooks), distill pages into a new skill, generate a skill from wiki docs, Confluence 蒸馏, 从 Confluence 生成 skill, CQL 搜索 Confluence, 告警文档转 skill, Membrane Confluence 只读拉取. 从 Confluence 只读检索主题页面,**策展式**蒸馏为多文件 Cursor/Claude Skill 包(非整页粘贴);支持直连(基址 + API Token)或 Membrane CLI(connectionId)二选一。禁止在蒸馏流程中创建/编辑/删除 Confluence 内容。

Use this Skill: https://skilld.dev/gh/wghust/stark-skills/confluence-distill

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

USAGE.md

≈706 tokens on demand. Your agent reads this file only when SKILL.md points to it.

confluence-distill — 使用说明

用途

在对话里让代理只读搜索你的 Confluence,把某主题(如告警、发布流程)的多篇页面蒸馏成一个新的 Agent Skill 目录:根 SKILL.md + references/(+ 可选 scripts/),符合 vercel-labs/agent-skills 的常见结构。

蒸馏产物是 策展后的规范与流程(references/ 正文),不是 Confluence 整页粘贴:与主题无关的长列表会省略或放入带警告的 Appendix;多页冲突会出现在 「多源差异与待确认」(或同名英文小节)中,并链回 source-map.md 里的原文链接。Wiki 可能过时或写错,关键步骤请在 Confluence 中复核。

如何描述主题边界(建议)

  • 用一句话说明下游 Skill 要解决什么问题(例如「手机主站 Git 分支从开发到发布的命名与合并顺序」)。
  • 可选:列出 in scope / out of scope(例如「不要收录各版本 JIRA 工作量表」),减少无关内容进入正文。
  • 建议显式给出 space 范围 和 页数预算(默认 20,单批建议不超过 50)。
  • 如果你说“越全越好”,代理会先要求你确认分批方案(按空间或子主题),不会直接全量抓取。

两种连网方式(二选一)

直连 REST

  • 准备:实例基址(Cloud 常见为 https://<site>.atlassian.net/wiki)、API Token、Cloud 下还需 Atlassian 账户邮箱(Basic Auth 用户名)。
  • 不要把 Token 写进仓库;可用环境变量或仅在当前对话中提供。

Membrane CLI

  • 若团队已用 Membrane Confluence 技能 完成登录与连接,可提供 connectionId,由代理使用 membrane request 等只读方式访问 REST。
  • 蒸馏流程不要使用其中的创建/更新/删除类 action。

常见问题

401 / 403

  • 检查基址是否包含正确的 /wiki / REST 前缀;Token 是否有效;账户对目标空间是否有读权限;Membrane 连接是否仍有效。

速率限制

  • 缩小 CQL 范围、降低并发、减少拉取页数上限;必要时加重试间隔。
  • 推荐从 1-2 请求/秒起步;遇到 429 时按 2s/4s/8s/16s(上限 30s)退避重试。

CQL 报错

  • 不同 Confluence 版本字段可能不同,以贵司实例与管理文档为准,先在小范围试搜。

安全

  • 禁止将 Token、connectionId 敏感输出提交到 git。
  • 生成的下游 Skill 里,scripts/ 只应含占位符示例,不含真实机密。
  • Confluence 页面正文可能包含凭据/PII;蒸馏时应做最小必要摘录,必要处用 [REDACTED] 并保留 source-map 可追溯链接。

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning7mo3 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    This skill searches and distills Confluence documentation into local agent skill packages. While it includes strong warnings against credential leakage and emphasizes read-only operations, it is inherently vulnerable to indirect prompt injection from the documentation it processes.

  • Socket7mo

    No alerts

  • Snyk7mo

    Risk: MEDIUM · 2 issues

Signed by skilld at e591e3f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Dormantupdated 8 months ago

README badge

README badge for wghust/stark-skills/confluence-distill