Token导航 LogoToken导航

Agent Skill · 效率

dr-context-pipeline(博士上下文管道)

dr-context-pipeline 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

dr-context-pipeline 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 5,005。

总安装 11,925周安装 507GitHub Stars 公开资料未说明下载 4,178核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.8.0

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:dr-context-pipeline(博士上下文管道)
来源仓库:https://github.com/daniel-refahi-ikara/dr-context-pipeline
安装命令:
openclaw skills install dr-context-pipeline
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install dr-context-pipeline

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

博士上下文管道用于补充效率相关能力,支持内存路由与压缩。适合在 OpenClaw 中检索相关记忆片段并打包为引用上下文。采用确定性内存布局,支持用户消息的路由与策略匹配。安装前建议确认是否会触发文件读写或外部服务调用。dr-context-pipeline 属于效率类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install dr-context-pipeline;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

dr-context-pipeline 怎么安装?

在终端执行 openclaw skills install dr-context-pipeline。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

dr-context-pipeline 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

dr-context-pipeline 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

dr-context-pipeline 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

dr-context-pipeline 用的人多吗?

公开数据是累计安装 11,925 次,近一周安装 507 次,下载 4,178 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

dr-context-pipeline 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
dr-context-pipeline

博士上下文管道 · 本页

11,925—只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
dr-context-pipeline
description
Deterministic memory/context pipeline for agents: route a user message, retrieve relevant memory snippets, compress into a cited Context Pack (sources are snippet IDs), lint, and fall back safely. Prerequisite: a file-based memory layout with memory/always_on.md + topic files (works out-of-the-box with dr-memory-foundation). Use when building or standardizing agent memory, reducing prompt bloat, implementing retrieval+compression, creating a context pack, designing a memory pipeline, adding lint gates, or setting up golden regression tests for agent context. After install, users can simply say: Apply dr-context-pipeline as default behavior.

DR Context Pipeline (retrieval + compression + lint)

Use this skill to standardize how an agent loads memory into its prompt for correctness.

Prerequisites

  • A file-based memory layout that includes memory/always_on.md (policy header + topic catalog) and topic files under memory/topics/.
  • Recommended: install dr-memory-foundation (or implement an equivalent structure).

Quick install commands (copy/paste)

These commands work from anywhere because they set $WORKSPACE (defaults to ~/.openclaw/workspace). Rerun them whenever you need to re-apply the pipeline:

export WORKSPACE=${WORKSPACE:-~/.openclaw/workspace}
cd "$WORKSPACE"
clawhub install dr-context-pipeline --version X.Y.Z --dir skills
python3 ./skills/dr-context-pipeline/scripts/install_pipeline.py --target "$WORKSPACE/context_pipeline"
ls -1 "$WORKSPACE/context_pipeline"
git -C "$WORKSPACE" diff -U20 AGENTS.md | cat
python3 ./skills/dr-context-pipeline/scripts/validate_pipeline.py --context-root "$WORKSPACE/context_pipeline"
python3 ./skills/dr-context-pipeline/scripts/memory_watchdog.py --freshness-minutes 240 --min-bytes 200
git -C "$WORKSPACE" status -sb context_pipeline AGENTS.md
echo "CONTEXT PIPELINE APPLY COMPLETE"

Paste every command’s output. If any step fails or the watchdog reports a gap, stop and reply NOT EXECUTED: <reason>.

Apply to this workspace

When the user asks to apply this skill (for example: Apply dr-context-pipeline as default behavior), follow this exact order and paste the evidence for every step: All commands assume you’ve set WORKSPACE=${WORKSPACE:-~/.openclaw/workspace} and are running from that directory.

  1. Lay down the files — run python3 ./skills/dr-context-pipeline/scripts/install_pipeline.py --target context_pipeline (adds/updates the workspace copy from assets/context_pipeline/). Keep the script output in the transcript (hash summary + file count).
  2. Show the tree — ls -1 context_pipeline so the user sees which files are now present.
  3. Patch AGENTS.md — read the file, insert/refresh the “Context Pipeline” instructions, and include a git diff -U20 AGENTS.md (or equivalent) snippet in your reply. Preserve everything else.
  4. Validate — run python3 ./skills/dr-context-pipeline/scripts/validate_pipeline.py --context-root context_pipeline and paste the PASS/FAIL summary. If it fails, stop and report NOT EXECUTED with the error.
  5. Run the memory watchdog — python3 ./skills/dr-context-pipeline/scripts/memory_watchdog.py --freshness-minutes 240 --min-bytes 200 (tune as needed). Paste the JSON output; if status ≠ OK, stop and reply NOT EXECUTED: memory gap after quoting the issues.
  6. Final state — show git status -sb context_pipeline AGENTS.md (or git status -sb if cleaner) so the user can see what changed.
  7. Success banner — echo "CONTEXT PIPELINE APPLY COMPLETE" so the transcript clearly shows the run finished cleanly.

This apply flow must be idempotent: if the files already match and AGENTS.md already contains the section, the diff should be empty but you still run the installer + validator and show their outputs.

Memory commit / continue workflow

  • When Daniel says “memorize this” (or similar), run the checklist in references/MEMORY_COMMIT.md (daily log, now, open-loops, topic file, MEMORY.md) and confirm which files changed.
  • When he says “let’s continue” after a reset, reload memory/now.md, open-loops, and the relevant topic files so you can summarize where things left off before acting.

Runtime evidence contract (non-optional)

Every single task must follow the Runtime Evidence Checklist in references/RUNTIME_CHECKLIST.md:

  • Emit the Retrieval Bundle JSON that conforms to references/schemas/retrieval_bundle.schema.json.
  • Emit the Context Pack JSON that conforms to references/schemas/context_pack.schema.json (or explicitly state the lint failure and fall back to raw snippets).
  • List which snippet IDs are being passed forward.
  • Only then provide the user-facing reasoning/result.
  • If any step fails, reply NOT EXECUTED: <reason> and stop.

Casual prompts (“go for it”, “review it”, etc.) do not suspend this contract. If the user wants a lighter interaction they can explicitly waive it.

Operating procedure (default)

1) Load the always-on policy + topic catalog (your memory/always_on.md). 2) Route the message deterministically (task type + caps) using references/router.yml. 3) Retrieve top relevant snippets from your memory store; emit a Retrieval Bundle JSON (see schema). 4) Compress Retrieval Bundle → Context Pack JSON using references/compressor_prompt.txt. - IMPORTANT: Context Pack sources MUST be snippet IDs only (S1, S2, …). 5) Lint the Context Pack. If lint fails, skip compression and fall back to raw retrieved snippets. 6) Call the main reasoning model with: always-on policy header + Context Pack (+ raw snippets for high-stakes tasks) + user message.

What to read / use

  • Router + caps: references/router.yml
  • Compressor prompt: references/compressor_prompt.txt
  • Retrieval Bundle schema: references/schemas/retrieval_bundle.schema.json
  • Context Pack schema: references/schemas/context_pack.schema.json
  • Runtime checklist: references/RUNTIME_CHECKLIST.md
  • Golden tests starter suite: references/tests/golden.json
  • Installer/validator/watchdog scripts: scripts/install_pipeline.py, scripts/validate_pipeline.py, scripts/memory_watchdog.py

Notes

  • Keep “always-on policy header” tiny (invariants only). Put everything else behind retrieval.
  • If you need deterministic snippet IDs, follow the stable ordering guidance in references/deterministic_ids.md.

平台分布

OpenClaw

74.2%
按下载量换算3,100

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills