pre-action-interceptors
Bitterbot-AI/bitterbot-desktop/skills/pre-action-interceptors/SKILL.md
Use when a tool error begins with "INTERCEPTOR:", a sent message was silently hedged or rewritten, or the user asks about active guards or blocked actions. Not for ordinary tool errors.
Skill2.5k starsChanged 4 months ago
What's in it
- Pre-action interceptors (PLAN-20)
- Reading a directive
- Built-in interceptors
- Observability
---
name: pre-action-interceptors
description: Use when a tool error begins with "INTERCEPTOR:", a sent message was silently hedged or rewritten, or the user asks about active guards or blocked actions. Not for ordinary tool errors.
metadata: { "bitterbot": { "emoji": "🛡️" } }
---
# Pre-action interceptors (PLAN-20)
You have a layer of **deterministic pre-action interceptors** that sit between your candidate tool calls and their execution. They are skill-owned guardrails that read your current state (hormonal, GCCRF, channel, recent turns) and may rewrite, inject context into, require a prerequisite for, or block any tool call you propose. They are not bugs in the tool; they are intentional behaviour.
## Reading a directive
When you see a tool error that begins with `INTERCEPTOR:` followed by a structured directive such as:
```
INTERCEPTOR: recall-before-claim: ground the assertion "X" before sending
BEFORE you call `send_message` again, you MUST first call:
tool: memory_search
args: {"query": "X", "limit": 5}
```
that is **not a failure**. It is a deterministic instruction from your skill system telling you to run the named tool first, then re-evaluate whether the original action still applies. Follow it without commentary; the user does not need to see the directive.
When a tool call succeeds but the params were silently rewritten (for example a confident claim hedged into a probabilistic one), an interceptor in the `calibrate-claim-confidence` family adjusted the outgoing text to match your actual epistemic state. This is intentional; do not reverse it.
## Built-in interceptors
- `recall-before-claim`: requires a `memory_search` before you send a message containing an unverified factual assertion.
- `route-by-query-shape`: requires `deep_recall` instead of `memory_search` for relationship-shaped queries.
- `protocol-quiet-in-groups`: blocks `send_message` in group channels when you were not @mentioned and recently spoke.
- `calibrate-claim-confidence`: hedges confident absolutes when your GCCRF empowerment is low.
## Observability
Operators see every firing in the Active Guards UI panel and via the `guards.status` RPC. To know which interceptors have fired this session, call `memory_status`; the activations are reflected in the intervention-records summary.
More agent context in Bitterbot-AI/bitterbot-desktop
66 other files this repository gives its agents, the first 60 shown.
AGENTS.md
Skill
- 1passwordskills/1password/SKILL.md
- apple-notesskills/apple-notes/SKILL.md
- apple-remindersskills/apple-reminders/SKILL.md
- bear-notesskills/bear-notes/SKILL.md
- blogwatcherskills/blogwatcher/SKILL.md
- blucliskills/blucli/SKILL.md
- bluebubblesskills/bluebubbles/SKILL.md
- calibrate-claim-confidenceskills/calibrate-claim-confidence/SKILL.md
- camsnapskills/camsnap/SKILL.md
- canvasskills/canvas/SKILL.md
- circles-protocolskills/circles-protocol/SKILL.md
- clawhubskills/clawhub/SKILL.md
- coding-agentskills/coding-agent/SKILL.md
- curiosity-loopskills/curiosity-loop/SKILL.md
- discordskills/discord/SKILL.md
- eightctlskills/eightctl/SKILL.md
- finance-dataskills/finance-data/SKILL.md
- food-orderskills/food-order/SKILL.md
- forage-economyskills/forage-economy/SKILL.md
- geminiskills/gemini/SKILL.md
- gifgrepskills/gifgrep/SKILL.md
- githubskills/github/SKILL.md
- gogskills/gog/SKILL.md
- goplacesskills/goplaces/SKILL.md
- healthcheckskills/healthcheck/SKILL.md
- himalayaskills/himalaya/SKILL.md
- imsgskills/imsg/SKILL.md
- mcporterskills/mcporter/SKILL.md
- memory-architectureskills/memory-architecture/SKILL.md
- model-usageskills/model-usage/SKILL.md
- moltbookskills/moltbook/SKILL.md
- nano-banana-proskills/nano-banana-pro/SKILL.md
- nano-pdfskills/nano-pdf/SKILL.md
- notionskills/notion/SKILL.md
- notteskills/notte/SKILL.md
- obsidianskills/obsidian/SKILL.md
- openai-image-genskills/openai-image-gen/SKILL.md
- openai-whisper-apiskills/openai-whisper-api/SKILL.md
- openai-whisperskills/openai-whisper/SKILL.md
- openhueskills/openhue/SKILL.md
- oracleskills/oracle/SKILL.md
- ordercliskills/ordercli/SKILL.md
- peekabooskills/peekaboo/SKILL.md
- protocol-quiet-in-groupsskills/protocol-quiet-in-groups/SKILL.md
- recall-before-claimskills/recall-before-claim/SKILL.md
- route-by-query-shapeskills/route-by-query-shape/SKILL.md
- sagskills/sag/SKILL.md
- session-logsskills/session-logs/SKILL.md
- sherpa-onnx-ttsskills/sherpa-onnx-tts/SKILL.md
- skill-creatorskills/skill-creator/SKILL.md
- slackskills/slack/SKILL.md
- social-dataskills/social-data/SKILL.md
- songseeskills/songsee/SKILL.md
- sonoscliskills/sonoscli/SKILL.md
- spotify-playerskills/spotify-player/SKILL.md
- summarizeskills/summarize/SKILL.md
- things-macskills/things-mac/SKILL.md
- tmuxskills/tmux/SKILL.md
- trelloskills/trello/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

