simplify

simplify is a skill for Claude Code, Codex from woodfishhhh/EZ_math_model. It costs 38 tokens per session (199 once invoked), scanned A, original, MIT.

A code-review skill for simplifying Python files after modeling code is written. It checks reuse, speed, naming, error handling, and consistency with the modeling plan.

In plain words
What is it for?
Reviewing source Python files and writing a report of suggested improvements without changing the code.
Why use it?
It spots duplicated logic, slow loops, unnecessary defensive code, unclear names, and differences between the plan and the implementation before packaging.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/woodfishhhh/ez_math_model/simplify
Any agent
npx skills add woodfishhhh/EZ_math_model --skill simplify
Clone the repo
git clone --depth 1 https://github.com/woodfishhhh/EZ_math_model

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 simplify

README.md
[![agentmods](https://agentmods.dev/badge/skills/woodfishhhh/ez_math_model/simplify.svg)](https://agentmods.dev/skills/woodfishhhh/ez_math_model/simplify)
Your own site
<a href="https://agentmods.dev/skills/woodfishhhh/ez_math_model/simplify"><img src="https://agentmods.dev/badge/skills/woodfishhhh/ez_math_model/simplify.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00199
Opus 5 $0.00019 $0.00100
Sonnet 5 $0.00008 $0.00040
Haiku 4.5 $0.00004 $0.00020

Measured 3d ago against content hash 34b444b90dd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

simplify 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 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.

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.

skills/ez-math-model/tools/simplify/SKILL.md · 31 lines

What it actually says

simplify — 建模代码质量检查

何时使用

  • pipeline 03 coding 完成后。
  • pipeline 06 packaging 之前。
  • hybrid / multi 模式下希望额外检查 src/*.py

调用方式

优先加载宿主 simplify skill,输入所有 src/*.py。只输出建议,不直接修改代码。

检查重点:

  • 重复逻辑和可抽取工具函数。
  • 低效循环与可向量化处理。
  • 过度防御或吞异常。
  • 命名混乱。
  • 与 modeling_plan 不一致的实现。

输出:

workdir/{task_id}/simplify_report.md
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 · 31 lines · 38 tokens per session scan A 34b444b90dd4

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository woodfishhhh/EZ_math_model (39 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 199 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories