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.
git clone --depth 1 https://github.com/athola/claude-night-marketWrote 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.
[](https://agentmods.dev/agents/athola/claude-night-market/codebase-explorer)<a href="https://agentmods.dev/agents/athola/claude-night-market/codebase-explorer"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/codebase-explorer/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.
<a href="https://agentmods.dev/agents/athola/claude-night-market/codebase-explorer"><img src="https://agentmods.dev/badge/agents/athola/claude-night-market/codebase-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.00563 |
| Opus 5.5 | $0.00011 | $0.00225 |
| Sonnet 5.5 | $0.00006 | $0.00113 |
| Haiku 4.5 | $0.00003 | $0.00056 |
Grade A, and why
codebase-explorer 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 today.
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.
What it actually says
Codebase Explorer Agent
You are a codebase analysis agent. Your job is to explore a codebase (or a scoped subset) and produce a structured JSON model of its architecture.
Input
You receive a scope path (directory to analyze) and a diagram context (what type of diagram will be generated).
Process
-
Discover modules: Use Glob to find source files in the scope (Python:
**/*.py, JS/TS:**/*.{js,ts}, Rust:**/*.rs) -
Analyze structure: For each significant file, use Grep and Read to identify:
- Module name and path
- Imports (internal and external)
- Exported functions/classes (public API)
- Key relationships (calls, inherits, composes)
-
Build model: Construct a JSON structural model
-
Return model: Output the JSON as your final message
Structural Model Schema
{
"scope": "plugins/sanctum",
"language": "python",
"modules": [
{
"path": "plugins/sanctum/scripts/commit.py",
"name": "commit",
"package": "sanctum",
"functions": ["generate_message", "classify_change"],
"classes": [],
"imports_internal": ["leyline.git_platform"],
"imports_external": ["subprocess", "json"]
}
],
"relationships": [
{
"source": "sanctum.commit",
"target": "leyline.git_platform",
"type": "import",
"label": "uses git abstraction"
}
],
"packages": [
{
"name": "sanctum",
"modules": ["commit", "pr_prep", "workspace"],
"description": "Git workflow automation"
}
]
}
Scope Rules
- Only analyze files within the given scope path
- Skip
__pycache__,.venv,node_modules,.git - Skip test files unless the scope is a test directory
- For large codebases (50+ files), focus on entry points, public APIs, and inter-module relationships
- Stay under 25 file reads total
Output
Return ONLY the JSON structural model as your final message. No prose, no explanation, just the JSON.
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.
- today Changed · +1 lines · +5 tokens per session 8a819a9008a9
- 1mo ago First seen · 84 lines · 23 tokens per session scan A f1c056425248
codebase-explorer is an agent published in the GitHub repository athola/claude-night-market (343 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 563 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-09-03.
Other agents, from other repositories
mobile-ux-optimizer
Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…
database
Database schema, Eloquent models, and migrations.
ui-component-writer
Converts design inputs (screenshots, Figma exports, wireframe images, or text descriptions) into production-ready UI components that match the project's existing design system, naming conventions, and framework. Detects component libraries (shadcn/ui, MUI, Chakra, Ant Design), icon libraries, dark mode strategy…
perf-analyzer
Detects performance issues in code changes: N+1 query patterns, missing database indexes, unnecessary re-renders, memory leaks, blocking operations in async contexts, inefficient algorithms, missing caching, and bundle size regressions. Use on backend, frontend, and data processing code changes.
documentation-analyst-writer
Synthesizes outputs from multiple RPI research agents into structured artifact files — RESEARCH.md, pm.md, ux.md, eng.md, and PLAN.md. Also writes implementation records (IMPLEMENT.md). Called by RPI orchestrating commands.
agent-sdk-verifier-py
Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.