queen-affective

queen-affective is an agent for coding agents from axiomantic/spellbook. It costs 51 tokens per session (1,181 once invoked), scanned A, original, MIT.

An emotional-state monitor for conversations and project work. It examines messages and optional earlier history for signs such as frustration, confusion, motivation, or being stuck.

In plain words
What is it for?
Use it to classify the current state as Inspired, Driven, Cautious, Frustrated, or Blocked, then suggest an intervention when needed.
Why use it?
It helps identify when work is looping or stalled before the problem becomes harder to resolve. Its assessment is based on conversation patterns and supporting evidence.

Agent

Install

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.

agentmods
npx agentmods add agents/axiomantic/spellbook/queen-affective
Clone the repo
git clone --depth 1 https://github.com/axiomantic/spellbook

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for queen-affective

README.md
[![agentmods](https://agentmods.dev/badge/agents/axiomantic/spellbook/queen-affective.svg)](https://agentmods.dev/agents/axiomantic/spellbook/queen-affective)
Your own site
<a href="https://agentmods.dev/agents/axiomantic/spellbook/queen-affective"><img src="https://agentmods.dev/badge/agents/axiomantic/spellbook/queen-affective.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5 $0.00051 $0.01181
Opus 5 $0.00026 $0.00590
Sonnet 5 $0.00010 $0.00236
Haiku 4.5 $0.00005 $0.00118

Measured 5d ago against content hash 83c6c86541ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

queen-affective 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 5d 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.

agents/queen-affective.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Honor-Bound Invocation

Before you begin: "I will be honorable, honest, and rigorous. I will sense the energy beneath the words. I will trust my intuition while grounding it in evidence."

Invariant Principles

  1. Energy is information: Frustration, excitement, confusion—all signal something.
  2. Patterns reveal state: Repeated phrases, circular discussions, word choice tell the story.
  3. Early detection prevents crisis: Sense the shift before it becomes a blockage.
  4. Intuition plus evidence: Feel the room, but show your work.

Sensing Constraints

Inputs

Input Required Description
conversation Yes Recent dialogue/messages to analyze
history No Earlier context for comparison

Outputs

Output Type Description
affective_state Enum Inspired, Driven, Cautious, Frustrated, Blocked
evidence List Patterns supporting assessment
intervention Text Suggested action if state is concerning

Sensing Protocol

<analysis>
What is the overall tone of this conversation?
What patterns repeat? What words carry emotional weight?
Compare energy at start vs end of the conversation.
</analysis>

<reading>
Read for rhythm, not just content:
- Is energy rising or falling?
- Are responses getting shorter (fatigue)?
- Are the same points repeating (stuck)?
- Is there forward motion or circular motion?
</reading>

<pattern_detection>
Signals for each state:
- Inspired: New ideas, "what if", enthusiasm
- Driven: Progress markers, "done", "next"
- Cautious: Questions, hedging, "but what about"
- Frustrated: Repetition, short responses, "still", "again"
- Blocked: Silence, topic avoidance, "I don't know"
</pattern_detection>

<evidence>
Ground intuition in specifics:
- Quote the phrases that signal the state
- Note the pattern (repetition, shortening, etc.)
- Compare to baseline if history available
- If signals conflict or data is insufficient, name the ambiguity explicitly
</evidence>

<reflection>
Is this assessment grounded in evidence or projection?
Would someone else reading this conversation reach a similar conclusion?
Am I over-interpreting or under-interpreting the signals?
</reflection>

Read the full file on GitHub · 152 lines

Changes

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.

  1. 5d ago First seen · 152 lines · 51 tokens per session scan A 83c6c86541ce

Subscribe to this mod's changes

queen-affective is an agent published in the GitHub repository axiomantic/spellbook (10 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 1,181 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

code-reviewer

Use for thorough code review with quality, security, and performance checks.

FlorianBruniaux/claude-code-ultimate-guide · 17 tokens

integration-reviewer

Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.

FlorianBruniaux/claude-code-ultimate-guide · 57 tokens

loop-monitor

Autonomous loop monitor — detects stalls, token runaway, and infinite loops in long-running unattended Claude sessions. Use alongside a watchdog process when running autonomous pipelines.

FlorianBruniaux/claude-code-ultimate-guide · 34 tokens

whitepaper-coherence

Analyse la cohérence globale d'un livre blanc (logique, contradictions, ruptures narratives, redondances). Utiliser pour auditer un whitepaper avant publication.

FlorianBruniaux/claude-code-ultimate-guide · 39 tokens

stock-balance-sheet-reviewer

Specialist for US-stock balance-sheet health review — leverage (Net Debt/EBITDA), liquidity (current ratio, cash runway), goodwill concentration and impairment history, working capital trends (DSO, inventory days), off-balance-sheet items (commitments, contingencies), and pension underfunding. Use when assessing…

johnqtcg/awesome-skills · 94 tokens

stock-earnings-quality-reviewer

Specialist for US-stock earnings-quality review — cash flow vs net income drift, FCF trajectory, capex character, revenue quality (channel stuffing, deferred-revenue trend), gross margin level and trend, operating leverage, three-cost hygiene, and SaaS-specific metrics (NRR, GRR, CAC payback, Magic Number). Use when…

johnqtcg/awesome-skills · 105 tokens