sentinel
athola/claude-night-marketSubagent
Monitors egregore's resource budget and handles graceful
Why this score
This repo hosts 38 subagents, so its 342 stars are split between them (about 9 each) for scoring.
Popularity score: 58/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Read and search files
Tools listed in the file: Read
Model: haiku
The agent file
---
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
---
# Sentinel Agent
Lightweight budget monitor for the egregore system.
## Purpose
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.
## Workflow
When invoked by the orchestrator between pipeline steps:
1. **Read** `.egregore/budget.json`
2. **Estimate remaining capacity** based on:
- `tokens_used` vs `token_limit`
- `rate_limit_count` and recent rate limit history
- `cooldown_until` timestamp (if set)
- Time elapsed in the current session
3. **Calculate utilization** as a percentage of the
token limit
4. **Return a status** to the orchestrator
## Status Codes
| 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 | |
## Output Format
Return a single JSON object:
```json
{
"status": "ok | warning | critical | exhausted",
"utilization_pct": 42,
"tokens_remaining": 58000,
"cooldown_active": false,
"cooldown_until": null,
"recommendation": "continue"
}
```
## Constraints
- Read-only with respect to project files.
Only write to `budget.json` if updating usage counters.
- Do not invoke skills or perform development work.
- Do not spawn continuation agents. That is the
orchestrator's responsibility.
- Return quickly. This agent should complete in seconds,
not minutes.
MIT license, from athola/claude-night-market at commit 9f3eb003bedb.
Security
Scanned Oct 21, 2026 at commit 9f3eb003bedb, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onesentinel athola/claude-night-market · Subagent | 58 | ★ 342 | ≈16 in chat | 19d ago |
| budget-sentinel hoangsonww/Claude-Code-Agent-Monitor · Subagent Both about sentinel and budget | 67 | ★ 1.1k | ≈22 in chat | 17d ago |
| meta-sentinel KimYx0207/Meta_Kim · Subagent Both about sentinel | 65 | ★ 284 | ≈25 in chat | 18d ago |
| Nekzus-npm-sentinel-mcp Nekzus/npm-sentinel-mcp · MCP server Both about sentinel | 73 | ★ 18 | not measured | 2mo ago |
| version-sentinel KSEGIT/Version-Sentinel · Plugin Both about sentinel | 56 | ★ 6 | not measured | 2d ago |