claude-gladiator
Continuous learning — hooks observe failures and prompt reflection, sibling synergy deepens analysis with history and tool…
Context preservation with cross-session memory — hooks prompt compaction at high-impact moments, siblings enrich what gets saved
Claude Code
$ npx -y skills add Vvkmnn/claude-emporium --skill claude-praetorian --agent claude-code
Codex
$ npx skills add Vvkmnn/claude-emporium --skill claude-praetorian -a codex -y
Cursor
$ npx skills add Vvkmnn/claude-emporium --skill claude-praetorian -a cursor -y
Gemini CLI
$ npx skills add Vvkmnn/claude-emporium --skill claude-praetorian -a gemini-cli -y
GitHub Copilot
$ npx skills add Vvkmnn/claude-emporium --skill claude-praetorian -a github-copilot -y
OpenCode
$ npx skills add Vvkmnn/claude-emporium --skill claude-praetorian -a opencode -y
Windsurf
$ npx skills add Vvkmnn/claude-emporium --skill claude-praetorian -a windsurf -y
name: claude-praetorian description: Context preservation with cross-session memory — hooks prompt compaction at high-impact moments, siblings enrich what gets saved triggers: [PreToolUse, PreCompact, PostToolUse, SubagentStop]
Context guard. Saves and restores valuable context at the right moments — before planning, after research, when subagents complete.
| Hook | When | Action | |------|------|--------| | **PreToolUse(EnterPlanMode)** | Before planning | Lists prior compactions, suggests restoring | | **PreCompact** | Before context resets | Prompts to save decisions/insights/findings | | **PostToolUse(WebFetch/WebSearch)** | After web research | Prompts to compact as `web_research` | | **SubagentStop** | After subagent completes | Prompts to compact as `task_result` |
| Command | Description | |---------|-------------| | `/compact-praetorian [type] [title]` | Save current context | | `/restore-praetorian [query]` | Load previous context |
1. Identify what's worth saving (research, decisions, patterns) 2. `praetorian_compact(type, title, key_insights, refs)` 3. Verify with `praetorian_restore(title)` to confirm it saved
1. If **historian** active: `search_plans()` to check if past context already covers this 2. If **oracle** active: include any tool discoveries in `key_insights` 3. `praetorian_compact(type, title, key_insights, refs)` 4. If **vigil** active: files are also checkpointed via quicksave
1. `praetorian_restore()` — list recent compactions 2. `praetorian_restore("query")` — search for specific topic 3. Summarize findings for the current task
1. `praetorian_restore("query")` — load praetorian context 2. If **historian** active: `search_conversations("query")` for broader session history 3. If **oracle** active: `search("query")` for tools relevant to the restored context 4. Combine all sources into a unified briefing
| Sibling | Value | How | |---------|-------|-----| | **Historian** | Past plans surface during planning compactions | `search_plans()` enriches pre-plan hook | | **Oracle** | Tool discoveries included in compactions | Oracle results added to `key_insights` | | **Gladiator** | Observations inform what to compact | Failure patterns highlight important context | | **Vigil** | Files checkpointed alongside context | Quicksave protects files during compaction |
claude mcp add praetorian -- npx claude-praetorian-mcp
Continuous learning — hooks observe failures and prompt reflection, sibling synergy deepens analysis with history and tool…
Automatic history search — checks past sessions before web research, planning, and debugging, siblings deepen coverage
Automatic tool discovery across 17 sources — hooks search before planning and after errors, siblings avoid redundant searches
Prompt rhetoric coach — deterministic scoring and restructuring using Anthropic best practices
File checkpoint and recovery — auto-quicksaves before destructive commands, manual checkpoints for safe rollback
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.