aios-codemap-ops

aios-codemap-ops is a skill for Codex from rexleimo/aios. It costs 60 tokens per session (850 once invoked), scanned B, original, MIT.

A quick reference for code-review-graph, a tool that maps relationships in a codebase such as which functions call each other or which tests cover a function. It lists available commands and their parameters.

In plain words
What is it for?
Use it to look up callers, callees, imports, tests, inheritance, file summaries, and refactoring operations such as project-wide renames.
Why use it?
It removes the need to remember the graph tool's command names and helps choose the right code relationship to query.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Good fit Use it to look up callers, callees, imports, tests, inheritance, file summaries, and refactoring operations such as project-wide renames.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rexleimo/aios/baseline
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 rexleimo/aios --skill baseline
Clone the repo
git clone --depth 1 https://github.com/rexleimo/aios

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 aios-codemap-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/rexleimo/aios/baseline.svg)](https://agentmods.dev/skills/rexleimo/aios/baseline)
Your own site
<a href="https://agentmods.dev/skills/rexleimo/aios/baseline"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/baseline.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 850 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00060 $0.00850
Opus 5 $0.00030 $0.00425
Sonnet 5 $0.00012 $0.00170
Haiku 4.5 $0.00006 $0.00085

Measured 3d ago against content hash e74184c2678f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

aios-codemap-ops scanned grade B with 1 finding 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 3d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| Codex | `~/.codex/config.toml` (`[mcp_servers.code-review-graph]`) |
docs/evidence/skill-training/aios-codemap-ops-certification-2026-07-30T08-09-49-966Z/baseline-skill.md · 88 lines

How it starts

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

CRG Tool Quick Reference

Install/Doctor Targets

aios internal codemap install --client all should make CRG available to the AIOS-supported clients:

Client Config written
Codex ~/.codex/config.toml ([mcp_servers.code-review-graph])
Claude Code <project>/.mcp.json
Gemini CLI <project>/.gemini/settings.json
OpenCode ~/.config/opencode/opencode.json plus plugins/crg-plugin.ts

If a client cannot see CRG tools, run aios internal codemap doctor --fix --client <client> from the target project, then restart that client.

query_graph patterns

Pattern Returns
callers_of Functions that call the target
callees_of Functions called by the target
imports_of Imports from a file/module
importers_of Files that import a file/module
children_of Nodes contained in a file/class
tests_for Tests covering the target
inheritors_of Classes inheriting from target
file_summary All nodes in a file

refactor_tool modes

Mode Action
rename Preview rename across all locations
dead_code Find unreferenced symbols
suggest Community-driven refactoring suggestions

Confidence tiers

Tier Meaning
EXTRACTED Certain — directly parsed from code
INFERRED Likely — deduced from patterns
AMBIGUOUS Guess — low confidence

detail_level

  • minimal (default): summary + counts + key entity names
  • standard: full output with node/edge details

Always start with minimal. Escalate to standard only when insufficient.

Key tool parameters

Tool Key params
get_minimal_context task (required)
detect_changes base, detail_level, changed_files
get_impact_radius changed_files, max_depth, detail_level
get_review_context base, detail_level, include_source
get_affected_flows changed_files, base
semantic_search_nodes query, kind, limit
query_graph pattern, target, detail_level
traverse_graph query, mode (bfs/dfs), depth, token_budget
find_large_functions min_lines, kind, file_path_pattern
get_architecture_overview (none)
get_hub_nodes top_n
get_bridge_nodes top_n
get_knowledge_gaps (none)
get_surprising_connections top_n
get_suggested_questions (none)

Read the full file on GitHub · 88 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. 3d ago First seen · 88 lines · 60 tokens per session scan B e74184c2678f

Subscribe to this mod's changes

aios-codemap-ops is a skill published in the GitHub repository rexleimo/aios (52 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 850 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.