Skip to content
Skills Library
Programming · Automation

wise-simplify-auto

/wise-simplify-auto

Autonomously simplify recently-modified code and commit it — runs the simplify pass over the working tree (the `code-simplifier` agent on Claude Code when installed, otherwise the same cleanup inline on the current model; behaviour preserved: clarity, consistency, dead-code/redundancy removal), then drafts a Conventional-Commits subject and commits. Works on every harness. The lightweight per-commit tier of the plugin's two-tier quality model, as a standalone building block. No routine prompts, never pushes. Invoked as `/wise-simplify-auto` (bare alias) or `/wise:wise-simplify-auto` (canonical

Repository
wise-claude ↗
Licence
MIT
Last repository change
20.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 20.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Autonomously simplify recently-modified code and commit it — runs the simplify pass over the working tree (the `code-simplifier` agent on Claude Code when installed, otherwise the same cleanup inline on the current model; behaviour preserved: clarity, consistency, dead-code/redundancy removal), then drafts a Conventional-Commits subject and commits. Works on every harness. The lightweight per-commit tier of the plugin's two-tier quality model, as a standalone building block. No routine prompts, never pushes. Invoked as `/wise-simplify-auto` (bare alias) or `/wise:wise-simplify-auto` (canonical

Arguments

/wise-simplify-auto [--on <harness>[:<model>[:<effort>]] | --on ask]
Original author description

Autonomously simplify recently-modified code and commit it — runs the simplify pass over the working tree (the `code-simplifier` agent on Claude Code when installed, otherwise the same cleanup inline on the current model; behaviour preserved: clarity, consistency, dead-code/redundancy removal), then drafts a Conventional-Commits subject and commits. Works on every harness. The lightweight per-commit tier of the plugin's two-tier quality model, as a standalone building block. No routine prompts, never pushes. Invoked as `/wise-simplify-auto` (bare alias) or `/wise:wise-simplify-auto` (canonical

How it works

  1. Why this skill exists
  2. Invocation
  3. Run on another harness (--on)
  4. Procedure
  5. Guardrails
Original SKILL.md headings · 113 lines, 648 words
SKILL.md preview
---
name: wise-simplify-auto
description: >-
  Autonomously simplify recently-modified code and commit it — runs the
  simplify pass over the working tree (the `code-simplifier` agent on
  Claude Code when installed, otherwise the same cleanup inline on the
  current model; behaviour preserved: clarity, consistency,
  dead-code/redundancy removal), then drafts a Conventional-Commits
  subject and commits. Works on every harness. The
  lightweight per-commit tier of the plugin's two-tier quality model, as a
  standalone building block. No routine prompts, never pushes.
  Invoked as `/wise-simplify-auto` (bare alias) or
  `/wise:wise-simplify-auto` (canonical). Use when the user says "simplify
  and commit", "clean up and commit", "run a simplify pass", or types
  `/wise-simplify-auto`.
argument-hint: "[--on <harness>[:<model>[:<effort>]] | --on ask]"
allowed-tools: Task, Read, Bash(git:*), Bash(bash:*), AskUserQuestion
---

# /wise-simplify-auto — simplify recently-modified code and commit

