Skip to content
Back to skills

Autoresearch Wrapper Delete

ASecurity

Create a deletion-comparison run that tunes the codebase with and without a part using equal budgets. Use when the user wants to remove a module or file and know whether it is worth it once dependents are re-tuned.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 16, 2026
ai-agentspythongobash

Works with

  • claude code
  • terminal

Security analysis

A100/100

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

Scanned October 16, 2026

npx -y skills add HenryCai11/autoresearch-wrapper --skill autoresearch-wrapper-delete --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Autoresearch Wrapper Delete?

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

Security grade badge for Autoresearch Wrapper Delete
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/henrycai11-autoresearch-wrapper-delete-autoresearch-wrapper/badge)](https://www.skillsdirectory.com/skills/henrycai11-autoresearch-wrapper-delete-autoresearch-wrapper)

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
---
name: autoresearch-wrapper-delete
description: Create a deletion-comparison run that tunes the codebase with and without a part using equal budgets. Use when the user wants to remove a module or file and know whether it is worth it once dependents are re-tuned.
---

# Autoresearch Wrapper Delete

Use the `run.sh` launcher in this skill's folder (the folder containing this `SKILL.md`). This block finds it in the standard Claude Code and Codex install locations:

```bash
AUTORESEARCH_RUNNER=""
if [ -n "${CLAUDE_SKILL_DIR:-}" ]; then
  AUTORESEARCH_RUNNER="${CLAUDE_SKILL_DIR}/run.sh"
elif [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
  AUTORESEARCH_RUNNER="${CLAUDE_PLUGIN_ROOT}/skills/autoresearch-wrapper-delete/run.sh"
else
  for dir in skills/autoresearch-wrapper-delete .agents/skills/autoresearch-wrapper-delete .claude/skills/autoresearch-wrapper-delete "$HOME/.agents/skills/autoresearch-wrapper-delete" "$HOME/.claude/skills/autoresearch-wrapper-delete" "$HOME/.codex/skills/autoresearch-wrapper-delete"; do
    if [ -f "$dir/run.sh" ]; then AUTORESEARCH_RUNNER="$(readlink -f "$dir/run.sh")"; break; fi
  done
fi
[ -n "$AUTORESEARCH_RUNNER" ] || { echo "Could not resolve the autoresearch-wrapper-delete launcher" >&2; exit 1; }
```

Use:

```bash
bash "$AUTORESEARCH_RUNNER" delete --part <part> --metric <metric> --metric-command "<cmd>" --metric-goal <minimize|maximize>
```

When this skill is invoked:

1. If the user has not scanned yet, run `scan` first. Pass `--no-interactive` when stdin is not a terminal.
2. Identify the part to delete, the metric, and the per-arm budget (`--rounds` and/or `--stop-rule`).
3. Run `delete`. It sets up two arms: `control` (part kept, starts tuning immediately; it is the tuned pre-deletion baseline) and `deleted` (part removed and committed in its setup worktree).
4. Summarize: run id, transitive dependents of the deleted part, tuning scope, budget, and the generated `program.md`. The tuning scope defaults to the deleted part's direct dependents (override with `--tune-scope`); files changed while repairing the `deleted` arm are added to its scope. `evaluate` rejects out-of-scope edits; `--allow-out-of-scope` is for user-approved exceptions and is flagged in `compare`.
5. Setup phase: fix broken imports and references in the `deleted` setup worktree, then start its tuning run:

```bash
bash "$AUTORESEARCH_RUNNER" arm-ready --run-id <run> --arm deleted
```

6. Tuning phase, for both arms: `evaluate`/`record` the `seed` with `--arm <arm>` to get the setup score, then `allocate`/`evaluate`/`record` with `--arm <arm>` until the budget is spent.
7. Compare and report whether removing the part costs or gains once dependents are re-tuned:

```bash
bash "$AUTORESEARCH_RUNNER" compare --run-id <run>
```

8. Offer `finalize --run-id <run> --merge` to merge the winner and clean up. Confirm with the user before `--merge` or `--prune-branches`.

## Example

- `/autoresearch-wrapper-delete --part src/legacy_cache.py --rounds 10 --metric throughput --metric-command "python bench.py" --metric-goal maximize`

Files in this skill

  • SKILL.md3 KB
  • run.sh676 B

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.