用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill sweep-verification命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Cross-server agent health monitoring using binary status vectors — deploy health endpoints on each agent, poll from orchestrator, alert on state transitions.
Wire a self-hosted Langfuse instance to Hermes Agent — generate API keys, configure env vars, enable the bundled plugin, install SDK, and verify traces flow.
Use before enforcement code changes or shared-repo commits.
正在显示 SKILL.md
| name | sweep-verification |
| version | 1.0.0 |
| category | devops |
| description | Verify a decommission sweep removed every file and ref. |
| author | Esther |
| license | MIT |
| platforms | ["linux","macos"] |
Use when asked to "double check / make sure X is completely removed" after a
rename or decommission sweep (legacy-brain → mycortex, service renames).
Performing the sweep is rename-sweep's job; THIS skill is
the independent verification pass that finds the leftovers the sweep missed.
git grep -il <token> -- . (count + list)git ls-files | grep -i <token>grep -rli excluding .git/__pycache__/.venv/node_modules, plus find . -iname '*<token>*'~/.hermes-cortex: grep excluding logs/pycache/backups. Deploy never prunes → stale files linger here (see pitfall 1)cron/jobs.json (0 expected), cron/scripts, plugins/, config.yaml, memories/, SOUL.md, AGENTS.md, skills/ (deployed copies), agent-profiles/*/SOUL.md (profile templates seed other hosts' SOULs — a stale ref here ships to the fleet)sessions/, state-snapshots/, cron/output/ (old run records)loop-events/*.jsonl, loop-governance.db (audit trail — task IDs legitimately mention the token), state/ (dead state files with old keys, e.g. agent-health-data.json — check readers before deleting)SELECT ... WHERE content ILIKE '%<token>%' AND status IN ('pending','in_progress') (active rows should be 0)Every hit is one of three buckets; treat them differently:
| Bucket | Examples | Action |
|---|---|---|
| LIVE | deployed scripts, cron, config, SOUL profiles, registry/health-vector keys, stale deployed files, dead state files | Fix/remove now |
| HISTORICAL | brain lessons, dated skill event records, logs, session dumps, backups (dumps, deploy-backups, scripts-unique-backup-*), loop audit trail, bus archives, curator metadata | Keep — deleting destroys the fleet's record (the file itself may even say "it IS the record") |
| CREDENTIAL | .env values whose NAME contains the token (e.g. CORTEX_BUS_PG_PASS=<legacy>_pg_pass) | Flag only — never touch a live credential mid-task; rotation is a deliberate multi-host change |
The audit's own files classify stale refs as "historical doc/log/skill text → leave as-is (it IS the record)". Deleting history to reach zero violates the keep-logs precedent and permanently destroys knowledge that exists nowhere else (many such files are deployed-only, never in git).
~/.hermes-cortex/services/mycortex/import-<legacy>.py,
stale skill references/*.md, old __pycache__/*.pyc. Find them with
comm -13 <(ls repo-dir | sort) <(ls deployed-dir | sort) — deployed-only
extras are stale unless proven otherwise. Delete stale deployed files even
though git status stays clean.test_no_<token>_refs test that runs
git grep -il <token> fails on its OWN source. Fix:
git grep -il <token> -- . ':(exclude)tests/<guard-file>.py'.grep -rln "<name>" scripts/) before deleting.~/.hermes/agent-profiles/<agent>/SOUL.md
is a template merged into that agent's SOUL — a stale ref there reaches
another host. Check ALL profiles, not just your own.~/.hermes-cortex/scripts/, not the repo. Unit tests pass against repo
source while L2 fails → the fix isn't deployed. Run cortex-update.sh
(ops/scripts/) before L2, then re-run.pytest tests/test_repo_structure.py -q) + full suite.Session detail (legacy-brain sweep, 2026-08-21): references/legacy-brain-sweep-2026-08-21.md