Borrowing it
Nothing to install: this file belongs to FangYuan33/easy-code-reader. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/FangYuan33/easy-code-reader/master/.github/prompts/easy-code-reader-rule.prompt.mdgit clone --depth 1 https://github.com/FangYuan33/easy-code-readerWrote 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/fangyuan33/easy-code-reader/easy-code-reader-rule)<a href="https://agentmods.dev/commands/fangyuan33/easy-code-reader/easy-code-reader-rule"><img src="https://agentmods.dev/badge/commands/fangyuan33/easy-code-reader/easy-code-reader-rule/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/commands/fangyuan33/easy-code-reader/easy-code-reader-rule"><img src="https://agentmods.dev/badge/commands/fangyuan33/easy-code-reader/easy-code-reader-rule.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.00000 | $0.00764 |
| Opus 5.5 | $0.00000 | $0.00306 |
| Sonnet 5.5 | $0.00000 | $0.00153 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
easy-code-reader-rule 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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Easy Code Reader Usage Rules
Use these two tools for Java source in a local Maven repository:
search_group_id: find candidate Maven groupIds and versions from a known artifact ID.read_jar_source: read a fully qualified class from an explicit Maven coordinate.
Search
Supply artifact_id without the version. If known, provide a complete group_prefix, such as org.springframework; it matches group segments from the beginning, case-insensitively. version_hint is an optional version substring. Omit uncertain filters. Every search reads the current repository directly, so newly installed or removed dependencies appear on the next call.
Choose the intended groupId and version from matches. Numeric version segments follow Maven ordering; do not infer the desired application version solely from the first result.
Read
{
"group_id": "org.springframework",
"artifact_id": "spring-core",
"version": "5.3.21",
"class_name": "org.springframework.core.SpringVersion"
}
Omitted line bounds return the complete source. To reduce subsequent output, pass start_line and/or end_line; lines are 1-based and both bounds are inclusive. For an explicit range, inspect total_lines and is_partial before treating a snippet as the whole implementation. Those fields are omitted for full reads.
Internal classes use binary names, such as org.example.Outer$Inner. The tool may return the outer file with a short warning. Full reads otherwise return only class_name, artifact, source_type and code.
Sources are preferred unless prefer_sources=false. SNAPSHOTs prefer the ordinary main JAR for reading and the latest timestamped main JAR name for caching, with numeric build-number ordering. If the ordinary main JAR is absent, read the timestamped JAR. Ordinary main JARs prefer ordinary sources, then matching timestamped sources; timestamped main JARs use matching sources. The actual path and resolved version are kept in internal diagnostics rather than repeated in every response.
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 First seen · 51 lines · 0 tokens per session scan A e73e747f7d4d
easy-code-reader-rule is a command published in the GitHub repository FangYuan33/easy-code-reader (154 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 764 tokens. 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-18.
Other commands, from other repositories
profile
Coordinate a reproducible Java profiling and optimization lifecycle.
devkit.java.upgrade-dependencies
Manages safe and incremental dependency upgrades for Java/Maven/Gradle projects with breaking change detection and migration guides. Use when upgrading project dependencies or migrating to new library versions.
scaffold-spring-api
Scaffold a new Spring Boot 3.5.x WebFlux REST API project with standard structure, build config, and sample endpoint.
savant-jvm
JVM performance optimization with JVM Developer agent.
java-exercise-pattern
A command for creating a new exercise about software design patterns or SOLID principles. SOLID is a group of principles for structuring object-oriented code.
java-exercise-fix
A code-fixing command for a Java exercise that explains the correction and adds a memory aid.