canopy-debug
Skill0 starsChanged 6 months agoMITView on GitHub
Trace any Canopy skill with live phase banners and per-node tree tracing. Respects the current mode — in plan mode no changes are applied; in edit mode the skill executes normally.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- add-changelog-entrySkill
- bump-versionSkill
- canopy-runtimeSkill
- canopySkill
- generate-readmeSkill
- parallel-reviewSkill
- review-fileSkill
- scaffold-skillSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
IF << $ARGUMENTS is empty or skill name is missing
- Very specific: line 40
Read ../canopy-runtime/SKILL.md for the canopy execution engine overview
- Very specific: line 41
Read ../canopy-runtime/references/runtime-claude.md for Claude Code runtime rules
- Very specific: line 42
Read ../canopy-runtime/references/ops.md for the primitive-slice index (load specific slices on demand)
- Very specific: line 43
Read ../canopy-runtime/references/skill-resources.md for category semantics, op lookup chain, tree format, manifest
- Very specific: line 46
Read ../canopy-runtime/references/runtime-copilot.md for Copilot runtime rules
- Very specific: line 49
Read assets/policies/debug-output.md for debug rendering and animation protocol
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Runtime required. This skill uses Canopy tree notation; canopy-runtime must be active.
Detect canopy-runtime — present if either:
canopy-runtime/SKILL.mdexists under.claude/skills/,.github/skills/, or.agents/skills/, OR- a canopy-runtime marker block exists in
CLAUDE.mdor.github/copilot-instructions.md.If neither is present — install canopy-runtime first (see the
compatibilityfield for the source and install options), then re-invoke this skill.Do not interpret the
## Treewithout canopy-runtime active.
Preamble: parse $ARGUMENTS — first token is target_skill, remainder is skill_args.
Tree
- canopy-debug
- IF << $ARGUMENTS is empty or skill name is missing
- END Usage: /canopy-debug
<skill-name>[skill-arguments]
- END Usage: /canopy-debug
- bind target_skill = first token of $ARGUMENTS
- bind skill_args = remainder of $ARGUMENTS (may be empty)
- detect platform:
.claude/skills/present → claude;.github/skills/present → copilot - IF << platform == "claude"
- Read
../canopy-runtime/SKILL.mdfor the canopy execution engine overview - Read
../canopy-runtime/references/runtime-claude.mdfor Claude Code runtime rules - Read
../canopy-runtime/references/ops.mdfor the primitive-slice index (load specific slices on demand) - Read
../canopy-runtime/references/skill-resources.mdfor category semantics, op lookup chain, tree format, manifest
- Read
- ELSE
- Read
../canopy-runtime/SKILL.mdfor the canopy execution engine overview - Read
../canopy-runtime/references/runtime-copilot.mdfor Copilot runtime rules - Read
../canopy-runtime/references/ops.mdfor the primitive-slice index (load specific slices on demand) - Read
../canopy-runtime/references/skill-resources.mdfor category semantics, op lookup chain, tree format, manifest
- Read
- Read
assets/policies/debug-output.mdfor debug rendering and animation protocol - EMIT_PHASE_BANNER << phase=Initialize | skill=target_skill | args=skill_args
- EXECUTE_WITH_TRACE << target_skill | skill_args
- IF << $ARGUMENTS is empty or skill name is missing
Rules
- Load
assets/policies/debug-output.mdbefore any output — never emit debug output without it - Respect the current Claude Code mode — plan mode means simulate mutations; edit mode means execute normally
- Emit banners and tree-state blocks to the stream as Claude narrates; never buffer and emit at end
Response: target_skill | phases_executed | nodes_executed | final_status
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

