Memory Collider — Security skill for Claude Code
Local-first lifecycle control plane for agent skills: collides upstream changes, local edits, real session friction, and audit evidence into reviewable, rollback-able patches.
How to install Memory Collider
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open JohnWangggg/memory-collider and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Memory Collider does
Local-first lifecycle control plane for agent skills: collides upstream changes, local edits, real session friction, and audit evidence into reviewable, rollback-able patches.
Alternatives in Security
- Bridge Guard — Audit a v1.4.0-style upstream bridge merge for the regression patterns that bit us last time 817 ★
- Maestro Knowledge — Intent-driven knowledge-store and Run knowledge lifecycle management — audit/prune, stage candidates (with sig 530 ★
- Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
README
Memory Collider
[](https://github.com/JohnWangggg/memory-collider/actions/workflows/ci.yml) [](https://github.com/JohnWangggg/memory-collider/releases) [](LICENSE)
[English README](README.en.md) · [参考手册](docs/reference.zh.md) · [变更日志](CHANGELOG.md)
让上游 skill 生态里的新护栏在踩坑之后**自动、可审、可回滚**地落到你的本地 skill 上。
定位
Memory Collider 不是又一个 skill 安装器、模板生成器或 Hook 规则器。它是一个 **local-first 的 skill 生命周期控制面**:订阅上游技能包,把 canonical 副本编译到多个 agent 目标端,再把「上游变化 + 本地手写改动 + 真实会话摩擦 + 规则审计证据」四方碰撞成**可审、可验证、可回滚**的小补丁。
| 相邻工具 | 它主要回答 | Memory Collider 的边界 |
|---|---|---|
vercel-labs/skills / skill installers |
「怎么发现、安装、分发 skill?」 | Memory Collider 从安装之后开始:同步、维护、审计、修复、回滚 |
backpass |
「怎样从会话证据改进 AGENTS.md / skills?」 | 核心证据理念相邻;Memory Collider 额外覆盖上游订阅与基线、多端编译、事务回滚、规则审计、patrol 与团队分发 |
skilldrift / drift scanners |
「上游 skill 变了吗?」 | Memory Collider 不只提醒 drift,还把 drift 与真实摩擦一起变成 gated patch |
| hook guardrails | 「如何在动作发生前拦截?」 | Memory Collider 不替代实时 hook;它维护那些规则/知识的长期生命周期 |
能力一览
- 四种上游:
git(浅克隆 + 稀疏检出)、local_dir、raw_url(ETag)、okf知识包;同步时对隐藏 Unicode、管道执行、密钥外泄、提示注入直接阻断。 - 六源轨迹:Nowledge Mem、Claude Code、opencode、Cursor、Devin CLI、omp 的本地会话,按 Session UUID 去重合并;opencode/devin/omp 的工具失败是结构化事实,不是从散文里推断。
- 结构化补丁:模型只许输出
patch_ops白名单原语,从不生成行号 diff;gatekeeper 校验引用必须逐字出现在所引线程里,幻觉证据直接丢弃。 - 事务写入:canonical 与全部目标端共用一个
history//manifest.json,原子写 + 双重乐观锁,collider rollback一次撤干净。 - 规则审计闭环:
collider audit裁决每条规则compliant / violated / unobserved,violated证据自动喂回碰撞管道触发重写提案,长期unobserved成为rule_bloat_prune的合法证据。 - patrol 自动化:
sync → collide → 轮换 audit定时执行,只在有已校验碰撞或复发时打扰你;同步失败降级用旧快照碰撞而不是整周缺席。 - 隐私 fail-closed:
privacy_spaces锁死本地、新项目首检、L1/L2 脱敏、配置里永不存明文密钥。 - 团队协作:
collider contribute把已复核碰撞变成上游 PR(证据永不出境),`c
Related Skills
Kuron Security
Claude Security scans for any AI agent (omp, Claude Code, Codex, OpenCode, Antigravity): codebase scan, scan c
Up2imp
Audit upstream changes and curate an optimally ordered implementation list
Omarchy Linux Troubleshooter
Agent skill for diagnosing and fixing issues on the ASUS Vivobook S 14 OLED (M5406WA) running Omarchy/Hyprland
Preloop
The open-source AI agent control plane: MCP firewall, model gateway with budgets, human approvals, runtime obs
Operant
Self-hosted agents in Slack and Teams on your infra. Per-user OAuth, per-human audit, RBAC, approvals, 2,500+
Wardendeck
Self-hosted IM ↔ local AI coding agent control plane with approvals, audit and isolation (Feishu/Lark + Claude
Related Agents
Backend Planner.Agent
Use when turning a backend/service architecture decision into an ordered, reviewable implementation plan: work
Patch Verifier
WHEN verifying cc-enhanced patch anchors or watched prompt-surface anchors against a clean upstream cli.js. NO
Drupal Contributor
Drupal contributor for writing patches, creating issues, and contributing code back to drupal.org. Use when fi