Skip to content
Back to skills

Unhobble

ASecurity

Resumable, human-gated bare-baseline experiment: strip/delete CLAUDE.md instructions, log bare-model stumbles, restore same-cause evidence (instruction ablation experiment, deletion watch; measures model). Use when: 'unhobble', 'run the bare experiment', 'does the model still need these instructions', watch rule before deleting, new model dropped.

  • 34 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 2, 2026
ai-agentsgoshellrailsgitsecurity

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add melodic-software/claude-code-plugins --skill unhobble --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unhobble?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unhobble
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-unhobble/badge)](https://www.skillsdirectory.com/skills/melodic-software-unhobble)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "Resumable, human-gated bare-baseline experiment: strip/delete CLAUDE.md instructions, log bare-model stumbles, restore same-cause evidence (instruction ablation experiment, deletion watch; measures model). Use when: 'unhobble', 'run the bare experiment', 'does the model still need these instructions', watch rule before deleting, new model dropped."
argument-hint: "[snapshot|bare|observe|readd|watch|status|decide]"
user-invocable: true
disable-model-invocation: false
metadata:
  workflow-stage: anytime
  summary: Strip instructions to a bare baseline, log real stumbles, re-add only what evidence earns
---

# Unhobble

**Arguments.** `[snapshot|bare|observe|readd|watch|status|decide]`. Omit the phase for the guided full flow.
`decide` is not a phase; see Decide.

## Purpose

As models improve, instruction surfaces written for older models become the ceiling: the model reads
every standing line every session, and lines that correct mistakes it no longer makes cost context
and constrain behavior. We take the official pruning test as the premise (Pointer: when citing it,
fetch [best practices: keep CLAUDE.md short](https://code.claude.com/docs/en/best-practices#keep-claude-md-short)
live);
the strongest form of that test is empirical: delete, run, watch. This skill operationalizes the experiment its sibling
`audit-instructions` can only reason about: instead of judging instruction *text* against doctrine,
it measures the *model* against the repo with the instructions gone, and lets observed stumbles,
not guesses, decide what returns.

Rebuild rule (the whole contract in one line): **an instruction returns only after the bare model
repeatedly stumbles on the same thing, and the re-added line cites the evidence.**

## When to run

- A frontier model generation ships (the canonical trigger, since instructions written for the
  previous generation are now suspect).
- The repo's instruction surface has grown past the point anyone can say which lines still earn
  their cost.
- On a cadence the operator chooses (see Cadence wiring below). The talk-circuit heuristic is
  "every six months", but the model release is the real event.

## Scope and safety rails

- **Project scope by default.** The experiment strips the *project's* surfaces: project CLAUDE.md /
  CLAUDE.local.md / `.claude/CLAUDE.md`, the `AGENTS.md` and `.claude/AGENTS.md` a session reads
  natively once those are gone (**whether a session reads one at all depends on availability and the
  instruction-files mode, and this body does not restate either**; the four-part record is this
  plugin's [reference/agents-md-liveness.md](../../reference/agents-md-liveness.md)),
  `.claude/rules/`, `.claude/skills/`, `.claude/agents/`, project-settings hooks,
  and plugins enabled at any scope. User-global files (`~/.claude/**`) are edited only when the
  operator explicitly opts in per phase-1 prompt, never by default. A plugin enabled at user
  scope is still classified, and a behavioral one is ablated by the project `enabledPlugins`
  overlay below, not by editing the user settings file.
- **Managed settings are never touched.** Org-managed policy is not the operator's to ablate.
- **Reversible by construction.** Tracked-file changes happen on a dedicated experiment branch;
  untracked/settings changes are backed up to plugin state before modification or removal and
  restored from that manifest. Nothing is destroyed: git history and the snapshot manifest are the safety net.
- **Human-gated.** Every mutating step (strip, restore, re-add, watch removal) presents its exact change set and
  waits for operator confirmation. Bare invocation of a phase never mutates silently.
- **Security posture is out of scope.** Hooks that enforce policy (secrets gates, PR-body contracts,
  permission guards) are classified `policy` at snapshot time and are not stripped by default:
  the experiment measures model capability, and policy gates are not model-era workarounds. The
  operator may force-include one explicitly; the manifest records that choice.

## State

The `reference/` phase files write `<plugin-data>` for `${CLAUDE_PLUGIN_DATA}` and `<skill-dir>` for
`${CLAUDE_SKILL_DIR}`: put the resolved path in place before running a command.

`manifest.json` and `stumbles.md` live in the repo at `.claude/unhobble/<experiment-id>/`, where
`<experiment-id>` is `<repo-basename>-<model-version>-<YYYYMMDD>-<nonce>` (a short random suffix
minted at snapshot). Phase 1 writes both files with the Write or Edit tool. The Phase 2 strip
commit carries them, and every later ledger or manifest update is committed on the experiment
branch the same way, so a later session's clone already holds the ledger.
`${CLAUDE_PLUGIN_DATA}/unhobble/<experiment-id>/` holds only `backups/`. It is
not the home of the manifest or the ledger.

The basename is a convenience label, not the identity. The manifest records `origin_url`,
`branch`, and `base_commit`, and no absolute host path. Every later phase resolves the current
origin URL and current branch, and checks that the recorded `base_commit` is still an ancestor of
HEAD. A mismatch aborts and names the field plus the recorded and current values. A repo with no
remote records `origin_url` as an empty string and compares that. `snapshot` never reuses an
existing experiment directory: a fresh run mints a fresh id. Resuming an open experiment means
passing its phase commands from a checkout of the recorded origin, on the recorded branch, at a
commit that still contains `base_commit`. A different absolute path is not a mismatch.

- `manifest.json`: every surface found, its classification (`behavioral` | `policy` | `hybrid` | `convention` |
  `non-derivable`, which is kept and restored like `policy`),
  what was stripped, how to restore it (repo-relative path, restore mechanism, backup location under
  the plugin data dir), `origin_url`, `branch`, `base_commit`, `branch_deviation` (empty, or why the
  experiment branch is not `experiment/unhobble-<model-version>`), target model, `effort` (see
  Effort below), `phase`
  (`snapshot` | `bare` | `observe` | `readd` | `closed`, or `watch` for a Deletion watch experiment),
  phase timestamps, and optionally `pr_url` (the experiment pull request, written when one opens).
  No absolute host path, in any field.
- `stumbles.md`: the observation ledger (one row per observed failure: date, task, what the model
  did, what was expected, suspected missing instruction, severity, effort), with any deletion watch
  recorded above the table (see Deletion watch).
- `backups/`, under `${CLAUDE_PLUGIN_DATA}` only: pre-strip copies of any non-git-tracked file
  modified or removed (settings hook entries, and an untracked instruction file the plan classified
  behavioral, which git cannot restore and so is never stripped through the git helper). Never
  commit `backups/`.

**Effort.** Caller effort for this run is `${CLAUDE_EFFORT}`. Copy that value into the manifest
`effort` field when Phase 1 writes the manifest, and into the Effort cell of each ledger row when
the row is written, so a stumble can later be compared with the effort level of the session it
happened in. Write `unset` when the value is empty or still reads as the dollar-brace placeholder
instead of a level name: the substitution did not run, or no level was available. Record what
rendered, never a guessed level; the value changes nothing else about the experiment.

- **Pointer**: for the `CLAUDE_EFFORT` substitution, see
  <https://code.claude.com/docs/en/skills#available-string-substitutions>.
- **As of**: 2026-10-02
- **Recheck trigger**: that table states what renders when no effort level is available, or drops
  the substitution.

`status` reads `manifest.json` and `stumbles.md` and prints:

- phase: manifest `phase`.
- elapsed days: today minus the first phase timestamp.
- ledger row count: table rows in `stumbles.md`.
- register holds: rules the close recorded as register holds (0 before `readd` closes).
- confounds: every `unstripped-*` record in the manifest, plus any confound the observe phase noted.
- PR URL: manifest `pr_url`; the line is omitted while the manifest lacks that optional field.
- re-add candidates and open and closed deletion watches.

## Phase 1: snapshot

Read [reference/snapshot.md](reference/snapshot.md) when the manifest phase or the requested action is `snapshot`.

## Phase 2: bare

Read [reference/bare.md](reference/bare.md) when the manifest phase or the requested action is `bare`.

## Phase 3: observe

Work normally on real tasks for a meaningful window (days of real work, not one toy prompt). When
the model stumbles, doing something an instruction used to prevent, missing a convention, or breaking a
workflow, append a row to `stumbles.md` with the Write or Edit tool and commit that update on the
experiment branch. The Effort cell is filled as State's Effort paragraph says:

| Date | Task | What happened | Expected | Suspected missing instruction | Severity | Effort |

The first ledger commit sets `phase: observe`. Log honestly, including surprises in the other direction (things the bare model now does *better*;
mark those `improvement`, since they are the deletions proving themselves). The ledger is the experiment's
entire evidentiary output: an unlogged stumble cannot earn an instruction back. An empty ledger after
real work licenses deleting an editorial candidate only. The strip removed the whole surface at once,
so a ledger cannot attribute silence to one rule: a consequential rule the ledger did not defend goes
back to a Deletion watch (or is restored) and is never made permanent by this ledger, and a
protected-class rule is restored (Phase 4).

## Phase 4: readd

**Refuse to run while the manifest `phase` is `bare` or `observe`.** Print the phase and the ledger
row count from `stumbles.md`, and stop: the strip just landed or the window is open, and rows logged
so far are not yet the evidence the gate reads. The operator ends the window by saying so; that sets
`phase: readd`, committed. A watch experiment (`phase: watch`) never reaches this phase; its
restore and close rules are under Deletion watch, unchanged.

Read [reference/readd.md](reference/readd.md) when the manifest phase or the requested action is `readd`.

## Deletion watch

Read [reference/watch.md](reference/watch.md) when the manifest phase or the requested action is `watch`.

## Decide

Read [reference/decide.md](reference/decide.md) when the manifest phase or the requested action is `decide`.

## Cadence wiring (optional)

The re-run trigger is the next frontier model release. To make that standing rather than
remembered: if the `work-items` plugin is enabled, add a recurring item ("re-run
`/harness-config:unhobble` against the new model") rechecked on model upgrades; otherwise a note in
the repo's own conventions or a calendar reminder serves. This skill never wires a schedule itself:
scheduling surfaces vary per consumer and are the operator's choice.

## Next

/review:security-review when the experiment is closed and the PR with retired rules is ready to merge.

## Related

- Rewriting rather than verbatim-restoring a defended instruction: /harness-config:audit-instructions.
- Measure context cost of Claude Code's own switches: /context-budget:audit.

## Gotchas

- **Do not run the observe phase inside this session.** Instructions already in context defeat the
  measurement; strip, then start fresh sessions for real work.
- **A plugin marketplace repo has two hats.** Running this skill in a plugin-publishing repo
  ablates that repo's *own* session surfaces only; the components it ships to consumers are its
  product, audited by their own acceptance gates, not stripped by this experiment. Phase 1 records
  each one under `plugins/<name>/` as `unstripped-product-surface`, and changelog-parity is why.
- **`CLAUDE_CODE_SIMPLE=1` / `--bare` and `CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=1` are not part of this
  contract.** They are separate switches that act on *Claude Code's own* surfaces, so this skill
  neither sets nor depends on any of them (Pointer: when deciding what each switch turns off, fetch
  the `--bare` flag's section,
  [headless: start faster with bare mode](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode),
  and the two variables' rows in
  [environment variables: variables](https://code.claude.com/docs/en/env-vars#variables) live.
  Recheck trigger: any of them starts turning off a surface the operator owns, or
  two of them merge): the experiment here ablates *your* instructions, which is the part you
  own. (Measuring what those product-side switches buy belongs to a context-budget audit, not to
  this experiment.)
- **Windows:** repo-relative restore paths in `manifest.json` use forward slashes. The manifest
  still records no absolute host path.
- **Machine-specific paths.** A committed manifest that contains an absolute host path fails the
  machine-specific-paths CI lane. This skill records none: identity is `origin_url`, `branch`, and
  `base_commit`.
- **State writes go through Write or Edit.** Write the manifest and the ledger with those tools,
  never a shell redirect or heredoc: a shell write skips the Write and Edit hook gates.

## What this skill does not do

- Never strips managed settings, user-global surfaces (without explicit opt-in), or policy-classified
  hooks by default.
- Never mutates without presenting the change set and getting confirmation.
- Does not judge instruction text against doctrine; that is `audit-instructions`.
- Does not schedule its own re-runs; cadence wiring is the operator's, per above.

Files in this skill

  • SKILL.md15.1 KB
  • evals/evals.json10.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.