bytemind: Skill for Claude Code

.agents/skills/code-simplifier/SKILL.md

code-simplifier is a skill for Claude Code, Codex from 1024XEngineer/bytemind. It costs 65 tokens per session (672 once invoked), scanned A, original, MIT.

Instructions for cleaning up recently changed code while keeping its behavior exactly the same. The focus is on clearer structure, consistent style, and easier maintenance.

In plain words
What is it for?
Use it after editing code to improve naming, control flow, imports, formatting, and readability within the files touched in the current work.
Why use it?
It helps remove unnecessary complexity without accidentally changing features, outputs, or side effects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

This is 1024XEngineer/bytemind's own configuration. It tells Claude Code and Codex how to work on bytemind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bytemind configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/1024XEngineer/bytemind/main/.agents/skills/code-simplifier/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/1024XEngineer/bytemind

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-simplifier

README.md
[![agentmods](https://agentmods.dev/badge/skills/1024xengineer/bytemind/code-simplifier/github.svg)](https://agentmods.dev/skills/1024xengineer/bytemind/code-simplifier)
Your own site
<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.

agentmods 80×15 button for code-simplifier

Your own site · 80×15
<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>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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.00065 $0.00672
Opus 5.5 $0.00026 $0.00269
Sonnet 5.5 $0.00013 $0.00134
Haiku 4.5 $0.00006 $0.00067

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

Security

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.

.agents/skills/code-simplifier/SKILL.md · 88 lines

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/else chains or switch statements 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 function keyword 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 Props types.
  • 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

Read the full file on GitHub · 88 lines

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 · 88 lines · 65 tokens per session scan A d445ac61fa43

Subscribe to this mod's changes

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.

Related

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.

continuedev/continue · 49 tokens

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…

evalstate/fast-agent · 64 tokens

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…

synthetic-sciences/openscience · 99 tokens

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.

x-cmd/x-cmd · 74 tokens

check

Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.

x-cmd/x-cmd · 29 tokens

review

Review pull requests or code changes. Triggered by "/review [prlink]" or when user asks to review pending changes.

x-cmd/x-cmd · 27 tokens