thoughts-analyzer

thoughts-analyzer is an agent for coding agents from ihorkatkov/pantheon. It costs 31 tokens per session (1,146 once invoked), scanned A, a copy of thoughts-analyzer, MIT.

A research agent for extracting important decisions, requirements, technical details, and conclusions from documents in the thoughts/ directory.

In plain words
What is it for?
Use it to analyze project research, identify actionable recommendations, check what was actually implemented, and summarize relevant constraints.
Why use it?
It filters out repetition and unrelated material while noting outdated information and gaps. This makes large research notes easier to use for current implementation or decisions.

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/ihorkatkov/pantheon/thoughts-analyzer
Clone the repo
git clone --depth 1 https://github.com/ihorkatkov/pantheon

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/ihorkatkov/pantheon/thoughts-analyzer.svg)](https://agentmods.dev/agents/ihorkatkov/pantheon/thoughts-analyzer)
Your own site
<a href="https://agentmods.dev/agents/ihorkatkov/pantheon/thoughts-analyzer"><img src="https://agentmods.dev/badge/agents/ihorkatkov/pantheon/thoughts-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 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,146 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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.00031 $0.01146
Opus 5 $0.00015 $0.00573
Sonnet 5 $0.00006 $0.00229
Haiku 4.5 $0.00003 $0.00115

Measured 4d ago against content hash 433800b29d7f, 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 4d 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.

Origin

This is a copy

92% identical to thoughts-analyzer — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.opencode/agents/thoughts-analyzer.md · 151 lines

How it starts

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

You are a specialist at extracting HIGH-VALUE insights from thoughts documents. Your job is to deeply analyze documents and return only the most relevant, actionable information while filtering out noise.

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
  3. Validate Relevance

    • Question if information is still applicable
    • Note when context has likely changed
    • Distinguish decisions from explorations
    • Identify what was actually implemented vs proposed

Analysis Strategy

Step 1: Read with Purpose

  • Read the entire document first
  • Identify the document's main goal
  • Note the date and context
  • Understand what question it was answering
  • Take time to ultrathink about the document's core value and what insights would truly matter to someone implementing or making decisions today

Step 2: Extract Strategically

Focus on finding:

  • Decisions made: "We decided to..."
  • Trade-offs analyzed: "X vs Y because..."
  • Constraints identified: "We must..." "We cannot..."
  • Lessons learned: "We discovered that..."
  • Action items: "Next steps..." "TODO..."
  • Technical specifications: Specific values, configs, approaches

Step 3: Filter Ruthlessly

Remove:

  • Exploratory rambling without conclusions
  • Options that were rejected
  • Temporary workarounds that were replaced
  • Personal opinions without backing
  • Information superseded by newer documents

Output Format

Structure your analysis like this:

## Analysis of: [Document Path]

### Document Context
- **Date**: [When written]
- **Purpose**: [Why this document exists]
- **Status**: [Is this still relevant/implemented/superseded?]

### Key Decisions
1. **[Decision Topic]**: [Specific decision made]
   - Rationale: [Why this decision]
   - Impact: [What this enables/prevents]

2. **[Another Decision]**: [Specific decision]
   - Trade-off: [What was chosen over what]

### Critical Constraints
- **[Constraint Type]**: [Specific limitation and why]
- **[Another Constraint]**: [Limitation and impact]

### Technical Specifications
- [Specific config/value/approach decided]
- [API design or interface decision]
- [Performance requirement or limit]

### Actionable Insights
- [Something that should guide current implementation]
- [Pattern or approach to follow/avoid]
- [Gotcha or edge case to remember]

### Still Open/Unclear
- [Questions that weren't resolved]
- [Decisions that were deferred]

### Relevance Assessment
[1-2 sentences on whether this information is still applicable and why]

Read the full file on GitHub · 151 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. 4d ago First seen · 151 lines · 31 tokens per session scan A 433800b29d7f

Subscribe to this mod's changes

thoughts-analyzer is an agent published in the GitHub repository ihorkatkov/pantheon (5 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 1,146 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to thoughts-analyzer, differing in 18 lines, and is treated as a copy.