| diataxis_type | how-to |
|---|---|
| title | How to Apply Changes |
| description | Apply the best improvement snapshot back to your original skill directory |
Autoresearch asks:
Apply the best version (v3, score 0.85) to the original skill? [y/n]
The best snapshot replaces files in your original skill directory. This uses the restore() function, which:
- Copies all files from the best snapshot to the original skill
- Removes files in the original that aren't in the snapshot
- Skips files with matching SHA-256 hashes (no unnecessary writes)
Your original skill now reflects the improved version.
Nothing changes. The workspace remains intact for manual review:
path/to/my-skill-autoresearch/
├── v0/ # Your original, untouched
├── v3/ # The best version
├── candidate/ # Same as v3 (or the last attempted version)
└── results.tsv # Full history
If you declined but later want to apply:
# Review the diff first
/autoresearch --report path/to/my-skill-autoresearch
# Then manually copy the best version
# (Replace v3 with your actual best version number from results.tsv)
cp -r path/to/my-skill-autoresearch/v3/* path/to/my-skill/Or cherry-pick specific files:
# Only apply SKILL.md changes
cp path/to/my-skill-autoresearch/v3/SKILL.md path/to/my-skill/SKILL.mdSometimes the best version improves some things but changes others you don't want. To apply selectively:
- Run the report to see the diff:
/autoresearch --report path/to/my-skill-autoresearch - Identify which files you want
- Copy only those files from the best snapshot
- Verify: Read the modified skill files to confirm they look right
- Test manually: Run the skill on a few prompts to sanity check
- Commit: Add the changes to version control
- Consider another round: Starting from a higher baseline, a second run often finds more improvements
- Update description: Use skill-creator to re-optimize the trigger description if SKILL.md changed significantly