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.5 $0.00031 $0.00204
Sonnet 5.5 $0.00016 $0.00102
Haiku 4.5 $0.00008 $0.00051

Measured 2mo ago against content hash 7e42dced46ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 1mo ago), licensed MIT. It adds 78 tokens to every session and 511 once invoked, about $0.0003 per session on Opus 5.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

insights compared with skills from other repositories

insights next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
insightssasly2048/codex-atlasSkill11mo agoMITA78Claude Code
prewalkvivekascoder/codex-prewalkSkill12mo agoApache-2.0A33Claude Code
cinematic-storyboard-sheet0xagi-bsky-social/Codex-SkillsSkill25mo agoMITA110Codex
deconstruct-bias-dialogue0xagi-bsky-social/Codex-SkillsSkill25mo agoMITA99Codex
pixel-officefrankshane/pixel-officeSkill72mo agononeA100Codex
manage-taskboardchuspeeism/dashi-taskboardSkill3.5kyesterdayApache-2.0A60Codex
stsslennney/stop-that-shitSkill3.7k2d agoMITA75Claude Code, Codex