code-flow-quality

code-flow-quality is a skill for Claude Code, Codex from plearaj/code-flow-skill. It costs 49 tokens per session (10,094 once invoked), scanned A, original, Apache-2.0.

A code-quality reporting tool that examines a saved map of how project code connects and reports design problems with file-and-line evidence. It checks ideas such as avoiding duplication, keeping code simple, and assigning responsibilities sensibly.

In plain words
What is it for?
Use it to review the findings in a project's Code_Flows directory, optionally confirm them against the current source, and document violations of the project's written rules.
Why use it?
It helps find repeated logic, unnecessary complexity, unreachable code, awkward dependencies, and costly interfaces without changing the source code.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Good fit Use it to review the findings in a project's Code_Flows directory, optionally confirm them against the current source, and document violations of the project's written rules.

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

Made for: Claude Code, 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 code-flow-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/plearaj/code-flow-skill/code-flow-quality/github.svg)](https://agentmods.dev/skills/plearaj/code-flow-skill/code-flow-quality)
Your own site
<a href="https://agentmods.dev/skills/plearaj/code-flow-skill/code-flow-quality"><img src="https://agentmods.dev/badge/skills/plearaj/code-flow-skill/code-flow-quality/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.

agentmods 80×15 button for code-flow-quality

Your own site · 80×15
<a href="https://agentmods.dev/skills/plearaj/code-flow-skill/code-flow-quality"><img src="https://agentmods.dev/badge/skills/plearaj/code-flow-skill/code-flow-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,094 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00049 $0.10094
Opus 5.5 $0.00020 $0.04038
Sonnet 5.5 $0.00010 $0.02019
Haiku 4.5 $0.00005 $0.01009

Measured 1mo ago against content hash 77677aca466d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-flow-quality 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.

templates/shared/code-flow-quality/SKILL.md · 704 lines

How it starts

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

Code Flow — Quality Report

Read the map this project has already written under Code_Flows/ and report where it shows duplicated intent, needless complexity, code that nothing reaches, responsibilities and dependencies that sit wrong, and modules whose interface costs a caller more than the implementation behind it hides.

This skill never edits source code. code-flow-map adds missing docstrings as it traces; this one writes documents and stops. Consolidating duplicates and deleting suspected-dead code carry real blast radius, and that call is the user's.

User Input

The user's request carries two optional flags, --read-code and --rules. Step 1 reads them.

Instructions

Follow these steps exactly.

1. Read the Arguments

The user's request carries two optional flags:

  • --read-code — after deriving candidate findings from the map, open the files those candidates cite and confirm each against current source. Off by default. It requires the source tree to be present and current, not merely the artifacts under Code_Flows/. It also decides two of step 3's detectors outright: open-closed and liskov-substitution cannot be settled from the map and do not run without it.
  • --rules [source ...] — also check the map against rules this project has already written down. Off by default. A source is a path to a document, the word auto, or a rule written inline in quotes; several may be given, separated by spaces or commas, and --rules with no value means auto. Step 2 loads them and step 3's last detector checks them. This is how a project's own standard — a CLAUDE.md, an AGENTS.md, a Spec Kit constitution, a team style guide — gets reported with the same evidence and the same honesty as DRY, KISS and YAGNI, instead of being a thing everyone agreed to and nobody checks.

There is no feature name to parse: this command analyzes the whole map. If the input contains anything else, say what you read, ignore it, and carry on — do not treat it as a filter, a path, or a flow name.

Read the full file on GitHub · 704 lines

Files

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.

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. 1mo ago First seen · 704 lines · 49 tokens per session scan A 77677aca466d

Subscribe to this mod's changes

code-flow-quality is a skill published in the GitHub repository plearaj/code-flow-skill (2 stars, last pushed 24d ago), licensed Apache-2.0. It adds 49 tokens to every session and 10,094 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

gh-find-prs

Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.

Hmbown/CodeWhale · 27 tokens

review

Diff-scoped correctness review that reads the codebase around the change — callers, contracts, and invariants — and returns line-anchored findings ranked by severity with confidence, then a merge-risk verdict. Use for reviewing a PR, diff, or named change set. Not for style review, approvals-as-rubber-stamp, or…

Hmbown/CodeWhale · 73 tokens

simplify

Review recent code changes for reuse, code quality, and efficiency, then directly apply straightforward cleanup improvements. Use when the user wants a post-implementation cleanup pass, pre-PR polish, or asks to simplify/refine recent changes. Invoke with /simplify or /simplify .

QwenLM/qwen-code · 63 tokens

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

review-this-branch

Run the nohuman review gate (fresh-session adversarial reviewer + tamper guard) over the current branch or a GitHub pull request, with no server, no database, and no onboarding, and relay the pass/fail checklist.

no-human-ai/no_human · 53 tokens

review-diff

Review the working-tree diff for bugs and over-engineering.

decodingai-magazine/building-a-coding-agent-from-scratch-course · 16 tokens