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 skills add ninemindai/agentgem --skill agentgem-insightsgit clone --depth 1 https://github.com/ninemindai/agentgemWrote 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/skills/ninemindai/agentgem/agentgem-insights)<a href="https://agentmods.dev/skills/ninemindai/agentgem/agentgem-insights"><img src="https://agentmods.dev/badge/skills/ninemindai/agentgem/agentgem-insights.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00068 | $0.00835 |
| Opus 5 | $0.00034 | $0.00417 |
| Sonnet 5 | $0.00014 | $0.00167 |
| Haiku 4.5 | $0.00007 | $0.00084 |
Grade A, and why
agentgem-insights scanned grade A 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
1. **Fast path.** If the local AgentGem server is up (`curl -sf localhost:4317/api/warm/status`), How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agentgem-insights
Produce a /insights-style narrative report over the user's real coding sessions.
The pipeline (reverse-engineered from Claude Code's /insights) is three layers:
deterministic meta → one judged facet per session → one synthesis pass. Counts
come from tools; you contribute judgment and prose, never numbers.
Procedure
- Fast path. If the local AgentGem server is up (
curl -sf localhost:4317/api/warm/status), fetch the engine's warm-cached report fromGET /api/insights/stream?root=<project>(SSE; the finaldoneevent carries the report). Present it, then continue at step 5 to extend — do not re-judge sessions the engine already judged. - Layer 1 — meta. Call
search_sessions(agentgem-goldmine MCP) for the recent sessions in scope. Cap the judged set at the ~20 most recent and say so in the report ("based on the N most-recent of M"); never silently truncate. - Layer 2 — facets. For each session, judge one typed facet. Pull the structured
signal from
summarize_session(quality score, stage mix, detector findings), then ground every outcome and friction claim by askingask_sessiona specific question about that session's outcome or friction — a separate agent reads the raw scrubbed transcript and returns only its answer, so raw turns never enter your context. Facet shape (matchespackages/insightSessionFacet):underlying_goal— one prose sentenceoutcome— exactly one ofmostly_achieved|partially_achieved|not_achieved(if a session reads as fully achieved, that ismostly_achieved; if the transcript is too thin to judge, exclude the session rather than guess)friction_detail— prose,""when none; classify what you saw (buggy code, misunderstood request, user-rejected action, wrong approach)brief_summary— one sentence
- Layer 3 — synthesis. Fold the facets into a report with these sections:
At a glance (what's working / what's hindering / quick wins), What you work on,
What works, Where things go wrong (recurring friction themes, backed by
get_behavior_findingswhen relevant), and outcome rates overall and by model. - The AgentGem ending — publish your goldmine. Close with
publish_candidates: the high-outcome, re-run-worthy sessions. Offer the next actions:- publish them as a Gem via the agentgem-share skill (agentgem-distill tools),
agentgem learnto distill the latest session into the review queue,- the console Insights panel (
agentgem, port 4317) for the cached, re-runnable view. Do not end at "tweak your CLAUDE.md" — end at what the sessions are worth.
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.
- 8d ago First seen · 53 lines · 68 tokens per session scan A 3d328e829993
agentgem-insights is a skill published in the GitHub repository ninemindai/agentgem (39 stars, last pushed 10d ago), licensed MIT. It adds 68 tokens to every session and 835 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
cw-gates
Use before claiming any Codewhale change is done, green, or ready to land: the focused-to-broad verification ladder, the budget checks CI enforces, and the rules for what counts as a passing test.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
writing
A writing guide for turning verified facts and calculations into finished text for a specific audience. It follows the requested language, structure, and length.
interview
Ask one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec. Discoverable facts should be investigated instead of asked.
mcp-scripting
Write mcpScript JavaScript for discovering, inspecting, and calling MCP tools.
subagent-driven-development
Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.