codex-insights

codex-insights is a skill for Claude Code, Codex from Not-Dev-Tech/codex-insights-local. It costs 57 tokens per session (529 once invoked), scanned A, original, MIT.

A local, read-only report about how Codex is being used, including sessions, token use, models, settings, connected tools, skills, prompts, and goals. It also separates measured information from calculated, estimated, or unavailable information.

In plain words
What is it for?
Use it to review usage over a chosen time period, inspect model and token patterns, identify repeated prompts or failures, and get suggested profiles.
Why use it?
It gives you a structured view of usage and configuration without changing your Codex settings or opening every raw session log.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Good fit Use it to review usage over a chosen time period, inspect model and token patterns, identify repeated prompts or failures, and get suggested profiles.

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

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 codex-insights

README.md
[![agentmods](https://agentmods.dev/badge/skills/not-dev-tech/codex-insights-local/skill/github.svg)](https://agentmods.dev/skills/not-dev-tech/codex-insights-local/skill)
Your own site
<a href="https://agentmods.dev/skills/not-dev-tech/codex-insights-local/skill"><img src="https://agentmods.dev/badge/skills/not-dev-tech/codex-insights-local/skill/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 codex-insights

Your own site · 80×15
<a href="https://agentmods.dev/skills/not-dev-tech/codex-insights-local/skill"><img src="https://agentmods.dev/badge/skills/not-dev-tech/codex-insights-local/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 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.00057 $0.00529
Opus 5.5 $0.00023 $0.00212
Sonnet 5.5 $0.00011 $0.00106
Haiku 4.5 $0.00006 $0.00053

Measured yesterday against content hash 5d4691b67a3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-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 yesterday.

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.

skill/SKILL.md · 57 lines

What it actually says

Codex Insights

Use o coletor determinístico instalado. Não abra todos os rollouts com o modelo e não use subagentes para gerar o relatório.

Procedimento

  1. Interprete os argumentos. Padrões: days=30, inclui sessões principais e subagentes, não inclui arquivos arquivados.
  2. Execute uma vez:
codex-insights report --days <dias>

Adicione quando solicitado:

  • --all-time
  • --include-archived
  • --exclude-subagents
  • --include-full-prompts
  • --mcp-verbose-file <arquivo>
  • --no-latest
  1. Leia primeiro report.md. Consulte report.json somente para detalhes estruturados. Não reabra os JSONL brutos.
  2. Diferencie explicitamente:
    • medido nos rollouts/configs;
    • derivado deterministicamente;
    • heurístico;
    • indisponível.
  3. Destaque:
    • tokens de sessões principais e subagentes separadamente;
    • distribuição por modelo, effort, projeto e profile;
    • MCPs, skills e falhas;
    • prompts substantivos repetidos;
    • contexto automático excluído;
    • profiles sugeridos em suggested-profiles/;
    • participação do top 20% e tamanho do grupo que chega a 80%;
    • arquivo suggested-config.toml para mesclar no config global;
    • skills para manter, revisar ou considerar remover, com caminho exato e ação;
    • cobertura e limitações;
    • arquivos comprimidos não analisados e avisos de telemetria mista;
    • token_usage_record.usage como fonte preferida na versão 0.173.0, mantendo snapshots legados apenas como fallback e nunca somando as duas fontes;
    • chamadas internas de Code Mode somente quando houver telemetria registrada.
  4. Não altere configs, profiles, MCPs ou skills sem pedido separado e explícito.
  5. Não exponha credenciais, tokens, cookies ou texto integral de prompts sem solicitação explícita.

Invocação sugerida

$codex-insights days=30
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. yesterday Changed · +8 lines 5d4691b67a3d
  2. 3mo ago First seen · 49 lines · 57 tokens per session scan A 5e0c38eb4d74

Subscribe to this mod's changes

codex-insights is a skill published in the GitHub repository Not-Dev-Tech/codex-insights-local (1 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 529 once invoked, about $0.0002 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

codex-insights compared with skills from other repositories

codex-insights next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-insightsNot-Dev-Tech/codex-insights-localSkill12d agoMITA57Claude Code, Codex
recapM-T-D-N/agentmemory-codex-windowsSkill22d agoApache-2.0A58Claude Code
hermes-codex-operatorAlekseiUL/hermes-codex-operatorSkill54d agoMITA65Claude Code, Codex
consultjgassens/codex-terminal-proSkill31mo agoMITA114Claude Code, Codex
review-contractChesterRa/ccccSkill1.4ktodayApache-2.0A59Claude Code
validate-dataChesterRa/ccccSkill1.4ktodayApache-2.0A55Claude Code
knowledge-synthesisChesterRa/ccccSkill1.4ktodayApache-2.0A38Claude Code