Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/cukas/remembrall/phoenixgit clone --depth 1 https://github.com/cukas/remembrallWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00016 | $0.00528 |
| Opus 5 | $0.00008 | $0.00264 |
| Sonnet 5 | $0.00003 | $0.00106 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
phoenix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Toggle Phoenix Mode
Check current state and toggle:
source "${CLAUDE_PLUGIN_ROOT:-$(cat /tmp/remembrall-meta/plugin-root 2>/dev/null)}/hooks/lib.sh"
CURRENT=$(remembrall_config "phoenix_mode" "false")
echo "Current: phoenix_mode=$CURRENT"
- If currently off (
false): set it totrueand confirm. - If currently on (
true): set it tofalseand confirm.
source "${CLAUDE_PLUGIN_ROOT:-$(cat /tmp/remembrall-meta/plugin-root 2>/dev/null)}/hooks/lib.sh"
CURRENT=$(remembrall_config "phoenix_mode" "false")
if [ "$CURRENT" = "true" ]; then
remembrall_config_set "phoenix_mode" "false"
echo "SWITCHED: phoenix_mode → OFF (normal AK behavior)"
else
remembrall_config_set "phoenix_mode" "true"
echo "SWITCHED: phoenix_mode → ON (recurring context recycling)"
fi
If user asks for status, show Phoenix chain info:
source "${CLAUDE_PLUGIN_ROOT:-$(cat /tmp/remembrall-meta/plugin-root 2>/dev/null)}/hooks/lib.sh"
PHOENIX_MAX=$(remembrall_config "phoenix_max_cycles" "10")
echo "phoenix_mode: $(remembrall_config "phoenix_mode" "false")"
echo "phoenix_max_cycles: $PHOENIX_MAX"
PHOENIX_DIR="/tmp/remembrall-phoenix"
if [ -d "$PHOENIX_DIR" ]; then
for chain_file in "$PHOENIX_DIR"/*.cycle; do
[ -f "$chain_file" ] || continue
chain_id=$(basename "$chain_file" .cycle)
cycle=$(cat "$chain_file")
echo "Chain $chain_id: cycle $cycle/$PHOENIX_MAX"
done
fi
Show the user the result and explain:
- ON: At the urgent threshold, Remembrall captures state and triggers context recycling automatically. The cycle rearms after each compaction — zero clicks, indefinite continuation. Max cycles configurable via
phoenix_max_cycles(default 10). - OFF: Normal Avada Kedavra behavior at urgent threshold (one-shot).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 52 lines · 16 tokens per session scan A de469823ee64
phoenix is a command published in the GitHub repository cukas/remembrall (6 stars, last pushed 5mo ago), licensed MIT. It adds 16 tokens to every session and 528 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
create
Create a complete handover.md so any LLM can continue this session without mistakes.
resume
Load handover.md and brief yourself before continuing a session.
handoff-resume
Resume from a prior session's handoff in .handoffs/.
handoff
Write a session handoff to .handoffs/ before context runs out.
build
Run full verification pipeline.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).