codebase-intel

codebase-intel is a skill for Claude Code, Codex from wednesday-solutions/ai-agent-skills. It costs 40 tokens per session (1,005 once invoked), scanned A, original, MIT.

A codebase guide that answers questions about a software project's structure, logic, dependencies, history, and potential change impact.

In plain words
What is it for?
Use it to locate features, summarize files, review architecture, inspect Git history, find unused or circular dependencies, and assess a change's blast radius—the parts it could affect.
Why use it?
It helps developers understand unfamiliar code and see what might break before editing or removing something.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/wednesday-solutions/ai-agent-skills/codebase-intel
Any agent
npx skills add wednesday-solutions/ai-agent-skills --skill codebase-intel
Clone the repo
git clone --depth 1 https://github.com/wednesday-solutions/ai-agent-skills

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 codebase-intel

README.md
[![agentmods](https://agentmods.dev/badge/skills/wednesday-solutions/ai-agent-skills/codebase-intel.svg)](https://agentmods.dev/skills/wednesday-solutions/ai-agent-skills/codebase-intel)
Your own site
<a href="https://agentmods.dev/skills/wednesday-solutions/ai-agent-skills/codebase-intel"><img src="https://agentmods.dev/badge/skills/wednesday-solutions/ai-agent-skills/codebase-intel.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.01005
Opus 5 $0.00020 $0.00502
Sonnet 5 $0.00008 $0.00201
Haiku 4.5 $0.00004 $0.00101

Measured 5d ago against content hash c8275c04b22e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codebase-intel 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 5d 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/codebase-intel/SKILL.md · 84 lines

How it starts

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

Codebase Intelligence Specialist

This skill provides a comprehensive understanding of the project's structure, intent, and risk. Use it for everything from high-level architecture questions to detailed impact analysis before editing code.

When to use

1. Codebase Discovery & Q&A

  • "What does tokenService do?" (Summaries)
  • "Where is the payment logic located?" (Role/Path mapping)
  • "Show me an overview of the architecture." (Stats & Entry points)
  • "Who last touched this file?" (Git history)
  • "Find circular dependencies or dead code." (Structural audit)

2. Risk Assessment (Before Editing)

  • "Is it safe to change this function signature?"
  • "What is the blast radius of this file?"
  • "What will break if I delete this constant?"

3. Graph Maintenance

  • If a query returns "not mapped" or coverage is low.
  • If you notice missing dependencies in the graph.

How to use — by task type

🔍 Discovery & Q&A

  1. File Summary: Bash(wednesday-skills query getFileSummary <file_path>)
    • Returns: Role, Summary, Risk Score, and Blast Radius.
  2. Architecture Stats: Bash(wednesday-skills query getCodebaseStats)
    • Use getHighConfidenceEntryPoints to identify the best starting files.
  3. Advanced Lookups:
    • Bash(wednesday-skills query getHighRiskFiles 70) — find critical technical debt.
    • Bash(wednesday-skills query getCircularDependencies) — find architectural smells.
    • Bash(wednesday-skills query getAllDeadCode) — find unreachable modules.
  4. Context: Read .wednesday/codebase/MASTER.md for danger zones and primary data flows.
  5. History: Bash(git log --follow --oneline -20 -- <file>) for authorship.

⚠️ Pre-Edit Safety Check (Mandatory)

Before modifying any file, you MUST perform these checks:

  1. Check Risk: Bash(wednesday-skills query getFileSummary <file_path>)
    • Score 0–30: Proceed directly.
    • Score 31–60: Inform dev of the risk, proceed with care.
    • Score 61–80: List direct dependents and transitive count; ask confirmation.
    • Score 81–100: STOP. Require explicit dev approval before touching.
  2. Blast Radius: Bash(wednesday-skills blast <file_path>::<symbol_optional>)
    • Review direct/transitive callers. Use this for cross-language impact (Go/Py/JS).

Read the full file on GitHub · 84 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. 5d ago First seen · 84 lines · 40 tokens per session scan A c8275c04b22e

Subscribe to this mod's changes

codebase-intel is a skill published in the GitHub repository wednesday-solutions/ai-agent-skills (168 stars, last pushed 3mo ago), licensed MIT. It adds 40 tokens to every session and 1,005 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

macos-swiftpm

Build, run, and test SwiftPM macOS packages and executables. Use when the repo is package-first or has no Xcode project.

robinebers/openusage · 35 tokens

macos-test-triage

Triage macOS tests across Xcode and SwiftPM. Use when narrowing failures, explaining assertions or crashes, or separating setup from regressions.

robinebers/openusage · 36 tokens

debug-live

Guides root-cause investigations with debugging capabilities by setting breakpoints, starting a debug session, stepping through execution, inspecting variables, and tracing symptoms back to their origin. Prefer it for runtime bugs, failing tests, exceptions, crashes, hangs, wrong/null values, and unexpected output…

microsoft/DebugMCP · 84 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

calesthio/OpenMontage · 46 tokens

seedance-2-5

Generate 4-30 second cinematic video with ByteDance Seedance 2.5 through fal.ai, Volcengine Ark, Runway, or ComfyUI Partner Nodes. Use for long single generations, synchronized audio, and large multimodal reference sets (up to 30 images, 10 videos, and 10 audio clips). Also covers the 2.5 prompt contract: section…

calesthio/OpenMontage · 117 tokens