insights

insights is a skill for Claude Code from sasly2048/codex-atlas. It costs 78 tokens per session (511 once invoked), scanned A, original, MIT.

A local analytics tool for Claude Code usage. Claude Code is a coding assistant; the tool reads its saved session records and calculates usage information on your machine.

In plain words
What is it for?
Use it to sync session data, ask about usage, view a status snapshot, generate daily or longer reports, and inspect tool or git-commit activity.
Why use it?
It gives you a way to inspect work patterns without sending those records to an external service. It can help reveal time spent, errors, streaks, costs, and possible burnout.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the codex-atlas plugin — 6 skills, 1 hook shipped together

Good fit Use it to sync session data, ask about usage, view a status snapshot, generate daily or longer reports, and inspect tool or git-commit activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sasly2048/codex-atlas/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 sasly2048/codex-atlas --skill insights
Clone the repo
git clone --depth 1 https://github.com/sasly2048/codex-atlas

Made for: Claude Code.

Or install codex-atlas, the plugin that ships this one along with the rest of its 6 skills, 1 hook.

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/sasly2048/codex-atlas/insights/github.svg)](https://agentmods.dev/skills/sasly2048/codex-atlas/insights)
Your own site
<a href="https://agentmods.dev/skills/sasly2048/codex-atlas/insights"><img src="https://agentmods.dev/badge/skills/sasly2048/codex-atlas/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/sasly2048/codex-atlas/insights"><img src="https://agentmods.dev/badge/skills/sasly2048/codex-atlas/insights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00078 $0.00511
Opus 5 $0.00039 $0.00255
Sonnet 5 $0.00016 $0.00102
Haiku 4.5 $0.00008 $0.00051

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

Security

Grade A, and why

insights scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/insights/SKILL.md · 44 lines

What it actually says

cc-atlas usage insights

cc-atlas is a bundled CLI that reads the user's local ~/.claude/projects session transcripts (and any git repos they've configured) into a local SQLite database and computes usage analytics. Nothing leaves the machine — no API calls, no telemetry.

Workflow

  1. Run cc-atlas sync first. It's safe and fast to re-run — incremental, only re-parsing transcript files that changed since the last sync.
  2. For a specific question, prefer cc-atlas ask "<question>". It understands a fixed vocabulary — hours, sessions, error rate, streak, burnout, most-used tool, cost, commits — optionally scoped to a project name and a period (today / this week / this month / all time). It is pattern-matching, not a language model. If it replies "I didn't recognize that one," fall back to cc-atlas export --format json and compute the answer yourself from the returned summary rather than guessing.
  3. For a one-line snapshot (streak, hours today, burnout risk), use cc-atlas status --json.
  4. For a fuller written report, use cc-atlas report <day|week|month> --format markdown.

What this can't answer directly

Cross-project comparison, session replay, team activity, anomaly detection, and goal tracking are interactive-only menu screens — they need a real terminal to select options. If the user wants one of those, tell them to run cc-atlas directly in their own terminal to open the menu. Don't try to drive interactive prompts through a tool call.

Be honest about the numbers

  • Dollar figures use an illustrative blended rate, not Anthropic's actual per-model pricing — say so if you report a cost.
  • If cc-atlas sync finds no session data yet, say that plainly rather than presenting a zero as a real answer.
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. 9d ago First seen · 44 lines · 78 tokens per session scan A 7e42dced46ac

Subscribe to this mod's changes

insights is a skill published in the GitHub repository sasly2048/codex-atlas (1 stars, last pushed 10d ago), licensed MIT. It adds 78 tokens to every session and 511 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. 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

prewalk

Use when the user wants a coding task executed with a strong planner model first and a faster/cheaper executor model after the first successful implementation edit.

vivekascoder/codex-prewalk · 33 tokens

cinematic-storyboard-sheet

Generate professional Hollywood-caliber vertical storyboard sheet images from cinematic storyboard text, shot lists, scripts, or character reference images. Use when Codex must call imagegen to create an image-only black-background storyboard layout with 3:2 cinematic frames on the left, aligned production text on the…

0xagi-bsky-social/Codex-Skills · 110 tokens

deconstruct-bias-dialogue

Guided bias-deconstruction dialogue that combines Madhyamaka catuskoti, phenomenological epoche, Socratic elenchus, and Popperian falsification into progressive questions. Use when the user asks to examine assumptions, biases, beliefs, polarizing claims, identity or group judgments, ethical or political disputes…

0xagi-bsky-social/Codex-Skills · 99 tokens

pixel-office

Show Codex subagents working in a live Stardew-style pixel office web page. Use PROACTIVELY and implicitly whenever a task starts or observes subagents (spawnagent/collaboration or subagentactivity), even when the user never mentions this plugin; automatically open the Codex app right sidebar page. Also use when the…

frankshane/pixel-office · 100 tokens

manage-taskboard

Manage Codex Taskboard / e-taskboard work with taskctl. Use for taskboard issue IDs, status sync, comments, or taskctl cloud setup—not for unrelated product docs.

chuspeeism/dashi-taskboard · 41 tokens

stss

Reduce defensive disclaimers, stacked hedging, and self-protective narration in proposals and decision-facing writing. Use when the user asks to rewrite or audit a proposal, plan, research contribution, executive summary, or similar text for directness. Do not use for ordinary code work or unrelated prose.

lennney/stop-that-shit · 63 tokens