code-simplifier

A code-review step for simplifying recently implemented code and making it easier to read, keep consistent, and maintain.

In plain words
What is it for?
Use it after implementing features to refine their code without changing the task's purpose.
Why use it?
It helps reduce unnecessary complexity after a feature has been added.

Skill for Claude CodeCodexCursor

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/luisabwk/kraken/code-simplifier
Any agent
npx skills add luisabwk/kraken --skill code-simplifier
Clone the repo
git clone --depth 1 https://github.com/luisabwk/kraken

Made for: Claude Code, Codex, Cursor.

Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,578 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00017 $0.01578
Opus 5 $0.00009 $0.00789
Sonnet 5 $0.00003 $0.00316
Haiku 4.5 $0.00002 $0.00158

Measured 2d ago against content hash 82c87fe8c3ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

.cursor/skills/code-simplifier/SKILL.md · 221 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 221 lines · 17 tokens per session scan A 82c87fe8c3ed

Subscribe to this mod's changes

code-simplifier is a skill published in the GitHub repository luisabwk/kraken (1 stars, last pushed 5mo ago), with no licence file. It adds 17 tokens to every session and 1,578 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

ui-design

Create distinctive, production-grade web interfaces with high design quality using Tailwind CSS. Use for building UI components, pages, dashboards, apps, and web applications. Generates crafted, polished code that avoids generic AI aesthetics.

jaansokk/cursor_tools · 46 tokens

code-review-codex

Final-gate code review via Codex CLI (codex-5.3, xhigh). Finds bugs, security issues, and regressions before commit. No edits — findings report only.

jaansokk/cursor_tools · 45 tokens

spec-review-codex

Audit project specs for conflicts, goal drift, ambiguity, and gaps via Codex CLI (gpt-5.2, xhigh). Read-only findings report.

jaansokk/cursor_tools · 39 tokens

summarizer

Summarize a YouTube video or podcast episode and save the summary as a structured note in NotePlan under '3 Resources/Podcasts, YT/'. Use this skill whenever the user shares a YouTube link and wants it summarized, noted, or saved — or says things like 'summarize this', 'add this to my notes', 'save this podcast'…

jaansokk/cursor_tools · 152 tokens

noteplan

Read, search, create, and edit NotePlan notes and daily logs directly via the filesystem. Use this skill whenever the user references NotePlan, daily notes, weekly notes, project notes, or wants to check/update their planning. Triggers: 'noteplan', 'daily note', 'today's note', 'weekly note', 'check my notes', 'add to…

jaansokk/cursor_tools · 105 tokens

yt-transcript

Fetch YouTube video transcripts and load them into context for further processing. Use this skill whenever the user shares a YouTube URL or video ID and wants to work with the video's content — summarizing, extracting insights, answering questions about it, translating, or feeding it into another workflow. Also…

jaansokk/cursor_tools · 104 tokens