bex: Skill for Claude Code

.claude/skills/simplify/SKILL.md

simplify is a skill for Claude Code, Codex from bex-co/bex. It costs 39 tokens per session (918 once invoked), scanned A, original, Apache-2.0.

A code-quality cleanup aid that reviews changed files for duplicated code, unnecessary complexity, inefficient patterns, and code written at the wrong level of detail.

In plain words
What is it for?
For reviewing a change set, replacing repeated logic with shared utilities, simplifying code, and improving efficiency.
Why use it?
It helps make existing changes easier to maintain by finding reusable helpers and simpler implementations. It is not intended to find bugs.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

This is bex-co/bex's own configuration. It tells Claude Code and Codex how to work on bex 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 bex configures →

About the project

bex is an open-source platform-as-a-service that builds and deploys applications from Git to HTTPS on infrastructure its users control. Developers and coding agents use it to manage services, workers, scheduled jobs, static sites, databases, logs, domains, and related deployment operations through a shared control plane.

bex-co/bex · 1,561 stars · on GitHub · bex.co

Reuse

Borrowing it

Nothing to install: this file belongs to bex-co/bex. 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/bex-co/bex/main/.claude/skills/simplify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bex-co/bex

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/bex-co/bex/simplify/github.svg)](https://agentmods.dev/skills/bex-co/bex/simplify)
Your own site
<a href="https://agentmods.dev/skills/bex-co/bex/simplify"><img src="https://agentmods.dev/badge/skills/bex-co/bex/simplify/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 simplify

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/bex/simplify"><img src="https://agentmods.dev/badge/skills/bex-co/bex/simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00918
Opus 5.5 $0.00016 $0.00367
Sonnet 5.5 $0.00008 $0.00184
Haiku 4.5 $0.00004 $0.00092

Measured 6d ago against content hash 86151a5cc091, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 6d 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.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

.claude/skills/simplify/SKILL.md · 61 lines

How it starts

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

Simplify: Code Review and Cleanup

Review all changed files for reuse, quality, and efficiency. Fix any issues found.

Phase 1: Identify Changes

Run git diff (or git diff HEAD if there are staged changes) to see what changed. If there are no git changes, review the most recently modified files that the user mentioned or that you edited earlier in this conversation.

Phase 2: Review Through Three Lenses

Review the diff through the three lenses below. For a small diff (a few files in one module), do the three reviews yourself. For a large diff, or one that spans modules, use the Agent tool to launch one agent per lens concurrently in a single message, and pass each agent the full diff so it has the complete context.

Agent 1: Code Reuse Review

For each change:

  1. Search for existing utilities and helpers that could replace newly written code. Look for similar patterns elsewhere in the codebase — common locations are utility directories, shared modules, and files adjacent to the changed ones.
  2. Flag any new function that duplicates existing functionality. Suggest the existing function to use instead.
  3. Flag any inline logic that could use an existing utility — hand-rolled string manipulation, manual path handling, custom environment checks, ad-hoc type guards, and similar patterns are common candidates.

Agent 2: Code Quality Review

Review the same changes for hacky patterns:

  1. Redundant state: state that duplicates existing state, cached values that could be derived, observers/effects that could be direct calls
  2. Parameter sprawl: adding new parameters to a function instead of generalizing or restructuring existing ones
  3. Copy-paste with slight variation: near-duplicate code blocks that should be unified with a shared abstraction
  4. Leaky abstractions: exposing internal details that should be encapsulated, or breaking existing abstraction boundaries
  5. Stringly-typed code: using raw strings where constants, enums (string unions), or branded types already exist in the codebase
  6. Unnecessary element nesting: wrapper elements that add no layout value — check whether the child's own classes or props already provide the needed layout
  7. Unnecessary comments: comments explaining WHAT the code does (well-named identifiers already do that), narrating the change, or referencing the task/caller — delete; keep only non-obvious WHY (hidden constraints, subtle invariants, workarounds)

Read the full file on GitHub · 61 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. 6d ago Changed · +2 lines 86151a5cc091
  2. 15d ago Changed · -3 tokens per session 1aa07d6f5d9e
  3. 2mo ago Changed ac740013a382
  4. 3mo ago First seen · 59 lines · 42 tokens per session scan A 454d8e9586dc

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository bex-co/bex (1,561 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 918 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-30.

Related

simplify compared with skills from other repositories

simplify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simplifybex-co/bexSkill1.6ktodayApache-2.0A39Claude Code, Codex
network-rcakubeshark/kubesharkSkill12k8d agoApache-2.0A163Claude Code
code-changesJanDeDobbeleer/oh-my-poshSkill24kyesterdayMITA48Claude Code, Codex
printing-press-output-reviewmvanhorn/cli-printing-pressSkill5.1kyesterdayMITA102Claude Code
fix-llm-artifactsexistential-birds/beagleSkill92yesterdayApache-2.0A51Claude Code, Codex
review-llm-artifactsexistential-birds/beagleSkill92yesterdayApache-2.0A101Claude Code, Codex
verify-llm-artifactsexistential-birds/beagleSkill92yesterdayApache-2.0A71Claude Code, Codex