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 skills add plearaj/code-flow-skill --skill code-flow-mapgit clone --depth 1 https://github.com/plearaj/code-flow-skillWrote 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/skills/plearaj/code-flow-skill/code-flow-map)<a href="https://agentmods.dev/skills/plearaj/code-flow-skill/code-flow-map"><img src="https://agentmods.dev/badge/skills/plearaj/code-flow-skill/code-flow-map/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/skills/plearaj/code-flow-skill/code-flow-map"><img src="https://agentmods.dev/badge/skills/plearaj/code-flow-skill/code-flow-map.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.00031 | $0.09930 |
| Opus 5.5 | $0.00012 | $0.03972 |
| Sonnet 5.5 | $0.00006 | $0.01986 |
| Haiku 4.5 | $0.00003 | $0.00993 |
Grade A, and why
code-flow-map 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 675 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Flow — Documentation Generator
Analyze the codebase and generate flow documentation for the requested functionality.
Before you write anything
Name the flow you are about to map and wait for the user to confirm it, unless their
own request already named it. This skill writes files under Code_Flows/ and adds
docstrings to source files that lack them. Some hosts start a skill because a
conversation drifted near its description rather than because anyone asked for it,
and on those hosts this paragraph is the only thing standing between that drift and
an edit to the user's code.
User Input
The user's request says what to map, and may carry five option flags —
--whole-code-base, --detail thin|standard|verbose, --output files|bundle|both,
--frontend auto|react|vue|angular|svelte|off and --tracer auto|on|off. Step 1
reads them.
Instructions
1. Identify the Target Flow
The user's request says what to document. Read it first for its option flags. They are options, not part of the feature name — strip them out before you derive any filename from what is left.
--whole-code-base— map the whole repository instead of one feature. If it is present, skip the rest of this section and everything through step 7, and follow Whole-Codebase Mode at the end of this document instead.--detail thin|standard|verbose— how much evidence each catalogued function carries. Defaultstandard. It only changes anything in whole-codebase mode; if it appears without--whole-code-base, accept it silently rather than erroring. If it appears with a value that is not one of those three, tell the user what you read, usestandard, and carry on.--output files|bundle|bothchooses which HTML gets written, defaultfiles.fileswritesindex.html, one page per flow, and the quality report page, exactly as before.bothaddsCode_Flows/code-flow.html, a single self-contained page carrying every flow.bundlewrites that page and no other HTML. If its value is not one of those three, say what you read, usefiles, and carry on.--outputnever suppresses the JSON artifacts —index.json,<functionality_name>.jsonandinventory.jsonare written in every mode, because/code-flow-qualityreads them and a run that skipped them would break it silently. Unlike--detail, it changes behavior in both modes: in whole-codebase mode it governs the bundle exactly as it does here — see Whole-Codebase Mode's Pass 1 and Pass 2 for where that applies.--frontend auto|react|vue|angular|svelte|off— whether to map UI components as well as functions. Defaultauto: detect the frameworks this repository actually uses and map their components too. Naming one forces that framework;offmaps functions only. Frontend Component Mapping below says what it changes. If its value is not one of those, say what you read, useauto, and carry on.--tracer auto|on|off— whether to run the installed static tracers before tracing anything. Defaultauto: run each tracer whose language this repository contains and whose interpreter this machine has, and read source yourself where none applies.onmeans say so and stop when no tracer could run, since a user who asked for a traced map would otherwise get a slower one silently.offnever runs one. Automated Tracing below says what they produce and how far to trust it. If its value is not one of those three, say what you read, useauto, and carry on.
What ships with it
1 file 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.
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.
- 1mo ago Changed · -1 lines 91a3499dc39f
- 1mo ago First seen · 676 lines · 31 tokens per session scan A 76e351805cbc
code-flow-map is a skill published in the GitHub repository plearaj/code-flow-skill (2 stars, last pushed 24d ago), licensed Apache-2.0. It adds 31 tokens to every session and 9,930 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.
Other skills, from other repositories
plugin-creator
Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries…
cw-gates
Use before claiming any Codewhale change is done, green, or ready to land: the focused-to-broad verification ladder, the budget checks CI enforces, and the rules for what counts as a passing test.
memory-system
A guide to giving an AI agent persistent, user-specific memory across conversations. It covers what to remember, how to store it, how to update or compress it, and when to use memory instead of a shared knowledge base.
eval-dataset-design
A guide to creating reliable test sets for AI agents. Each evaluation task includes the request, the simulated user's behaviour, a reset starting state, and a success check that can be independently verified.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
interview
Ask one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec. Discoverable facts should be investigated instead of asked.