Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/ourobx/agent-ebpf/skill-usage-insightsgit clone --depth 1 https://github.com/ourobx/agent-ebpfWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/ourobx/agent-ebpf/skill-usage-insights)<a href="https://agentmods.dev/instructions/ourobx/agent-ebpf/skill-usage-insights"><img src="https://agentmods.dev/badge/instructions/ourobx/agent-ebpf/skill-usage-insights.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01570 | $0.01570 |
| Opus 5 | $0.00785 | $0.00785 |
| Sonnet 5 | $0.00314 | $0.00314 |
| Haiku 4.5 | $0.00157 | $0.00157 |
Grade C, and why
agent-ebpf skill-usage-insights.instructions.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- Copilot Instruction Telemetry: This file was auto-generated by Claude Skills Manager --> How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
skill-usage-insights
Skill Usage Insights
Turn .claude/learning/runs.jsonl (the [[self-learning]] run log) and the
contents of .claude/skills/ into a per-skill usage/KPI report, with
add/remove recommendations.
1. Gather inputs
.claude/skills/<name>/SKILL.md— skills currently installed in this project (one directory per skill)..claude/learning/runs.jsonl— append-only JSON-lines log; each line:{"ts": ..., "skill": ..., "action": ..., "rc": 0|nonzero, "duration": ..., "error": "", "hint": "", "note": ""}. If this file doesn't exist, say so plainly — there's no usage history yet, not an error. Recommendations in that case are limited to "not yet measurable; check back after the self-learning skill has recorded some runs"..claude/learning/skill-feedback.jsonl— user negative reactions per skill (written by [[skill-feedback-adaptation]]). Use for inefficiency % and update suggestions alongside run-based KPIs.- Optionally,
.claude/learning/task-skill-proposals.json— latest task-scoped skill proposals (also from [[skill-feedback-adaptation]]). - Optionally, the library's
manifest.json(wherever the skill library lives, e.g.~/.claude/skills/or a syncedskills_library/) — useful to see a skill'sdetect_globs/description when judging relevance.
2. Aggregate per skill
For each installed skill name, and for each distinct skill value in
runs.jsonl that matches an installed skill name:
runs— count of matching records.success_rate—rc == 0count /runs(as a percentage).avg_duration— mean ofdurationacross records that have it.last_used— maxts;days_since_last_use— days between that and now.- Per agent — when
agentis set on a row (claude,cursor,kiro,copilot), group invocations by agent. The VS Code Usage Report shows a Skill usage by agent section and a matrix for skills used by more than one agent on the same workspace (common when switching between Claude Code, Cursor, Kiro, and Copilot on one task). Rows withoutagentcount as Claude. - Records whose
skillvalue doesn't match any installed skill name are general task-tracking entries (per [[self-learning]]'s schema) — ignore them for this report, but you may mention the count as "N other tracked task runs not tied to a specific skill".
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 122 lines · 1,570 tokens per session scan C afc1c87c1ffc
agent-ebpf skill-usage-insights.instructions.md is an instructions file published in the GitHub repository ourobx/agent-ebpf (1 stars, last pushed 9d ago), licensed MIT. It adds 1,570 tokens to every session, about $0.0078 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
casbin-gateway CLAUDE.md
Claude Code instructions for apache/casbin-gateway, covering claude.md and code style.
aigis CLAUDE.md
Claude Code instructions for killertcell428/aigis, covering aigis — project guidelines, zenn記事管理(zenn cli + github連携), ディレクトリ構成, 記事の作成 and プレビュー.
preloop AGENTS.md
AGENTS.md instructions for preloop/preloop, covering preloop development guide, commands, git workflow, keep sample data generic and code style.
pfsense-mcp-server AGENTS.md
Instructions for night4me/pfsense-mcp-server, covering pfsense mcp server, architecture and security, development workflow, long-running validation and test parallelism.
xops-cli AGENTS.md
Instructions for wentf9/xops-cli, covering ai 助手开发协作指南 (agents.md), 🎨 1. 编码规范 (coding standards), 📦 2. git 规范 (git standards) and 🛠️ 3. 测试、构建与 ci (testing, building & ci).
fwskillsshare AGENTS.md
Instructions for fastrevmd-lab/fwskillsshare, covering firewall skills repository instructions, purpose and architecture, setup and development, required checks and skill description constraints.