Community编程与开发github.com

知识自动化

使用经过验证的工作器、私有存储库权限以及端到端的定时执行,创建定时的知识摄取自动化。当被要求安排或修复来自任何来源的定期摄取时使用。

知识自动化 是什么?

此技能能够为AI Agent(如Claude Code、Codex等)创建并维护可靠的定时知识摄取自动化管道。它适用于需要定期从外部来源(如文档库、数据库)摄取知识并将其存入私有知识库的场景。技能强调通过“授权委托”机制建立持久工作器,而非临时脚本,以确保工作器对私有知识库拥有合法且持久的访问权限。它支持OpenClaw 2026.9.8及兼容平台,通过验证后的工作器(子会话)配合主机自动化(调度器)实现端到端定时执行。此外,技能详细规定了作业消息必须包含预检、增量摄取、工作流验证及失败处理等步骤,并强制要求通过调度器实际运行来验证完整路径,而非仅测试交互式工具。它还能处理权限丢失后的恢复流程,避免自我授权带来的安全风险。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/knowledge/skills/knowledge-automation

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

知识自动化 是做什么的?

  1. 识别作业。 在创建替代方案之前检查现有自动化。 确认已授权的来源、目标代理/存储库、执行频率和时区。 验证正在运行的OpenClaw安装及其当前的自动化CLI/模式; PATH上的不同CLI可能针对不兼容的安装。最后确定 目标作业以及任何已识别的检查点。

  2. 建立工作器的权限。 对于所有者私有的摄取,请使用 经过验证的OpenClaw 2026.9.8组合:一个操作员编写的命名会话 自动化,目标是一个保留的、真正由所有者委托的OpenClaw会话。 从已授权的所有者对话中,使用 sessions_spawn,参数为 runtime: "subagent"、cleanup: "keep",且无收集器模式。让子 会话检查 knowledge_status 以获取目标范围/代理/存储库,并在可用时读取已知的现有记录;保留其返回的会话密钥。这是 持久化的摄取工作器,而非内部研究子代理。 仅操作员调度不授予私有访问权限。一个全新的命名 会话、分离的 current 运行或无头脚本不能替代 委托。最终应保留一个已证明具有目标访问权限的工作器。

  3. 创建主机自动化。 使用已验证安装支持的 操作员CLI(openclaw automations add,或编辑目标现有作业), 包含一条代理回复消息和 --session "session:<返回的会话密钥>"。 请求者作用域的自动化创建无法定位另一个对话的工作空间。 如果操作员调度不可用,则报告该阻塞;绝不 伪造所有者上下文或编辑存储的权限凭证。设置请求的 调度/时区、足够的超时时间以及工作流程的有限工具允许列表。 发现调度运行时的实际执行工具,而非 假设交互式工具名称。回读目标和作业配置。

    作业消息必须在每次运行时要求:

    • 在获取或写入之前对知识作用域/访问进行预检。
    • 使用源的现有已授权凭证路径进行全新获取。
    • 在适当的情况下使用 knowledge-source-ingest 进行增量覆盖/协调,然后使用 knowledge-ingest 或 knowledge-meeting-ingest 进行内容摄取。
    • 在提交其检查点之前对所选工作流程进行验证; 在失败时保留可重试的工作和先前的检查点。
    • 对于未解决的失败,在第一行输出 AUTOMATION_FAILED,后跟 原因。NO_REPLY 用于成功的无变更运行,而非隐藏的错误。
  4. 证明预定路径。 通过调度器运行,而不仅仅是交互式 工具。要求提供终端运行收据、正确的存储库访问、已验证的已保存 覆盖范围和检查点回读。使用不变的源内容重复运行并 验证没有重复发布。同时确认实际的定时器触发;仅创建 作业或列出源并不能证明摄取。在替换 作业时,在验证后禁用旧作业,并确认只有一个作业处于活动状态。 明确报告任何未经测试的发布或重复行为。

  5. 报告操作和限制。 提供作业、执行频率、下次运行和已验证的 结果。分别检查结果投递和失败告警:静默投递 (delivery.mode: "none") 将结果留在自动化历史中,并不 意味着主动通知。父级重置/移除/重新分配会撤销 委托;工作器重置或移除也可能导致访问失效。检查 有效的重置/保留策略。权限丢失后,停止写入和检查点 推进;仅通过新授权的所有者委托和 支持的重定向恢复,绝不自授权。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相关技能