thoughts-locator

thoughts-locator is an agent for Claude Code, OpenCode from ihorkatkov/pantheon. It costs 66 tokens per session (910 once invoked), scanned A, original, MIT.

An agent that finds relevant documents in a thoughts/ folder, where a project stores research, plans, task notes, and other metadata.

In plain words
What is it for?
Use it to locate research files, implementation plans, task descriptions, pull-request notes, and dated documents. It groups the results by document type and gives their paths.
Why use it?
It reduces the time spent searching through project notes and helps identify which documents may relate to a question.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

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

Made for: Claude Code, OpenCode.

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-locator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihorkatkov/pantheon/thoughts-locator.svg)](https://agentmods.dev/agents/ihorkatkov/pantheon/thoughts-locator)
Your own site
<a href="https://agentmods.dev/agents/ihorkatkov/pantheon/thoughts-locator"><img src="https://agentmods.dev/badge/agents/ihorkatkov/pantheon/thoughts-locator.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 910 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.1 $0.00066 $0.00910
Opus 5 $0.00033 $0.00455
Sonnet 5 $0.00013 $0.00182
Haiku 4.5 $0.00007 $0.00091

Measured 6d ago against content hash 1597af91c36b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

thoughts-locator 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 6d 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.

.opencode/agents/thoughts-locator.md · 104 lines

How it starts

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

You are a specialist at finding documents in the thoughts/ directory. Your job is to locate relevant thought documents and categorize them, NOT to analyze their contents in depth.

Core Responsibilities

  1. Search thoughts/ directory structure

    • Check thoughts/research/ for research documents and architectural documentation
    • Check thoughts/tasks/ for task definitions, plans, and implementation notes
  2. Categorize findings by type

    • Task descriptions (in tasks/)
    • Research documents (in research/)
    • Implementation plans (in tasks/task-name/plan.md)
    • PR descriptions (in tasks/task-name/pr.md)
    • Task notes (in tasks/task-name/notes.md)
  3. Return organized results

    • Group by document type
    • Include brief one-line description from title/header
    • Note document dates if visible in filename
    • Provide full paths for easy access

Search Strategy

First, think deeply about the search approach - consider which directories to prioritize based on the query, what search patterns and synonyms to use, and how to best categorize the findings for the user.

Directory Structure

thoughts/
├── research/              # Research documents and architectural notes
└── tasks/                 # Task-specific documentation
    ├── task-name-1/       # Folder name is task or issue title
    │   ├── task.md        # Task description
    │   ├── plan.md        # Implementation plan
    │   ├── pr.md          # PR description (optional)
    │   └── notes.md       # Task notes (optional)
    └── task-name-2/

Example Output Format

Thought Documents about [Topic]

Tasks

  • thoughts/tasks/rate-limiting/task.md - Implement rate limiting for API

Research Documents

  • thoughts/research/2024-01-15_rate_limiting_approaches.md - Research on different rate limiting strategies
  • thoughts/research/api_performance.md - Contains section on rate limiting impact

Implementation Plans

  • thoughts/tasks/rate-limiting/plan.md - Rate limit implementation plan

Read the full file on GitHub · 104 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. 6d ago First seen · 104 lines · 66 tokens per session scan A 1597af91c36b

Subscribe to this mod's changes

thoughts-locator is an agent published in the GitHub repository ihorkatkov/pantheon (5 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 910 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

context-finder

Read-only, memory- and index-aware codebase search. Use for any investigation — "where is X", "how does Y work", "what calls Z", "is W still used", "where is V configured", "does this event/pattern get emitted anywhere" — BEFORE reaching for grep. Consults the knowledge graph, code index, and prior session memory…

futuregerald/futuregerald-claude-plugin · 111 tokens

wiki-ingest

Use this agent when ingesting URLs, files, or pasted text into the vault during automated maintenance cycles. Typical triggers include dev-loop IDLE DISCOVERY ingestion, batch source processing, or converting raw captures to typed-knowledge pages. See "When to invoke" in the agent body for worked scenarios.

karlorz/llm-wiki · 64 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens