DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Arid-G1FT /

Arid-G1FT/ctx-handoff-sentinel

仅 Topic 仓库

Behavioral context self-check before a handoff: DeepSeek Harness plugin + portable Agent Skill for Claude Code / Codex.

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@81fe7228

Context handoff sentinel

Decide whether a conversation can still prove itself — from behavior, not from turn count.

English · 中文

已在 DSH 插件市场上架 · 市场页面 · 分类 session


安装(DSH 插件市场) · Install from the market

插件已上架 awesome-dsh-plugin(DSH 市场的数据源):

# 把 desktop 换成你自己的 profile 名
dsh plugin --profile desktop add github:Arid-G1FT/ctx-handoff-sentinel#path:/dsh-plugin

或者打开 DSH → 插件 → 发现,搜索 ctx-handoff-sentinel / 「交接哨兵」一键安装。装完完全重启 DSH。


What it is · 是什么

Two forms of the same check:

DeepSeek Harness plugin 原生插件:哨兵条、/guard check、fork 子代理后台自检(压缩 / 上下文压力 / 步数触发),判红时主动问是否写交接单
Portable Agent Skill Claude Code / Codex 通用 SKILL.md + 两个零依赖 Python 脚本,用 git 工作区做证据核对

Both ask the same three questions and grade the answer the same way:

A. Can it recite the immovable constraints? B. Can it list the changed files with reasons? C. Can it give the next step and a runnable verify command?

The model's own verdict is the baseline. Evidence only overrides it on hard contradictions — a few omitted scratch files never turn a healthy conversation yellow.

Get it · 获取

Clone + one-command installer (macOS / Linux / Windows):

git clone https://github.com/Arid-G1FT/ctx-handoff-sentinel.git
cd ctx-handoff-sentinel

# macOS / Linux
./install.sh --both        # or --claude / --codex; --force to overwrite

# Windows (double-click install.cmd also works)
install.cmd -Force

No git? Download the ZIP: GitHub → Code → Download ZIP → extract → run install.sh / install.cmd from the extracted folder.

No installer needed: the skill is just files. Copy skill/ into ~/.claude/skills/ctx-guard (Claude Code) or ~/.codex/skills/ctx-guard (Codex). No Node, no npm — Python 3.9+ is optional (only for the verdict script; the skill falls back to applying the policy by hand).

DeepSeek Harness plugin:

dsh plugin --profile desktop add link:"$PWD/dsh-plugin"

Requires restarting the app afterwards.

Read more · 详细文档

  • English README — full install, usage, verdict policy, tests
  • 中文 README — 完整安装、用法、判定规则、测试
  • Keeping up with DSH releases — 升级维护清单
  • Publishing to the DSH plugin market — 上架插件市场的步骤
  • Verdict policy — 判定阈值与取向

Layout · 目录

dsh-plugin/          DeepSeek Harness plugin (host + client + tests)
skill/               Portable Agent Skill (Claude Code / Codex)
docs/upgrading-dsh.md Maintenance contract for DSH releases

License

MIT

—/ 5

暂无评分

需要先验证清单

Commit 81fe72286b5f

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于