repository-intelligence

repository-intelligence is a skill for Codex from cmdr-chara/codex-toolkit. It costs 36 tokens per session (557 once invoked), scanned A, original, MIT.

A repository-analysis guide that maps a codebase’s structure, ownership, dependencies, boundaries, risk areas, and likely effects of a proposed change. A repository is the project’s stored source code and related files.

In plain words
What is it for?
Use it to document architecture, identify owners and dependency boundaries, assess change impact, find risky shared areas, and spot likely edit or merge conflicts.
Why use it?
It helps you understand where a change belongs and what it might affect before editing. The analysis is evidence-based and does not silently modify the repository.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to document architecture, identify owners and dependency boundaries, assess change impact, find risky shared areas, and spot likely edit or merge conflicts.

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

Made for: 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 repository-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/repository-intelligence/github.svg)](https://agentmods.dev/skills/cmdr-chara/codex-toolkit/repository-intelligence)
Your own site
<a href="https://agentmods.dev/skills/cmdr-chara/codex-toolkit/repository-intelligence"><img src="https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/repository-intelligence/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 repository-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/cmdr-chara/codex-toolkit/repository-intelligence"><img src="https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/repository-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 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.00036 $0.00557
Opus 5.5 $0.00014 $0.00223
Sonnet 5.5 $0.00007 $0.00111
Haiku 4.5 $0.00004 $0.00056

Measured 24d ago against content hash 4041a6321ee8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repository-intelligence 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 24d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/repo_signal_scan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/repository-intelligence/SKILL.md · 56 lines

How it starts

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

Repository Intelligence

Build an evidence-backed map of the repository without turning discovery into implementation.

Trigger boundary

Use this skill for architecture/ownership mapping, dependency boundaries, blast radius, hotspots, change impact, or likely edit conflicts.

Do not trigger to delegate work, implement the change, diagnose a specific runtime failure, or approve a release.

Required inputs

Resolve repository root, task/change hypothesis, candidate/base ref when relevant, working-tree state, generated/vendor boundaries, and the decision this map must support.

For a breadth-first signal scan:

python skills/repository-intelligence/scripts/repo_signal_scan.py . --format markdown

Treat scanner output as evidence leads, not ownership truth.

Safety baseline

  • Preserve uncommitted user work and remain read-only.
  • Do not edit generated/vendor content during mapping.
  • Distinguish facts from inference and state confidence.
  • Prefer repository-native manifests, imports, registrations, schemas, tests, and build/deploy configuration over naming guesses.

Workflow

  1. Frame the decision. State what must be mapped and what would change the next action.
  2. Establish state. Record branch/ref, worktree changes, languages/workspaces, generated boundaries, and major entry points.
  3. Map components and dependencies. Trace imports/calls, data/contracts, routes/events, build/runtime links, persistence, and operational boundaries.
  4. Determine ownership. Use code/config/history/docs evidence; mark ambiguous ownership rather than inventing it.
  5. Map impact. Identify direct edits, consumers, compatibility surfaces, tests, deployment units, migrations, and generated outputs.
  6. Locate hotspots/conflicts. Highlight high-coupling/stateful areas and likely overlapping write scopes.
  7. Report. Use references/evidence-model.md and references/output-schema.md for the evidence/confidence contract.

Handoffs and interaction boundaries

Read the full file on GitHub · 56 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago Changed · -137 lines · -44 tokens per session 4041a6321ee8
  2. 1mo ago First seen · 193 lines · 80 tokens per session scan A a648c82a6c30

Subscribe to this mod's changes

repository-intelligence is a skill published in the GitHub repository cmdr-chara/codex-toolkit (2 stars, last pushed 11d ago), licensed MIT. It adds 36 tokens to every session and 557 once invoked, about $0.0001 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

Other skills, from other repositories

trace

Use when encountering bugs, test failures, runtime errors, broken builds, or "this doesn't work" reports. Systematic root-cause analysis before any patch — never blind-patches symptoms. Standalone, ends with a final-integration review of the fix. Trigger with /hyperflow:trace, "debug this", "find the root cause", "why…

jeremylongshore/tons-of-skills-marketplace · 84 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens

skeptical-triage

Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.

avelikiy/great_cto · 49 tokens

anti-patterns

Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).

avelikiy/great_cto · 59 tokens

review-all

Multi-agent code review for diffs (project-agnostic). Covers standards, bugs, security, DRY, smells, perf, tests, API contracts, a11y/i18n. Verifies each finding to eliminate false positives. Use for /review-all, pre-PR/pre-commit review, or auditing uncommitted/staged changes.

ncoevoet/claude-review-all · 74 tokens

code-coherence-review

Reviews code and plans for logic coherence, correctness, and structural integrity.

ntorga/agent-starter-kit · 19 tokens