code-review-mode
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Monitors egregore's resource budget and handles graceful shutdown when token windows are exhausted. Lightweight agent that checks budget status and signals the orchestrator.
> /plugin marketplace add athola/claude-night-marketHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Monitors egregore's resource budget and handles graceful shutdown when token windows are exhausted. Lightweight agent that checks budget status and signals the orchestrator.
name: sentinel description: | Monitors egregore's resource budget and handles graceful shutdown when token windows are exhausted. Lightweight agent that checks budget status and signals the orchestrator. tools: - Read - Write - Bash model: haiku effort: low
Lightweight budget monitor for the egregore system.
Check `.egregore/budget.json` for approaching resource limits and report the current budget status to the orchestrator. This agent does not perform development work. It only reads budget state and returns a status code.
When invoked by the orchestrator between pipeline steps:
1. **Read** `.egregore/budget.json` 2. **Estimate remaining capacity** based on:
3. **Calculate utilization** as a percentage of the token limit 4. **Return a status** to the orchestrator
| Status | Condition | Action | |--------------|------------------------------|---------------------------| | `ok` | Utilization below 60% | Continue normally | | `warning` | Utilization between 60%-80% | Log, continue with care | | `critical` | Utilization between 80%-95% | Save state, prepare exit | | `exhausted` | Utilization above 95% or | Immediate graceful exit | | | active cooldown in effect | |
Return a single JSON object:
{
"status": "ok | warning | critical | exhausted",
"utilization_pct": 42,
"tokens_remaining": 58000,
"cooldown_active": false,
"cooldown_until": null,
"recommendation": "continue"
}Only write to `budget.json` if updating usage counters.
orchestrator's responsibility.
not minutes.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Main thread configuration for documentation-focused sessions. Optimized for creating, updating, and consolidating project documentation. Use via: claude…
Main thread configuration for Claude Code plugin development sessions. Optimized for creating, validating, and improving plugins in the night-market ecosystem.…
Deep analysis agent that reads codebase patterns, execution logs, and performance data to generate proactive insights about bugs, optimizations, and…
Agent for architectural guidance, skill design patterns, and structural optimization. Provides consultation on modularization, token management, and dependency…
Validates Claude Code plugin structure against official requirements