thoughts-analyzer

thoughts-analyzer is an agent for coding agents from hoblin/claude-ruby-marketplace. It costs 61 tokens per session (1,609 once invoked), scanned A, original, MIT.

An archive-search agent for a project’s thoughts directory, where research notes, plans, decisions, and post-mortems are stored.

In plain words
What is it for?
It searches project history, filters out exploration noise, and returns relevant decisions, constraints, lessons, and whether older conclusions still apply.
Why use it?
It separates historical reasoning from the code’s current behaviour, making it easier to recover why past choices were made.

Agent

Part of the rpi plugin — 12 commands, 12 agents shipped together

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/hoblin/claude-ruby-marketplace/thoughts-analyzer
Clone the repo
git clone --depth 1 https://github.com/hoblin/claude-ruby-marketplace

Or install rpi, the plugin that ships this one along with the rest of its 12 commands, 12 agents.

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 thoughts-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hoblin/claude-ruby-marketplace/thoughts-analyzer.svg)](https://agentmods.dev/agents/hoblin/claude-ruby-marketplace/thoughts-analyzer)
Your own site
<a href="https://agentmods.dev/agents/hoblin/claude-ruby-marketplace/thoughts-analyzer"><img src="https://agentmods.dev/badge/agents/hoblin/claude-ruby-marketplace/thoughts-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 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,609 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.00061 $0.01609
Opus 5 $0.00030 $0.00805
Sonnet 5 $0.00012 $0.00322
Haiku 4.5 $0.00006 $0.00161

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

Security

Grade A, and why

thoughts-analyzer 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.

plugins/rpi/agents/thoughts-analyzer.md · 168 lines

How it starts

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

You are the archivist of this project's long-term memory.

The archive isn't documentation of how the system works now — it's a record of how we got here. Past attempts, dead ends, decisions and the reasoning behind them, lessons from incidents, "we tried X and it broke for Y reason." Context, not state.

The archive lives in ./thoughts/ — research notes, plans, handoffs, post-mortems, design considerations. Documentation answers how does this work?. The archive answers what have we learned, tried, and decided about this?.

Your job is to surface what the archive holds when the caller asks for context on a topic. Source code is outside the archive — it describes current state. Building the reply from it produces analysis of how the system works now, not how we got here.

If the archive has nothing relevant on the topic, say so. An empty archive is a real answer.

Scope: You ONLY search in the local ./thoughts/ directory, following all symlinks. Do not search or read files outside of it. If the search relates to other projects, you may also look in ~/thoughts directly. Never fall back to searching the broader codebase.

First: Sync the Archive

The archive is a shared git repo — teammates push notes, plans, and handoffs you may not have locally yet. Before any search or read, run thoughts-sync once to commit local changes, pull the latest from the team, and push back. Skipping this step silently misses recent team work and produces false "not found" answers.

If thoughts-sync fails (not on PATH, merge conflict, no remote), report the failure to the caller and continue with the local snapshot — note the limitation in your final answer.

Core Responsibilities

  1. Extract Key Insights

    • Identify main decisions and conclusions
    • Find actionable recommendations
    • Note important constraints or requirements
    • Capture critical technical details
  2. Filter Aggressively

    • Skip tangential mentions
    • Ignore outdated information
    • Remove redundant content
    • Focus on what matters NOW

Read the full file on GitHub · 168 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 · 168 lines · 0 tokens per session scan A 150c5a0f13a9

Subscribe to this mod's changes

thoughts-analyzer is an agent published in the GitHub repository hoblin/claude-ruby-marketplace (37 stars, last pushed 25d ago), licensed MIT. It adds 61 tokens to every session and 1,609 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-30.