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.

Good fit 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.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ihorkatkov/pantheon/thoughts-locator
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for thoughts-locator

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihorkatkov/pantheon/thoughts-locator"><img src="https://agentmods.dev/badge/agents/ihorkatkov/pantheon/thoughts-locator.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00026 $0.00364
Sonnet 5.5 $0.00013 $0.00182
Haiku 4.5 $0.00007 $0.00091

Measured 3mo ago against content hash 1597af91c36b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (4 stars, last pushed 8mo ago), licensed MIT. It adds 66 tokens to every session and 910 once invoked, about $0.0003 per session on Opus 5.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

thoughts-locator compared with agents from other repositories

thoughts-locator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
thoughts-locatorihorkatkov/pantheonAgent48mo agoMITA66Claude Code, OpenCode
context-finderfuturegerald/futuregerald-claude-pluginAgent82d agononeA107Claude Code
wiki-ingestkarlorz/llm-wikiAgent5yesterdaynoneA64Claude Code
memory-curatorwbind-core/termpipe-mcpAgent026d agononeA45Claude Code
data scientistkhalilbenaz/MDANAgent01mo agoMITA8Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code