-
Notifications
You must be signed in to change notification settings - Fork 1
Safety and Data
Li_Js edited this page Jul 21, 2026
·
1 revision
skm is designed around a simple rule: show facts first, change files only through explicit guarded commands.
These commands do not modify Claude/Codex configs, skills, MCP servers, or session logs:
skm
skm doctor
skm risks
skm report
skm scan
skm list
skm search
skm recommend
skm ask
skm graph
skm dupes
skm audit
skm sessionsSome of them update skm's own cache under ~/.skill-manager. That cache does not change Claude Code or Codex behavior.
| Action | What changes | Safeguards |
|---|---|---|
sessions --clean |
Deletes session log files | Retention policy required, plan printed first, confirmation or --yes, 24-hour safety window, usage aggregated before deletion |
disable/enable <skill> |
Renames skill directories | Reversible, no deletion, plugin skills refused |
disable/enable --mcp |
Edits Claude/Codex MCP config | Backup, confirmation, reversible Codex comments, no overwrite on restore |
MCP scanning does not read env values. It records only server name, tool source, transport, and command metadata needed for inventory.
Before disabling MCP servers, inspect first:
skm list --mcp
skm audit
skm risksAlways start with dry-run:
skm sessions --clean --days 30 --keep 3 --dry-runCleanup keeps the union of:
- sessions newer than
--days - latest
--keepsessions per workspace - sessions active within the last 24 hours
Before deleting, skm aggregates usage stats into cache, so historical audit counts are preserved.
| Path | Purpose |
|---|---|
~/.skill-manager/catalog.json |
Skill and MCP catalog |
~/.skill-manager/usage-cache.json |
Incremental usage cache |
~/.skill-manager/audit-history/ |
Audit snapshots |
~/.skill-manager/backups/ |
MCP config backups |
~/.skill-manager/rules.json |
User classification rules |
Built for local Claude Code / Codex skill governance. Repository: skill-manager.