Continuous learning — INVOKE after sessions with many errors or corrections to record patterns and improve rules, hooks, and skills
From claude-gladiatornpx claudepluginhub vvkmnn/claude-emporium-beta --plugin claude-gladiatorThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Compresses source documents into lossless, LLM-optimized distillates preserving all facts and relationships. Use for 'distill documents' or 'create distillate' requests.
Continuous learning. Observes tool failures and prompts reflection to evolve rules, hooks, and skills.
| Hook | When | Action |
|---|---|---|
| PostToolUseFailure(Bash/Edit) | After tool failure | Nudges you to call gladiator_observe() — you must call it, not automatic |
| Stop | Session ending | Prompts gladiator_reflect() if >= 10 unprocessed observations |
| Command | Description |
|---|---|
/review-gladiator [topic] | Batch learn from accumulated observations and session history |
After a tool failure, the hook nudges you. YOU must call gladiator_observe() — it is NOT automatic. After fixing an error, record what worked:
gladiator_observe(
summary: "<what failed and how it was fixed>",
context: {error, tool, before, after},
tags: ["error", "<tool_name>"]
)
gladiator_reflect() — cluster observations into recommendationsgladiator_reflect() to cluster all observations| Situation | Call |
|---|---|
| Tool failure (auto) | gladiator_observe(summary, context={error, tool, before, after}, tags=["error", tool]) |
| User correction | gladiator_observe(summary, context={before, after}, tags=["correction"]) |
| Convention found | gladiator_observe(summary, tags=["convention", "domain"]) |
| Decision made | gladiator_observe(summary, tags=["architecture", "decision"]) |
claude mcp add gladiator -- npx claude-gladiator-mcp