DNYoussef/context-cascade

Context Cascade - Nested Plugin Architecture for Claude Code Official Claude Code Plugin | Version 3.1.0 | Last updated: 2026-01-09 (see docs/COMPONENT-COUNTS.json for source counts) Context-saving nested architecture: Playbooks -> Skills -> Agents -> Commands. Load only what you need, saving 90%+ context space.

32Stars on the repository
65Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

UserPromptSubmit

01

DNYoussef/context-cascade

Hook

Runs when you submit a prompt, before the agent sees it, executing plan-mode-enhancer.ps1, user-prompt-submit.ps1, five-phase-enforcer.ps1 and session-start-plugin-check.ps1 (4 commands). From DNYoussef/context-cascade.

32 1mo ago A tokens not measured original MIT

PreToolUse

02

DNYoussef/context-cascade

Hook

Runs before the agent uses a tool for Skill, Task, Write and Edit tool calls, executing pre-skill-invoke.ps1, check-skill-mcps.ps1, skill-started.ps1, pre-task-spawn.ps1, pre-task-memory-check.ps1, pre-task-plugin-reminder.ps1, pre-coding-library-check.ps1, model-router-pretool.ps1, agent-spawned.ps1 and…

32 1mo ago A tokens not measured original MIT

PostToolUse

03

DNYoussef/context-cascade

Hook

Runs after a tool call finishes for Task, TodoWrite, Skill, Write and Edit tool calls, executing post-task-spawn.ps1, post-task-memory-store.ps1, post-todowrite.ps1, post-skill-compliance.ps1, skill-completion-verifier.ps1, command-executed.ps1 and run-audit.ps1 (8 commands). From DNYoussef/context-cascade.

32 1mo ago A tokens not measured copy · 88% MIT

PreCompact

04

DNYoussef/context-cascade

Hook

Runs before the context is compacted, executing pattern-retention.ps1 and pattern-retention-precompact.ps1 (2 commands). From DNYoussef/context-cascade.

32 1mo ago A tokens not measured original MIT

Stop

05

DNYoussef/context-cascade

Hook

Runs when the agent finishes a response, executing session-end-reflect.ps1, session-stop.ps1, ralph-loop-stop-hook.ps1, session-end-store.ps1, recursive-improvement-gate.ps1, mcp-session-cleanup.ps1 and post-reflect-store.ps1 (7 commands). From DNYoussef/context-cascade.

32 1mo ago A tokens not measured copy · 89% MIT

SessionStart

06

DNYoussef/context-cascade

Hook

Runs when a session starts, executing session-start-plugin-check.ps1 and memory-trigger-patterns.ps1 (2 commands). From DNYoussef/context-cascade.

32 1mo ago A tokens not measured original MIT