Loomcycle diff agentdefs
Skill denn-gubsky/claude-code-plugin-loomcycle/skills/loomcycle-diff-agentdefs
Diff two loomcycle AgentDef versions by def_id and show what changed in system_prompt, tools, max_tokens, and other fields. Use when the user wants to compare two versions of a self-evolving agent definition.From its SKILL.md
npx -y skills add denn-gubsky/claude-code-plugin-loomcycle --skill loomcycle-diff-agentdefsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, as published. Nobody here has run it
Diff two loomcycle AgentDef versions
Use when the operator wants to see what changed between two versions of a self-evolving agent definition (the loomcycle AgentDef substrate tracks versioned definitions with lineage).
Steps:
-
Get the two def_ids. The operator supplies two
def_ids (often a parent and its descendant). If they only have one and want "the previous version," fetch the one they have first and read itsparent_def_id. -
Fetch both with the
agentdeftool,getop, once per id:{ "op": "get", "def_id": "<def_id>" }Each returns a row whose
definitionfield is the agent config —system_prompt,tools,max_tokens, provider/model/tier, etc. -
Diff the definitions field by field. Highlight, in this order:
system_prompt— show a readable diff (added / removed lines), not the two full prompts side by side unless they're short.tools— which tools were added / removed.max_tokens,model,provider,tier,effort— any scalar changes.- Any other changed keys.
provider: code-js(v0.16, RFC J). If either version setsprovider: code-js, that version is a synthetic code agent — it runs operator-authored JavaScript (agent_code/<name>/index.js) instead of calling an LLM, at zero token cost. For such a versionmodel/effort/max_tokensare inert (no model is called), so don't read into them; the behavioural ground truth is the JS file, not the def fields. Call out aproviderflip into or out ofcode-jsprominently — it turns the agent from model-driven to code-driven (or back), a far bigger change than any prompt edit. -
Summarise the intent. In one line, characterise the change ("widened tool access + tightened the system prompt's output format"). Note the lineage (
parent_def_id) and which is newer (version/created_at). -
Stay descriptive. This skill reports a diff; it does not promote, retire, or pin a version. Selection between AgentDef versions is operator policy — if the operator wants to act on the diff, point them at the relevant
agentdefops, but don't mutate on their behalf without an explicit ask.