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.
npx agentmods add commands/fmarzochi/egc/update-codemapsgit clone --depth 1 https://github.com/Fmarzochi/EGCWrote 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/commands/fmarzochi/egc/update-codemaps)<a href="https://agentmods.dev/commands/fmarzochi/egc/update-codemaps"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/update-codemaps.svg" alt="Measured on agentmods" 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 | $0.00008 | $0.00358 |
| Opus 5 | $0.00004 | $0.00179 |
| Sonnet 5 | $0.00002 | $0.00072 |
| Haiku 4.5 | $0.00001 | $0.00036 |
Grade A, and why
update-codemaps 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
Update Codemaps Command
Update codemaps to reflect current codebase structure: $ARGUMENTS
Your Task
Generate or update codemaps in docs/CODEMAPS/ directory:
- Analyze codebase structure
- Generate component maps
- Document relationships
- Update navigation guides
Codemap Types
Architecture Map
docs/CODEMAPS/ARCHITECTURE.md
- High-level system overview
- Component relationships
- Data flow diagrams
Module Map
docs/CODEMAPS/MODULES.md
- Module descriptions
- Public APIs
- Dependencies
File Map
docs/CODEMAPS/FILES.md
- Directory structure
- File purposes
- Key files
Codemap Format
[Module Name]
Purpose: [Brief description]
Location: src/[path]/
Key Files:
file1.ts- [purpose]file2.ts- [purpose]
Dependencies:
- [Module A]
- [Module B]
Exports:
functionName()- [description]ClassName- [description]
Usage Example:
import { functionName } from '@/module'
Generation Process
- Scan directory structure
- Parse imports/exports
- Build dependency graph
- Generate markdown maps
- Validate links
TIP: Keep codemaps updated when adding new modules or significant refactoring.
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 First seen · 82 lines · 8 tokens per session scan A b022a2f7d7b2
update-codemaps is a command published in the GitHub repository Fmarzochi/EGC (48 stars, last pushed today), licensed Apache-2.0. It adds 8 tokens to every session and 358 once invoked, about $0.0000 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-09-03.
Other commands, from other repositories
weekly
Weekly memory report — facts learned, procedures, repeated mistakes prevented.
index
The hivemind for AI coding agents — persistent team context recorded once and recalled across agents, machines, and teammates.
guidelines
Complete reference for managing execution guidelines — testing, coding style, process, and more.
project
Complete reference for all project-related commands — init, show, and update.
search-index
Complete reference for rebuilding the projected Jumbo search index.
optimize-in-context-memory
Optimize Saori's always-loaded incontext memory pack — leaner tokens, sharper priority, honest forgetting.