<command-name>/plugin</command-name> <command-message>plugin</command-message>…
- User
/plugin plugin
- User
i'm seeing lots of duplicate skills related to the shape pack, is it a caching issue?
Assistant· claude-opus-4-8
Not a caching issue — it's real duplication from how the same skill is registered under multiple names. Let me confirm against the actual files.
Assistant· claude-opus-4-8
No, it's not caching. It's real, structural duplication — every shape workflow is registered up to three times under different names because it exists as both a and a , and plugin commands get double-registered. Here's the breakdown:
- User
option 1
Assistant· claude-opus-4-8
Good. One important nuance before I start deleting: two of those command files —
stop-the-line.mdandtask-annotation-check.md— point at hooks, not skills, so they aren't duplicates of anything. They're the only manual entry point for those two hooks. Let me check the docs that reference the commands before I decide how much to remove.Assistant· claude-opus-4-8
There's an
install.shthat generates wrappers/symlinks and an ADR that bakes in the wrapper convention — this is more wired-in than a simple folder delete. Let me readinstall.shbefore touching anything.Assistant· claude-opus-4-8
Reading
install.shchanges the picture — option 1 is bigger than just deleting a folder. The command wrappers are a deliberate second install surface, and they're generated/published byinstall.sh, declared inplugin.json, and locked in by an Accepted ADR. Full blast radius:.claude/commands/*.md(16 files) — delete the wrappersinstall.sh— remove step 1 (wrapper generation into~/.claude/commands/shape/) and the "Available commands" help blockplugin.json— drop the"commands"keyCLAUDE.md,CONTRIBUTING.md— remove the wrapper/~/.claude/commands/shape/references- ADR 0005 — its decision table binds the wrapper convention; this change partially reverses it
Two things genuinely need your call before I touch anything:
Assistant· claude-opus-4-8
Both calls made. Plan: delete the 14 skill-duplicating wrappers, keep the 2 hook wrappers, update
install.sh/docs, and write a superseding ADR. Let me set up a branch and gather the files I need to edit.Assistant· claude-opus-4-8
Now let me read ADR 0004 (the prefix split this partially reverses) so the superseding ADR cites it correctly.
Assistant· claude-opus-4-8
Now I have the full context. Let me delete the 14 wrappers and scan for any other references to the dropped slash-command surface (README, using-this-pack, supervisor prompts).
Assistant· claude-opus-4-8
The wrapper deletion is done (only the two hook commands remain). But the dropped slash-command surface is referenced across README,
references/,rules/, and two skills — those become stale. Let me see the README section so I can reframe it accurately.Assistant· claude-opus-4-8
This touches the install/onboarding surface, so I'll fix it properly. Let me make the edits. Starting with README (the surface bullets and the walkthrough), then
install.sh,CLAUDE.md,CONTRIBUTING.md, the prose cross-refs, and finally the ADR.Assistant· claude-opus-4-8
I need to Read the files before editing. Let me read the ones I'll edit.
Assistant· claude-opus-4-8
I used the wrong verb form for the exec steps — the canonical verbs (per ADR 0004) are
exec:build, notshape:exec:build. Let me fix.Assistant· claude-opus-4-8
Now
install.sh— update the "Available commands" help block to list only the two remaining commands.Assistant· claude-opus-4-8
Now
CLAUDE.md— the repo-structure line and the hooks listing (stop-the-line is shown but task-annotation-check hook isn't).Assistant· claude-opus-4-8
Now CONTRIBUTING.md — the local-dev "what this wires up" list.
Assistant· claude-opus-4-8
Now the prose cross-refs that still say you can type
/shape:X. Let me read and fix them.Assistant· claude-opus-4-8
Now the edits:
Assistant· claude-opus-4-8
Now
references/project-types.md— the/shape:projectverb refs (lines 5, 15, 21, 39) and the two buggyskills/shape:project/paths (362–363, which should beskills/project/).Assistant· claude-opus-4-8
Now the superseding ADR. Let me write ADR 0006.
Assistant· claude-opus-4-8
Let me add back-pointers in ADR 0004 and 0005 so the record is navigable.
Assistant· claude-opus-4-8
Let me sweep for any remaining stale slash-command references and sanity-check the install script still parses.
Assistant· claude-opus-4-8
One live ref left —
README.md:73points at/shape:using-this-pack, which never had a wrapper (it's the navigator skill). Let me fix it.Assistant· claude-opus-4-8
README.md:147describes install.sh as writing "slash-command wrappers" broadly. Let me tighten it.Assistant· claude-opus-4-8
Let me get a final diffstat to summarize.
Assistant· claude-opus-4-8
Done. Here's what changed and why it fixes the "duplicate skills" you saw.
Root cause (recap)
Not caching. Each workflow shipped on two install surfaces — an auto-invocable skill () a slash-command wrapper that just re-imported the same . As a plugin, each wrapper was then registered twice (bare + namespaced ), so one workflow showed up three times in the picker.
- User
/compact compact
- User
pull in the latest main branch, there is a new command thats been added (exec:breakdown) that should be fixed up as well
Assistant· claude-opus-4-8
I'll pull latest main and find the new
exec:breakdowncommand. Let me check the current git state first.Assistant· claude-opus-4-8
I have staged (uncommitted) work on
chore/drop-command-wrapper-surface. To pull main in cleanly I need to commit this first. Let me fetch and inspect what's new on main, including theexec:breakdownaddition.Assistant· claude-opus-4-8
Main added the
exec:breakdownskill plus its duplicate wrapper (.claude/commands/exec/breakdown.md) — exactly the surface ADR 0006 withdraws. Plan: commit my WIP, merge main, then delete that wrapper and fold it into the ADR + reword any slash-command framing. Let me commit the WIP first so I can merge cleanly.Assistant· claude-opus-4-8
The conflict is exactly the surface tension: my side de-slashed the walkthrough; main's side added the new breakdown step but kept
/-slash framing. Resolution = de-slashed style with the breakdown step folded in (as step 5).Assistant· claude-opus-4-8
Now delete the new duplicate wrapper that main added, and check the other merge-touched files for slash-command framing.
Assistant· claude-opus-4-8
Wrapper removed; only the two hook wrappers remain and the
exec/subdir is gone. Now let me sweep the merge-introduced files (exec-pickup,using-this-pack) and the README skill count for slash-framing that needs the same de-slash treatment.Assistant· claude-opus-4-8
The merge-introduced files already reference
exec:breakdownwithout a leading slash — clean. README:53's/shape:refs are the two real hook wrappers (correct). But the new skill bumps the count: README says "16 skills". Let me verify the actual count.Assistant· claude-opus-4-8
17 skills now (was 16 before main added
exec-breakdown). Update the README count.Assistant· claude-opus-4-8
Now fold
breakdowninto ADR 0006 — both the deleted-wrappers list and the "14 workflows" count (now 15).Assistant· claude-opus-4-8
Let me verify no conflict markers remain and check for any stale "14" wrapper counts across docs/install.
Assistant· claude-opus-4-8
All clean. Stage the resolution and complete the merge commit.
Assistant· claude-opus-4-8
Merge complete. Final verification — wrapper count, skill presence, install.sh syntax, and net diff vs main.
Assistant· claude-opus-4-8
All wrappers gone except the two hook utilities;
exec-breakdownskill present; install.sh valid. One thing I want to flag:docs/idea-bank/eval-trajectory-verification.mdis in the diff — that was the untracked file from session start, and it got swept into the WIP commit viagit add -Ain the prior session. It's unrelated to the wrapper-surface change. Let me look at it.Assistant· claude-opus-4-8
It's its own self-contained commit (
1ceb77c docs: triage eval/trajectory verification idea), not entangled with the wrapper change — a separate idea-bank triage record. Let me see the full branch history vs main to give you an accurate picture.Assistant· claude-opus-4-8
Done. Here's the final state.
What I did
- Committed the staged wrapper-drop work (
58c5798) so I could merge cleanly. - Merged
origin/main— which had just added theexec:breakdownskill plus its duplicate wrapper. One conflict, in the README walkthrough: my side de-slashed it; main's side added a breakdown step but kept -slash framing. Resolved to (now 8 steps).
- Committed the staged wrapper-drop work (
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.