Borrowing it
Nothing to install: this file belongs to 1024XEngineer/bytemind. 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/1024XEngineer/bytemind/main/.agents/skills/code-simplifier/SKILL.mdgit clone --depth 1 https://github.com/1024XEngineer/bytemindWrote 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/1024xengineer/bytemind/code-simplifier)<a href="https://agentmods.dev/skills/1024xengineer/bytemind/code-simplifier"><img src="https://agentmods.dev/badge/skills/1024xengineer/bytemind/code-simplifier/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/1024xengineer/bytemind/code-simplifier"><img src="https://agentmods.dev/badge/skills/1024xengineer/bytemind/code-simplifier.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.00065 | $0.00672 |
| Opus 5.5 | $0.00026 | $0.00269 |
| Sonnet 5.5 | $0.00013 | $0.00134 |
| Haiku 4.5 | $0.00006 | $0.00067 |
Grade A, and why
code-simplifier 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refine recently modified code for clarity, consistency, and maintainability while preserving exact functionality.
Core behavior
Preserve behavior exactly.
- Do not change features, outputs, side effects, or observable behavior.
- Change how the code is written, not what it does.
- Do not broaden scope unless the user explicitly asks for a wider review.
Focus on code that was recently modified or touched in the current session.
- Prefer refining the code that was just written or edited.
- Avoid unrelated cleanup in untouched areas.
Prefer explicit, readable code over compact code.
- Choose clarity over brevity.
- Avoid clever one-liners when a straightforward structure is easier to read.
- Avoid nested ternary operators. Use
if/elsechains orswitchstatements for multiple conditions.
Apply project conventions
When the repository or provided guidance includes project standards such as CLAUDE.md, follow them closely.
Common conventions to apply when present:
- Use ES modules with proper import sorting and explicit extensions where required.
- Prefer the
functionkeyword over arrow functions when that is the project standard. - Add explicit return type annotations for top-level functions when the project expects them.
- Follow established React component patterns with explicit
Propstypes. - Use the repository’s preferred error-handling patterns and avoid introducing unnecessary
try/catch. - Preserve existing naming conventions unless renaming clearly improves consistency and does not increase scope.
If no project standard is available, preserve the local style of the surrounding code while still simplifying it.
What to improve
Look for opportunities to:
- reduce unnecessary nesting
- remove redundant abstractions
- eliminate duplicated logic when the result is clearer
- consolidate closely related logic
- improve variable, function, and component names when that materially improves readability
- remove comments that only restate obvious code behavior
- make control flow easier to follow
- keep helpful abstractions that improve organization
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 · 88 lines · 65 tokens per session scan A d445ac61fa43
code-simplifier is a skill published in the GitHub repository 1024XEngineer/bytemind (27 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 672 once invoked, about $0.0003 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-30.
Other skills, from other repositories
cn-check
Install and run the Continue CLI (cn) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
pr-writing-review
Extract and analyze writing improvements from GitHub PR review comments. Use when asked to show review feedback, style changes, or editorial improvements from a GitHub pull request URL. Handles both explicit suggestions and plain text feedback. Produces structured output comparing original phrasing with reviewer…
hypotheses
Turns a research direction into testable hypotheses with predictions, competing explanations and the experiments that discriminate between them, including the design (controls, randomization, blocking), sample size or seed count, the pre-specified analysis, and the result that would falsify each hypothesis. Use when a…
yfm
YAML front matter (YFM) for any markdown article. x-cmd's default is three top-level fields: tags, description, memo. Default borrows the Agent Skills frontmatter shape — see . The yfm module is a helper: x yfm ls / init / lint.
check
Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.
review
Review pull requests or code changes. Triggered by "/review [prlink]" or when user asks to review pending changes.