insights

insights is a skill for Claude Code, Codex from strikersam/autonomous-ai-agency. It costs 48 tokens per session (1,058 once invoked), scanned B, original, MIT.

An analysis tool for finding patterns in past coding sessions, checkpoint logs, and Git history. It can show which files change often and which workflow steps fail repeatedly.

In plain words
What is it for?
Use it after several sessions or when choosing where to add tests and tooling. It examines file-change frequency, failed steps, and retry patterns.
Why use it?
It provides evidence about recurring trouble spots instead of relying only on memory or guesses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Good fit Use it after several sessions or when choosing where to add tests and tooling. It examines file-change frequency, failed steps, and retry patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strikersam/autonomous-ai-agency/insights
Install

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.

Any agent
npx skills add strikersam/autonomous-ai-agency --skill insights
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for insights

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/insights/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/insights)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/insights"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/insights/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for insights

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/insights"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/insights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,058 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01058
Opus 5 $0.00024 $0.00529
Sonnet 5 $0.00010 $0.00212
Haiku 4.5 $0.00005 $0.00106

Measured 12d ago against content hash 9459f0828111, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

insights scanned grade B 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

grep '"status":"failed"' .claude/state/checkpoint.jsonl | \
.agents/skills/insights/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: insights

When to Use

Run this skill:

  • After 5+ sessions to surface meaningful patterns
  • When deciding where to invest in tests or tooling
  • When repeating errors and wanting a data-driven view of why
  • As part of a planning session to understand the codebase's hot spots

Instructions

Step 1 — File change heatmap (which files change most)

# Top 20 most-changed files in git history
git log --name-only --format="" | grep '\.py$' | sort | uniq -c | sort -rn | head -20

Interpret: High-churn files are either:

  • Core abstractions that evolve frequently (expected)
  • Files with unclear responsibility (refactor candidate)
  • Risky files where instability = risk (add tests)

Step 2 — Failure pattern analysis

# Extract failed steps from checkpoint log
grep '"status":"failed"' .claude/state/checkpoint.jsonl | \
  python3 -c "import sys,json; [print(json.loads(l).get('step','?')) for l in sys.stdin]" | \
  sort | uniq -c | sort -rn

Interpret: Steps that fail repeatedly indicate:

  • Unclear acceptance criteria in the plan
  • A dependency that needs better documentation
  • A missing test that should catch the failure earlier

Step 3 — Retry analysis

# Steps that appeared more than once (retried)
grep '"status"' .claude/state/checkpoint.jsonl | \
  python3 -c "
import sys, json, collections
steps = []
for line in sys.stdin:
    try:
        d = json.loads(line)
        steps.append(d.get('step', '?'))
    except:
        pass
counts = collections.Counter(steps)
for step, count in counts.most_common():
    if count > 1:
        print(f'{count}x  {step}')
"

Step 4 — Learnings frequency analysis

# Count learnings by module/topic
grep -c "##" .claude/state/learnings.md 2>/dev/null || echo "0 learnings recorded."
grep "^## " .claude/state/learnings.md 2>/dev/null || echo "No learnings file."

Interpret: Clusters of learnings around the same module suggest:

  • The module needs clearer documentation
  • CLAUDE.md for that module is missing or outdated
  • The module should be refactored for clarity

Read the full file on GitHub · 139 lines

Changes

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.

  1. 12d ago First seen · 139 lines · 48 tokens per session scan B 9459f0828111

Subscribe to this mod's changes

insights is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 1,058 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

assimilate-popular-workflows

This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research external skills", "find workflow patterns", "survey the skill landscape", "what skills exist out there", or wants to investigate public repositories for extractable…

a5c-ai/babysitter · 110 tokens

process-builder

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

a5c-ai/babysitter · 32 tokens

mcp-app-verification

Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection.

a5c-ai/babysitter · 48 tokens

guardrails-ai-setup

Guardrails AI validation framework setup for LLM applications. Implement input/output validation, safety checks, and structured output enforcement.

a5c-ai/babysitter · 30 tokens

mcp-app-scaffolding

Scaffolds MCP App project structure with correct directory layout, dependencies, entry points, and framework-specific templates. Handles React (useApp hook), Vanilla JS, Vue, Svelte, Preact, and Solid.

a5c-ai/babysitter · 50 tokens

mcp-csp-investigation

Comprehensive Content Security Policy audit for MCP Apps in sandboxed iframes. Discovers all network origins, traces them to source, and generates CSP configuration for registerAppResource.

a5c-ai/babysitter · 43 tokens