This skill has no model preference: the simplify pass runs on the current
model, and the [model fallback](../../references/workflow-host-control.md#model-fallback)
picker only applies to an explicit `--on` selection.

At every skill start, identify your main/child role and the current client
and GUI/TUI question tools, then read and follow the
[question lifecycle](../../references/workflow-host-control.md#keep-asynchronous-questions-open).
Keep asynchronous prompts open until answered; this rule does not authorize
questions in autonomous or otherwise prompt-free procedures.

## Why this skill exists

The simplify pass is the plugin's lightweight per-commit cleanup: the
`code-simplifier` agent on Claude Code when the optional plugin is
installed, otherwise the same instructions
(`references/simplify-instructions.md`) applied inline on the current
model, so Codex, Cursor, Gemini and Grok children run it too. It is
wired into the commit routine
(`/wise-commit` runs it before staging) and into the implement phase
(per task). This skill exposes it as a **standalone, decision-free
building block**: run the pass, then commit the result — no prompts. The
heavier multi-agent code-review branch gate is the other tier
(the `code-review` workflow: `/wise-workflow-run code-review`).

(Close cousin of `/wise-commit`, which also simplifies-then-commits via
its `SIMPLIFY=yes` default; this skill makes the simplify step the
explicit headline and is the autonomous building block workflows reuse.)

## Invocation

```
/wise-simplify-auto
/wise:wise-simplify-auto              # canonical namespaced form
```

No positionals, no flags. If the argument string contains anything other
than optional whitespace, stop with:

```
Unknown argument(s): <the extra tokens>
Usage: /wise-simplify-auto
```

## Run on another harness (`--on`)

If `$ARGUMENTS` contains `--on <harness>[:<model>[:<effort>]]` (or
`--on ask` / a bare `--on`), do
NOT run the procedure below in this conversation. Strip the `--on`
tokens (everything left is `SKILL_ARGS`), then read
`${CLAUDE_PLUGIN_ROOT}/references/dispatch.md` and follow it with:

- `SKILL_MD` = `${CLAUDE_PLUGIN_ROOT}/skills/wise-simplify-auto/SKILL.md`
- `SKILL_ARGS` = the remaining tokens

`--on ask` (or a bare `--on`) picks harness, model and effort through
one composite `AskUserQuestion` before any child spawns; routine work
remains decision-free. The child runs the pass inline on its own model.
The reference probes the harness login, validates model and effort
against the engine catalog, and runs the procedure as a headless child
via `engine.sh dispatch --relay`. Follow its run, handle any required gates
in the main harness, and relay the final result as specified by the shared
dispatch reference. This does not add routine prompts to autonomous paths.
Without `--on`, this section does not apply.

## Procedure

### 1. Simplify recently-modified code

Run the simplify pass per
`${CLAUDE_PLUGIN_ROOT}/references/simplify-pass.md` over the working
tree's recently-modified code. The reference picks the route: the
`code-simplifier` agent (a `Task` subagent) when this Claude Code session
lists it, otherwise the cleanup inline on the current model per
`${CLAUDE_PLUGIN_ROOT}/references/simplify-instructions.md`. A missing
agent is not an error and opens no picker. Surface the summary and the
route verbatim. On a simplify failure (the pass ran and broke the tree),
follow that reference's failure policy and stop with
`SIMPLIFY: failed reason="<one-line>"`.

### 2. Commit the result

Follow `${CLAUDE_PLUGIN_ROOT}/skills/wise-commit/commit-routine.md` with
`SIMPLIFY=no PUSH=no` (the pass already ran in §1 — `SIMPLIFY=no` avoids
a redundant second pass; `PUSH=no` because this skill never pushes). The
routine stages, drafts a Conventional-Commits subject, and commits.

### 3. Final line

Relay the routine's final `COMMIT:` line verbatim:

```
COMMIT: ok subject="<subject>" pushed=no
COMMIT: skip reason="nothing to commit"
COMMIT: failed reason="<verbatim error>"
```

## Guardrails

- No routine mid-run questions. The `--on ask` picker is the one
  exception, rendered only by the main harness.
- One simplify pass — never re-run it to iterate-to-clean.
- Never fail or stop because the `code-simplifier` agent is absent; run
  the pass inline instead.
- Never `git push` — use `/wise-commit-push` for that.
- All of `commit-routine.md`'s guardrails apply (no `--amend` /
  `--no-verify` / `--force`, no AI-attribution trailer, no retry on
  failure).
- Never invoke another wise action skill.
- Profile-insensitive by design: the session token-budget profile (`/wise-profile`) does not change this skill — one cheap behavior-preserving pass; scaling it would risk the behaviour-preserved guarantee.

Versions

The database has no other skills named wise-simplify-auto.

Database snapshot: 13.11.2026 · package version c364c121edcd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95wise-commit
    Sweep every working-tree change into the index (`git add -A` — modifications, deletions, and new untracked files), draft a Conventional-Commits subject from the staged diff (ticket-scoped when a key is detectable from the branch / diff / log / session), and run `git commit`.…
  • 100code-simplify
    Use when code needs simplification — recently modified code by default, or a specified scope.
  • 100wise-commit-message
    Draft one Conventional-Commits subject line from your pending git changes — both staged (`git diff --cached`) and unstaged-but-modified tracked files (`git diff`) — ticket-scoped (e.g. `feat(PROJ-777): …`) when a key is detectable from the branch, diff, recent commits, or the…
  • 100simplify-code
    Use to simplify recently modified code and human-facing docs while preserving behavior and stated facts.
  • 86simplify
    Use when the user asks to simplify, clean up or refactor recently changed code without changing what it does (duplication, dead code, needless complexity).
  • 90code-simplifier
    Use when user asks to simplify, clean up, or refactor recently modified code for readability, consistency, or maintainability without changing behavior, especially after implementation and before broader review.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.