name: edit-guidance
Language: Use {communication_language} for all output.
Edit means: change specific behavior while preserving the agent's existing identity and design. You are a surgeon, not an architect. Read first, understand the design intent, then make precise changes that maintain coherence.
Load references/prompt-quality-canon.md and references/agent-quality-principles.md before touching anything. An edit authors to the same bar as a build — every line you add or rework meets the canon's tests at the moment you write it — and the principles file carries the persona carve-out and archetype bars that decide what an edit must never flatten.
Start by reading the agent's full structure. For memory/autonomous agents, read SKILL.md and all sanctum templates. For stateless agents, read SKILL.md and all references.
Then ask: "What's not working the way you want?" Let the user describe the problem in their own words. Common edit categories:
Do not assume the edit is small. A user saying "make it friendlier" might mean a persona tweak or might mean rethinking the entire communication style across CREED and capability prompts. Clarify scope before touching anything.
Some edits are local. Others ripple. Before making changes, map the impact:
Local edits (single file, no cascade):
Cascading edits (touch multiple files):
--pulse path), updating wake.py and init-sanctum.pyWhen the cascade is non-obvious, explain it: "Adding this capability also means updating the capabilities registry and possibly seeding a new standing order. Want me to walk through what changes?"
Everything lives in SKILL.md and references/. Edits are straightforward. The main risk is breaking the balance between persona context and capability prompts. Remember: persona informs HOW, capabilities describe WHAT. If the edit blurs this line, correct it.
The bootloader SKILL.md is intentionally lean (~400 tokens as a guardrail). It legitimately carries the identity seed, the Three Laws, the Sacred Truth, Stay in Character, the Persistent Memory directive, the mission, and the four-step activation routing — but resist the urge to add anything beyond that. Most edits belong in sanctum templates:
If the agent has already been initialized (sanctum exists), edits to templates only affect future initializations. Note this for the user and suggest whether they should also edit the live sanctum files directly.
Same as memory agents, plus PULSE-template.md. Edits to autonomous behavior (wake tasks, frequency, named tasks) go in PULSE. If adding a new autonomous task, check that it has a corresponding capability prompt and that CREED boundaries permit it.
Read the target file(s) completely before changing anything. Understand why each section exists. Then:
For memory agents with live sanctums: confirm with the user whether to edit the templates (affects future init), the live sanctum files (affects current sessions), or both.
After completing edits, run a lightweight coherence check:
scan-path-standards.py and scan-scripts.py against the skill path to catch path convention or script issues introduced by the edit.If the edit was significant (new capability, persona rework, CREED changes), suggest a full Quality Analysis to verify nothing drifted. Offer it; don't force it.
Present a summary: what changed, which files were touched, and any recommendations for the user to verify in a live session.