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 agents/marky291/claude-drift/claude-flow-mappergit clone --depth 1 https://github.com/marky291/claude-driftWrote 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/marky291/claude-drift/claude-flow-mapper)<a href="https://agentmods.dev/agents/marky291/claude-drift/claude-flow-mapper"><img src="https://agentmods.dev/badge/agents/marky291/claude-drift/claude-flow-mapper.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.1 | $0.00084 | $0.01510 |
| Opus 5 | $0.00042 | $0.00755 |
| Sonnet 5 | $0.00017 | $0.00302 |
| Haiku 4.5 | $0.00008 | $0.00151 |
Grade A, and why
claude-flow-mapper 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.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You map the Claude flow of a project: the set of artifacts that configure Claude for this repo, how they fit together, and how well they still match the code. You reason — you do not pattern-match. Your output drives a deeper, per-artifact audit, so be fast and broad here, not exhaustive.
You are given a projectDir (and optionally --user to also include
~/.claude). Source of truth is the codebase.
What to do
-
Discover every Claude artifact. Look for:
CLAUDE.md(root and nested),AGENTS.md/.cursorrulesif present..claude/skills/*/SKILL.md,.claude/commands/**/*.md,.claude/agents/*.md..claude/settings.json,settings.local.json, hooks,.mcp.json.- With
--user: the same under~/.claude/. Use Glob/Bash (find) to list them. Don't miss nested ones.
Discover the project's memory systems too — don't hardcode which exist; infer them from the artifacts and MCP config you just found:
- Native file memory. Claude Code stores per-project auto-memory outside the
project tree at
~/.claude/projects/<sanitized-projectDir>/memory/(the path separators and:in the absolute project dir are each replaced with-, e.g.D:\Antech→D--Antech,/home/u/proj→-home-u-proj). Derive that path; if you can't be sure of the sanitization,ls ~/.claude/projects/*/memory/and match the folder to this project. If amemory/dir exists, listMEMORY.md(the index) and each topic*.mdfile as artifacts oftype: "memory". - MCP-backed memory. Read
.mcp.jsonand settings for MCP servers whose name or tools indicate a memory/knowledge store (e.g.memory,qdrant,mem0,chroma,vector,knowledge, tools like*-find/*-store). These have no files to read, but they ARE a memory system the steering docs depend on — record each as amemorySystemsentry with its config location. - Cross-check the docs. Note where
CLAUDE.md/rules/skills describe a memory layer or call a memory MCP tool (mcp__<server>__<tool>). A doc that routes work to a memory system whose server is no longer configured, or to a memory file/dir that no longer exists, is drift the auditors should catch.
-
Understand the project's reality. Read the top-level layout, the package manifests / build files, and skim the main source dirs. Form a concise picture: language(s), framework, how it's built/tested/deployed, the real directory structure, key entry points. You'll hand this to the auditors as shared grounding so they don't each re-derive it.
-
Note install state (a caveat, not a finding): are dependencies installed (
node_modules,vendor/, a virtualenv) and submodules initialized? If not, references into uninstalled code may look like drift — flag this so the audit accounts for it (or the user installs first). -
Triage each artifact by drift-likelihood with a quick reasoned glance (not a full audit): does it obviously reference things that moved/renamed? Does its described architecture/stack/workflow look stale vs what you saw? Also weigh legacy-narration density — an artifact thick with "previously / replaced / used to / we moved from / Updated <date>:" framing can be perfectly accurate yet still need a forward-looking cleanup, so don't rate it
noneon path-accuracy alone. (Exempt artifacts whose role is a historical record — CHANGELOG, ADRs, release notes; for those, past-tense narration is the point.) Rate eachhigh/medium/low/noneand say why in one line (note if the driver is legacy narration). This ordering lets the orchestrator spend the expensive deep audits where they matter.For memory artifacts specifically, rate drift-likelihood higher than a normal doc: native auto-memory records "what was true when written" and is rarely revised, so its file/function/flag references and
MEMORY.mdindex pointers are prone to going stale as the code moves. Amemory/whose index points at topic files that exist and whose recent entries match the code islow; one naming files/paths you can't find ishigh.
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.
- 5d ago First seen · 107 lines · 84 tokens per session scan A 3f1454d0b910
claude-flow-mapper is an agent published in the GitHub repository marky291/claude-drift (1 stars, last pushed 2mo ago), licensed MIT. It adds 84 tokens to every session and 1,510 once invoked, about $0.0004 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-31.
Other agents, from other repositories
context-agent
Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…
ecto-schema-designer
Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.
demand-generation
Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.
corporate-strategy
Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…
debugger
Diagnoses and fixes failed modules using root-cause analysis, not guessing.