skills-audit
Classify agent skills by usage tier (Keep / Borderline / Archive / Unknown) using Claude Code session JSONL transcripts as the signal source. Read-only — never modifies skills, sessions, or any file on disk. Use this skill when asked to audit skills, find unused skills, classify skills, check which skills get used, produce a skill usage report, or prune skills. Trigger phrases: "audit skills", "find unused skills", "classify skills", "which skills do I use", "skill usage report", "prune skills", "what skills are unused", "skills I can remove", "trim my skill list". Output is a recommendation (Keep / Borderline / Archive) — acting on it is always a manual step.
- License 许可
- MIT
- 所属仓库
- psacc/omnisess
- 最近更新
- 2026-11-05
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- skills-audit
- license
- MIT
- metadata
- { "version": "0.13.0" }
- description
- Classify agent skills by usage tier (Keep / Borderline / Archive / Unknown) using Claude Code session JSONL transcripts as the signal source. Read-only — never modifies skills, sessions, or any file on disk. Use this skill when asked to audit skills, find unused skills, classify skills, check which skills get used, produce a skill usage report, or prune skills. Trigger phrases: "audit skills", "find unused skills", "classify skills", "which skills do I use", "skill usage report", "prune skills", "what skills are unused", "skills I can remove", "trim my skill list". Output is a recommendation (Keep / Borderline / Archive) — acting on it is always a manual step.
- allowed-tools
- Bash
- argument-hint
- [--root <path>...] [--window 30d|90d|180d] [--allowlist <path>] [--format markdown|json] [-o <file>]
02 资源文件 58
- 许可证LICENSE1.0 KB
- 参考文档references/bundle-analyze-js.md3.7 KB
- 参考文档references/bundle-barrel-exports.md4.9 KB
- 参考文档references/bundle-library-size.md4.9 KB
- 参考文档references/bundle-tree-shaking.md5.3 KB
- 资产文件references/images/bundle-treemap-source-map-explorer.png651.8 KB
- 资产文件references/images/controlled-textinput-pingpong.png124.2 KB
- 资产文件references/images/devtools-flamegraph.png508.5 KB
- 资产文件references/images/emerge-xray-ios.png429.4 KB
- 资产文件references/images/expo-atlas-treemap.png604.4 KB
- 资产文件references/images/flashlight-flatlist-vs-flashlist.png305.9 KB
- 资产文件references/images/fps-drop-graph.png148.9 KB
- 资产文件references/images/memory-heap-snapshot.png300.8 KB
- 资产文件references/images/network-panel-request.png241.1 KB
- 资产文件references/images/perf-panel-components.png23.1 KB
- 资产文件references/images/perf-panel-overview.png123.5 KB
- 资产文件references/images/perf-panel-scheduler.png29.4 KB
- 资产文件references/images/tti-warm-start-diagram.png124.3 KB
- 资产文件references/images/view-hierarchy-flattening.png2.5 MB
- 资产文件references/images/xcode-instruments-templates.png398.8 KB
- 资产文件references/images/xcode-thread-view.png174.3 KB
- 参考文档references/js-animations-reanimated.md5.5 KB
- 参考文档references/js-concurrent-react.md6.2 KB
- 参考文档references/js-flashlight.md6.7 KB
- 参考文档references/js-lists-flatlist-flashlist.md6.4 KB
- 参考文档references/js-measure-fps.md5.5 KB
- 参考文档references/js-memory-leaks.md5.1 KB
- 参考文档references/js-network-panel.md4.5 KB
- 参考文档references/js-performance-panel.md6.5 KB
- 参考文档references/js-profile-react.md5.6 KB
- 参考文档references/js-react-compiler.md10.0 KB
- 参考文档references/js-uncontrolled-components.md5.9 KB
- 参考文档references/mm-audit-playbook.md10.4 KB
- 参考文档references/mm-context-performance.md3.1 KB
- 参考文档references/mm-eager-work-on-mount.md6.3 KB
- 参考文档references/mm-hook-dependency-arrays.md4.7 KB
- 参考文档references/mm-layout-animations.md4.0 KB
- 参考文档references/mm-planning.md4.5 KB
- 参考文档references/mm-power-user-scenario.md3.4 KB
- 参考文档references/mm-react-compiler-error-triage.md7.8 KB
- 参考文档references/mm-react-compiler.md4.7 KB
- 参考文档references/mm-redux-antipatterns.md5.3 KB
- 参考文档references/mm-selector-cascade.md12.2 KB
- 参考文档references/mm-selector-memoization.md6.6 KB
- 参考文档references/mm-state-normalization.md9.0 KB
- 参考文档references/mm-streaming-realtime.md8.2 KB
- 参考文档references/mm-tools.md16.5 KB
- 参考文档references/mm-unstable-hook-return.md5.7 KB
- 参考文档references/mm-useeffect-antipatterns.md7.7 KB
- 参考文档references/native-android-16kb-alignment.md3.4 KB
- 参考文档references/native-measure-tti.md9.6 KB
- 参考文档references/native-memory-leaks.md5.7 KB
- 参考文档references/native-sdks-over-polyfills.md7.1 KB
- 参考文档references/native-view-flattening.md4.9 KB
- 参考文档references/onboarding.md3.7 KB
- 参考文档repos/metamask-mobile.md12.4 KB
- 参考文档SOURCE.md366 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
omnisess skills audit
Classify agent skills by usage tier by joining the discovered skill inventory against invocation counts scraped from Claude Code session JSONL transcripts.
Usage
/omnisess:skills-audit [--root <path>...] [--window 30d|90d|180d] [--allowlist <path>] [--format markdown|json] [-o <file>]
Instructions
Step 1: Binary guard
if ! command -v omnisess &>/dev/null; then
echo "omnisess not found. Install it with:"
echo " go install github.com/psacc/omnisess@latest"
exit 1
fi
Step 2: Build the command
Assemble the omnisess skills audit invocation from the arguments provided:
--root <path>(repeatable) — project root(s) to walk for SKILL.md files. If none are supplied and the user mentioned a directory, use that. If still none, omit the flag — globals-only mode (all of~/.claude/skills/,~/.agents/skills/,~/.claude/plugins/**/skills/).--no-globals— add only if the user explicitly wants to skip global locations.--allowlist <path>— add only if the user supplied an allowlist file.--window <value>— one of30d,90d,180d. Default90dif not stated.--format <value>—markdown(default, human-readable) orjson(machine).-o <file>— output file; omit to write to stdout.
Step 3: Run the audit
omnisess skills audit [assembled flags]
If the command exits non-zero, print the error and stop.
Step 4: Present results
- If
--format markdown(or default): render the output directly — it is already structured markdown with tier sections. - If
--format json: summarise the tier counts from the JSON and offer to render specific sections the user asks for.
After presenting, add a one-line reminder:
Archive is a recommendation. Review paths before removing any skill.
Arguments
| Flag | Default | Description |
|---|---|---|
--root <path> |
(none) | Project root to walk (repeatable). Omit to use globals only. |
--no-globals |
off | Skip ~/.claude/skills, ~/.agents/skills, ~/.claude/plugins/**/skills/ |
--allowlist <path> |
(none) | Plain-text file: one skill name per line, # for comments |
--window 30d|90d|180d |
90d |
Telemetry look-back window |
--format markdown|json |
markdown |
Output format |
-o <file> |
stdout | Write output to file instead of stdout |
Tier rules (summary)
| Tier | Criteria |
|---|---|
| Keep | ≥ 3 invocations in window, or skill is in the allowlist |
| Borderline | 1–2 invocations in window |
| Archive | 0 invocations and not allowlisted |
| Unknown | Skill from a non-Claude source (Codex, Cursor); telemetry not parsed in v0 |
Examples
# Scan one project root, 90-day window (default)
omnisess skills audit --root ~/prj/myapp
# Multiple roots + custom window
omnisess skills audit --root ~/prj/myapp --root ~/prj/shared --window 30d
# Force-keep specific skills, output to file
omnisess skills audit --root ~/prj --allowlist ~/.config/omnisess/allowlist.txt --format json -o audit.json
When NOT to use
- Plugin-bundled skills: skills inside a
.claude-plugin/bundle cannot be deleted individually — removing one requires editingplugin.jsonand re-packaging. The audit will correctly classify them, but acting on Archive suggestions for bundled skills is a separate workflow. - Non-Claude sources (v0): Codex and Cursor skills appear as
Unknown— invocation telemetry for those tools is not parsed in v0. Do not use the Archive tier for Unknown skills. - Window too narrow: a 30-day window will mark quarterly or incident-response
skills as Archive. Use
--allowlistor widen--windowfor infrequently-used but intentional skills.
Notes
- Read-only. The audit never modifies skills, sessions, the allowlist, or any other file on disk.
- Ghost usage entries (skill names seen in JSONL but not discovered on disk) mean
--rootcoverage is incomplete — add more--rootflags. - Unmatched allowlist entries indicate renamed or deleted skills — clean them up.
- Full guide:
docs/skills-audit.mdin the omnisess repo.
04 同仓库更多 Skills
stats
Show tool-call counts and file-I/O activity from the transcript SQLite index. Aggregates Read/Write/Edit file paths, line counts, token usage, and error flags across a time window (default 7d) or for a single session. Use this skill when asked which tools were used most, which files saw the most activity, how many tokens were spent, or to inspect a single session's tool-call summary. Trigger phrases: "session stats", "tool stats", "what tools did I use", "tool usage", "files touched", "token usage", "stats for last week", "summarize tool calls", "session tool breakdown".
show
Show the full detail of a single AI coding session by its ID. Session IDs are in the format <tool>:<id> (e.g., claude:5c3f2742, cursor:a1b2c3d4). Use this skill when asked to show a specific session, inspect a session, read a session, or view the messages in a session. Trigger phrases: "show session", "open session", "inspect session", "read session", "show me claude:5c3f2742", "view session details", "what happened in session".
search
Full-text search across all AI coding sessions (Claude Code, Cursor, Codex, GitHub Copilot CLI). Use this skill when asked to search sessions, find a conversation about a topic, look up what was discussed in past sessions, or find sessions mentioning specific code or concepts. Trigger phrases: "search sessions", "find sessions about", "look up in sessions", "what did I discuss about", "find conversation about", "search my history".
recap
Produce a structured markdown briefing of AI coding sessions for a given time window. Groups sessions by project and summarizes each group with intent, outcome, and status. Use this skill when asked to recap recent coding work, summarize today's sessions, show what was worked on, or produce a daily/weekly session summary. Trigger phrases: "recap", "what did I work on", "daily summary", "session summary", "summarize my sessions", "what sessions did I have today", "coding recap". This is the sessions-only public version — no Slack, Jira, or Granola integration.
ps
Show live Claude Code and Codex sessions as a process tree, grouped by shared ancestor chain up to launchd. Covers Claude CLI sessions, Claude Desktop agent mode, and Codex sessions (CLI TUI + Codex.app threads). Use this skill when asked about the process tree, ancestor lineage, which terminal or tmux window a Claude or Codex session is running in, or what's currently running. Trigger phrases: "process tree", "what's running", "lineage", "ancestor chain", "which terminal is my claude in", "tmux tree", "claude process tree", "codex process tree", "session lineage". macOS-only: on other platforms the command prints "unsupported" and exits 0.
list
List AI coding sessions across all sources (Claude Code, Cursor, Codex, GitHub Copilot CLI). Use this skill when asked to list sessions, show recent sessions, filter sessions by tool, or get an overview of coding activity. Trigger phrases: "list sessions", "show sessions", "recent sessions", "sessions from cursor", "sessions today", "how many sessions", "show me my sessions".