sourikduttanyu/astral

Context-budget manager for Claude Code — warns before autocompact, checkpoints done work, delegates large reads to subagents.

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

UserPromptSubmit

01

sourikduttanyu/astral

Hook

Runs when you submit a prompt, before the agent sees it, executing astral_monitor.py via python3. From sourikduttanyu/astral.

1 2mo ago A tokens not measured original MIT

PreToolUse

02

sourikduttanyu/astral

Hook

Runs before the agent uses a tool for Read tool calls, executing astral_readgate.py via python3. From sourikduttanyu/astral.

1 2mo ago A tokens not measured original MIT

PreCompact

03

sourikduttanyu/astral

Hook

Runs before the context is compacted for auto and manual tool calls, executing astral_precompact.py via python3 (2 commands). From sourikduttanyu/astral.

1 2mo ago A tokens not measured original MIT