ccs-align
它能做什么
检查本地 「claude-mem」 程序的运行状况,收集最近的信息并将其整理到缓存中(缓存是一个临时存储位置)。它还会检查已定义的规则之间是否存在冲突。
适用场景
- ✓确认 「claude-mem」 程序运行正常时。
- ✓收集并整理最近的使用数据时。
- ✓查找运行规则中存在的问题或不一致之处时。
技能链接
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/ccs-align/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“Alex,帮我检查一下 claude-mem 程序的运行状况,并整理最近的信息。”
每周 5 个新技能,1 分钟读完。
工作原理
它每小时运行一次循环,检查本地程序、获取数据,并将数据保存到临时位置。然后,它会将这些数据与规则进行对比,找出可能存在的冲突。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
CCS Align — Worker Watch seat (Phases 0–2 shipped; Phase 3 = verify / sign-off)
CCS Align is a standing seat, not a bird's-eye planner. Its one job, once an hour: talk to the local claude-mem worker, pull recent needle observations through the existing three-layer disclosure ladder, and land them in a seat-owned middle cache using grab → append → replace.
This skill implements the Phase 0 breathing slice, Phase 1 exclude marks, and Phase 2 rules alignment from the plan of record, plans/2026-09-09-ccs-align.md. Phases 0–2 are shipped and merged (#3934, #3935, #3936); Phase 3 is verify / sign-off (this loop) — no new product surface. It is not a context compiler, not Focus/mouth, and not Grok Memory Phase 2. When you speak to the human, address them as Alex.
What is implemented (Phases 0–2 shipped)
- Phase 0 — Breathing slice (#3934): health check →
search→timeline→get_observations→ append records to~/.claude-mem/ccs-align/<viewerId>/middle.jsonl(atomic, deduped). - Phase 1 — Exclude marks (#3935): mark observations (and linked tool-use ids) as excluded from the compiled middle cache. "Purge" means the compiled
middle.jsonlno longer contains the record — the diary / SQLite stay authoritative. Unmarking + rebuild restores the observation.DELETE /api/observation/:idis forbidden. - Phase 2 — Rules alignment (#3936): walk house → project → seat layers, detect conflicts (
SHADOW_HOUSE,DENY_ALLOW,DRIFT,CLOCK_HEADER), emit an append-onlyrules-report.md. Optionally dry-run/applySHADOW_HOUSEleaf patches whenCLAUDE_MEM_CCS_ALIGN_PATCH_SHADOWS=true. Runs every 6th hour of the hourly Worker Watch cycle (D4). This is a checklist, not a parser — no.cascompiler. - Phase 3 — Verify / sign-off (this loop): re-run the regression tests and anti-pattern greps, prove the boundary (a scripted cycle dedupes, an exclude drops from the middle cache but not the diary, the rules report is produced or a MISS is recorded), and keep the skill + plan honest about what this seat is not. Phase 3 adds no new runtime behavior.
- Does not: delete history, write
profile.md, write LFG/Orifice[awareness]logs (that seam belongs to #3931), add a sixthprocessAgentResponseconsumer, restart the worker, run a per-turn drip update, enforce Focus/mouth/standing rules, or copy house text into seats.
What this is NOT (honest boundary)
CCS Align is deliberately small. It does not ship, and this loop does not add, any of the following — these are future work or a different agent, called out so no one reads more into the seat than is there:
- No context compiler. There is no
.casparser, nocompileAwareness(), no JIT compile, no computed-styles UI. The CCS Notion page types (Bucket,canRead) are teaching copy quoted as comments — never a runtime parser. - No brainbeat product. The "regenerate awareness once per finished unit of work" door is not built. Align pulls on an hourly cadence; it is not a per-turn drip and it is not a brainbeat.
- No attention trough / curse-salience. No salience decay, no trough scoring. Explicitly out of every phase.
- No Focus / mouth enforcement. Standing rules (always / never / danger) are never enforced or decayed here. Align may list a conflict; egress filtering belongs to a different agent.
- No second writer on LFG/Orifice
[awareness]logs. #3931 ownsagents/**/memory/log/YYYY-MM.md. Align writes only its seat-owned middle cache. - No history rewrite. Exclude marks filter the compiled cache; the diary / SQLite stay authoritative and rebuildable. No
DELETE /api/observation, no A-MEM row rewrite.
Ops MISS — worker plugin version lag
…
常见问题
什么是「standing seat」?
它指的是一个按固定时间间隔(这里是每小时)运行的程序,用来执行特定任务,而不是由某个事件触发。
什么是「needle observations」?
它们是「claude-mem」程序收集到的特定数据或信息。
「atomic grab -> append -> filter exclude-marks -> replace」是什么意思?
这是一个安全处理数据的流程:先安全地获取数据,再添加新数据,然后删除标记为排除的条目,最后更新存储内容。
详情
作者的原始描述
Run the CCS Align seat's hourly breathing cycle — prove the local claude-mem worker is healthy, pull needle observations through search → timeline → get_observations, land them in a seat-owned middle cache via atomic grab → append → filter exclude-marks → replace, manage exclude marks, and walk house → project → seat rules to detect conflicts (SHADOW_HOUSE, DENY_ALLOW, DRIFT, CLOCK_HEADER) with an
repo: thedotmack/claude-mem
热度
- GitHub 星标
- 101k
- 排名
- #1268
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
Agent Cost Report
101k让你的智能体生成其活动的详细成本报告。显示在 token 和服务上花费了多少。
claude-mem-install
101k帮助你的智能体在不同环境中设置 Claude-Mem。你可以选择使用本地或远程工作进程,并配置观察功能。
mem-search
101k让你的智能体搜索过去的记忆。适合回忆之前的解决方案,或旧会话中的工作内容。
host-observer
101k帮助你的智能体响应 Claude-Mem 观察者任务。它只能回复“skip_summary”或完整的 XML 观察记录。