skill-editor

Applies structured improvement plans to harness skill files and archives consumed reflections.

2|1|Updated Jun 25, 2026
One-click install
npx skills add https://github.com/Consiliency/agent-harness --skill skill-editor-consiliency
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-editor
Source: https://github.com/Consiliency/agent-harness/tree/main/phase-loop-skills/skill-editor
Command: npx skills add https://github.com/Consiliency/agent-harness --skill skill-editor-consiliency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve? Applying a skill improvement plan by hand is error-prone: recommendations span multiple SKILL.md files, reflections must be archived only after successful edits, and frontmatter validity must be preserved. This Skill automates that plan-application workflow so improvements land consistently across canonical source, bundle, and installed runtime tiers. ## Core Features & Use Cases - Plan-driven editing: Parses improvement plans produced by the skill-improvement-planner, groups recommendations per target skill, and applies them with apply_patch or the session's file-editing tool. - Scoped, validated edits: Edits only plan-named <harness>-* skills, supports --allow-skill allowlists and --dry-run, and validates YAML frontmatter, name, description, and referenced files after each change. - Reflection lifecycle management: Archives consumed reflections only after all citing recommendations succeed, and writes repo-local handoffs for the next pipeline stage. - Use Case: After a skill-improvement-planner run produces plan-v3.md, invoke this Skill to apply its recommendations to the targeted skills, archive the consumed reflections, and report the required bundle-regeneration follow-up. ## Quick Start Apply the latest improvement plan from the skill-improvement-planner to the targeted harness skills and archive the reflections it consumed.

Frequently Asked Questions about skill-editor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply a skill improvement plan to SKILL.md files?▼

Invoke the skill-editor with the plan path produced by the skill-improvement-planner. It parses recommendations per skill, applies them with apply_patch or the session's editing tool, validates frontmatter, and archives consumed reflections after successful edits.

How do I preview skill edits before changing files?▼

Run the skill-editor with the --dry-run flag. It parses the improvement plan, reports the target files and recommendation summaries, and stops without modifying any SKILL.md.

Can the skill editor modify any skill in the repo?▼

No. It edits only skills named by the plan, defaulting to `<harness>-*` skills, and refuses non-allowlisted targets when launched from maintain-skills. Editing other skills requires explicit plan naming plus user confirmation.

What happens if a recommendation fails to apply?▼

The failed recommendation is marked and reported, and its supporting reflections are left in place rather than archived. Independent recommendations targeting other skills continue, and patch conflicts are retried once after re-reading the file.

When are reflections archived after a plan is applied?▼

Reflections are moved to an archive/ directory only after every recommendation citing them succeeds and validation passes. Reflections tied to failed recommendations stay in place so the next planner cycle can reconsider them.