with one click
memory-audit
Audit memory health: secrets, stale, broken wikilinks.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Audit memory health: secrets, stale, broken wikilinks.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Configure, extend, or contribute to Hermes Agent.
Merge ready, green-CI evolution PRs into main and self-update
Write desktop app plugins that add UI panes and commands.
Drive the user's desktop in the background — clicking, typing, scrolling, dragging — without stealing the cursor, keyboard focus, or switching virtual desktops / Spaces. Cross-platform: macOS, Windows, Linux. Works with any tool-capable model. Load this skill whenever the `computer_use` tool is available.
Analyze the agent's real sessions with users to find what blocks practical task completion, and turn those findings into improvement issues
Use when the user wants to do anything in Unreal Engine through Epic's official editor-embedded MCP server (catalog entry: unreal-engine) — build/light/populate scenes, place and transform actors, author Blueprints, animate with Sequencer, create material instances, frame cameras, take screenshots, render, import assets, run PIE test sessions and automation tests, or automate the editor end-to-end from plain-English prompts with no Unreal knowledge required. Covers the tool-search discovery walk (list_toolsets/describe_toolset/call_tool), serial game-thread call discipline, ProgrammaticToolset batching, the Blueprint graph DSL loop, scene-craft numbers (physical light units, exposure, scale conventions), complete build recipes, save/undo hygiene, and extending the tool surface with custom Python toolsets.
| name | memory-audit |
| description | Audit memory health: secrets, stale, broken wikilinks. |
| version | 1.0.0 |
| author | Hermes Evolution |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["memory","audit","health","reliability","secrets","obsidian","cron"],"category":"productivity","related_skills":["obsidian"]}} |
Audit the health of Hermes memory layers for problems that accumulate silently and degrade agent performance: secrets leaking into the always-in-context memory store, stale entries that no longer apply, memory approaching the char limit, and broken Obsidian wikilinks. The audit is SILENT when everything is healthy — it only reports problems.
Run this skill when the user says "audit my memory", "check memory health", or "scan for secrets in memory". It is also designed as a daily cron job that surfaces problems without spam (empty output when healthy).
No external dependencies — the audit script uses only the Python standard library. A Python 3.8+ interpreter is required.
For Obsidian vault checks, set the vault path via --vault-path or the
OBSIDIAN_VAULT_PATH environment variable.
python skills/productivity/memory-audit/scripts/memory_audit.py
This defaults to $HERMES_HOME/memories (or ~/.hermes/memories) and
checks MEMORY.md and USER.md for secrets, stale entries, and usage.
python skills/productivity/memory-audit/scripts/memory_audit.py \
--vault-path "$OBSIDIAN_VAULT_PATH"
hermes cron add --name "memory-audit" \
--schedule "30 6 * * *" \
--prompt "Run the memory audit skill and report any findings." \
--toolsets "file,terminal"
Or as a script-only cron job (no agent needed):
hermes cron add --name "memory-audit" \
--schedule "30 6 * * *" \
--script "python skills/productivity/memory-audit/scripts/memory_audit.py --vault-path \"\$OBSIDIAN_VAULT_PATH\"" \
--no-agent
| Check | What it finds | Severity |
|---|---|---|
| Secrets | API keys, tokens, passwords in memory | CRITICAL |
| Stale | PR numbers, commit SHAs, completed phases | advisory |
| Usage | Memory near char limit (>85%) | warning |
| Wikilinks | [[Note]] → non-existent Obsidian file | advisory |
| Daily note | Today's daily note missing | advisory |
terminal or execute_code. It reads
MEMORY.md and USER.md from the memories directory and (if a vault
path is given) scans the Obsidian vault.memory tool with action=remove to delete
the offending entry, then confirm it is gone.memory(action=remove, ...) to
delete entries referencing merged PRs, old commit SHAs, or completed
phases that no longer apply.patch.config.yaml, pass
the actual limits via --memory-char-limit and --user-char-limit.# Run the audit — healthy memory produces no output
python skills/productivity/memory-audit/scripts/memory_audit.py
echo "exit: $?" # 0 = healthy, 1 = issues found
# Run the test suite
scripts/run_tests.sh tests/skills/test_memory_audit_skill.py -q