audit-memories
Audit and clean agent-facing Markdown in the current project.
Skill by zuzu59
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zuzu59-audit-memories
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, security, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/audit-memories
What's inside
- Skill name
audit-memories- Description
- Audit and clean agent-facing Markdown in the current project. Use when the user invokes $audit-memories or /audit-memories to audit or clean AGENTS.md, rules, skills, plans, or task traces.
- License
- MIT
- Instructions
- 29 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- openai.yaml · agents/
- codex-icon.svg · assets/
- cleanup-rubric.md · references/
- inventory_project_markdown.py · scripts/
SKILL.md (first lines)
Proceed only on an explicit `$audit-memories` or `/audit-memories`. An OpenCode command that states the user invoked `/audit-memories` satisfies this guard. Default action is `audit`. `clean` audits first, then applies justified local cleanup.
Resolve the project root from `$PWD`. Do not switch checkouts. Do not read or modify `~/.codex/memories`. Classify only agent-facing Markdown: `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, `.agents/**/*.md`, `.claude/**/*.md`, `.cursor/**/*.{md,mdc}`, `.github/copilot-instructions.md`, `.github/instructions/**/*.md`, `skills/**/SKILL.md`, `.agents/skills/**`. Product docs, READMEs, changelogs, and public specs are truth evidence only.
Read the nearest `AGENTS.md`, `CLAUDE.md`, and repository rules first. Record `git status --short` before and after. Never inspect secret values. Never use `rm -rf`; `trash` approved removals. Use `apply_patch` for text. Label provider/runtime claims `NOT VERIFIED` unless this run checks the live system. Do not delete instruction, security, migration, incident, or destructive-safeguard files because they are old.
## Audit
Run:
```bash
python3 ~/.agents/skills/audit-memories/scripts/inventory_project_markdown.py --root "$PWD" --format json
```
The byte ledger must show `visited == eligible`. Then read every eligible file. Over 30 files: disjoint batches of 10–20, one row per path, union equals the manifest.
Load [cleanup-rubric.md](references/cleanup-rubric.md) before classifying. Verdict each file `KEEP`, `UPDATE`, `MERGE`, `ARCHIVE`, `DELETE`, or `VERIFY`. Mark important claims `VERIFIED`, `CONTRADICTED`, `NOT VERIFIED`, `HISTORICAL`, or `OPINION`.
Return the root, git boundary, counts, projected totals, one row per file, contradictions with line evidence, merge clusters, broken links, protected files, and `NOT VERIFIED` claims. Do not write a report file unless asked.
## Clean
Reuse a still-current exhaustive audit for this Git tree; otherwise re-audit. Recheck hashes and `git status`. Apply verdicts: `KEEP` unchanged; `UPDATE` smallest accurate edit; `MERGE` unique knowledge into the canonical file, fix inbound links, then `trash`; `ARCHIVE` only with an existing archive convention; `DELETE` via `trash` only after a proven replacement or no-value rationale; `VERIFY` unchanged until evidence exists.
If the worktree is dirty, skip overlapping user changes (`BLOCKED`) and continue on disjoint files. After edits: rerun inventory and link checks, search for removed or renamed paths, run proportionate repo validation, confirm the diff is Markdown-only. Do not commit or push unless asked.
Stop `audit` when every eligible file has one evidenced verdict. Stop `clean` when the ledger matches the tree, every deletion has a proven rationale, links are repaired, protected knowledge remains, validation and blockers are reported separately, and the dirty tree has no out-of-scope edits.From zuzu59/z-skills, MIT.
More from zuzu59/z-skills
- 0.526score
app-icon
zuzu59
Generate a vibrant dimensional iOS and Android app icon, then post-process it for store specs.
SkillBFreshness: BClaude Code +9 - 0.526score
appstore-connect
zuzu59
Drive App Store Connect through the asc CLI for apps, builds, TestFlight, reviews, sales, metadata, IAP, signing, and submissions.
SkillBFreshness: BClaude Code +9 - 0.526score
apex
zuzu59
Run adaptive APEX implementation with scoped delegation, durable checkpoints, risk-based tests and review, and proof-backed verification.
SkillBFreshness: BClaude Code +9 - 0.524score
agents-manager
zuzu59
Create, edit, debug, and orchestrate Claude Code agents and Task-tool workflows.
SkillBFreshness: BClaude Code +9 - 0.524score
audit-skills
zuzu59
Audit installed skills for observed usage, explicit-only invocation controls, duplicate discovery, and global-versus-project scope.
SkillBFreshness: BClaude Code +9 - 0.479score
claude-memory
zuzu59
Create and optimize CLAUDE.md memory files or .claude/rules/ modular rules for Claude Code projects.
SkillCFreshness: CClaude Code +9 - 0.479score
agents-managers
zuzu59
Expert guidance for creating, building, and using Claude Code agents and the Task tool.
SkillCFreshness: CClaude Code +9 - 0.474score
appstore-connect-setup
zuzu59
Find and configure App Store Connect API credentials for asc auth.
SkillCFreshness: CClaude Code +9 - 0.473score
add-documentation
zuzu59
Add or update documentation in content/docs/ for features, APIs, or tools
SkillCFreshness: CClaude Code +9 - 0.454score
git
zuzu59
Git best practices
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 10, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zuzu59/z-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zuzu59
- 0.526score
app-icon
zuzu59
Generate a vibrant dimensional iOS and Android app icon, then post-process it for store specs.
SkillBFreshness: BClaude Code +9 - 0.526score
appstore-connect
zuzu59
Drive App Store Connect through the asc CLI for apps, builds, TestFlight, reviews, sales, metadata, IAP, signing, and submissions.
SkillBFreshness: BClaude Code +9 - 0.526score
apex
zuzu59
Run adaptive APEX implementation with scoped delegation, durable checkpoints, risk-based tests and review, and proof-backed verification.
SkillBFreshness: BClaude Code +9 - 0.524score
agents-manager
zuzu59
Create, edit, debug, and orchestrate Claude Code agents and Task-tool workflows.
SkillBFreshness: BClaude Code +9 - 0.524score
audit-skills
zuzu59
Audit installed skills for observed usage, explicit-only invocation controls, duplicate discovery, and global-versus-project scope.
SkillBFreshness: BClaude Code +9 - 0.479score
claude-memory
zuzu59
Create and optimize CLAUDE.md memory files or .claude/rules/ modular rules for Claude Code projects.
SkillCFreshness: CClaude Code +9
Cite this page
audit-memories skill. Agent Mart. https://agentmart.dev/skills/zuzu59-audit-memories (last updated 2026-10-24)