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-arguments]
- 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