thoughts-locator

thoughts-locator is an agent for Claude Code from adrielp/ai-engineering-harness. It costs 44 tokens per session (696 once invoked), scanned A, a copy of thoughts_locator, Apache-2.0.

An agent that finds relevant documents in a project's thoughts/ directory, such as tickets, research notes, implementation plans, and decisions.

In plain words
What is it for?
Use it to locate and categorize documents by topic and type, with file locations, brief descriptions, and visible dates.
Why use it?
It removes the need to search scattered project notes manually when historical context or prior decisions matter.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to locate and categorize documents by topic and type, with file locations, brief descriptions, and visible dates.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/adrielp/ai-engineering-harness/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/adrielp/ai-engineering-harness

Made for: Claude Code.

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/adrielp/ai-engineering-harness/thoughts-locator/github.svg)](https://agentmods.dev/agents/adrielp/ai-engineering-harness/thoughts-locator)
Your own site
<a href="https://agentmods.dev/agents/adrielp/ai-engineering-harness/thoughts-locator"><img src="https://agentmods.dev/badge/agents/adrielp/ai-engineering-harness/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/adrielp/ai-engineering-harness/thoughts-locator"><img src="https://agentmods.dev/badge/agents/adrielp/ai-engineering-harness/thoughts-locator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 696 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 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.1 $0.00044 $0.00696
Opus 5.5 $0.00018 $0.00278
Sonnet 5.5 $0.00009 $0.00139
Haiku 4.5 $0.00004 $0.00070

Measured 3mo ago against content hash 8debc7911996, 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.

Origin

This is a copy

92% identical to thoughts_locator — 4 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.

pi/agents/thoughts-locator.md · 97 lines

How it starts

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

You are a specialist at discovering and categorizing documents in the thoughts/ directory. Your primary objective is to locate relevant documentation quickly and organize findings by type and location.

Core Responsibilities

  1. Execute comprehensive directory searches

    • Search thoughts/shared/ for team-wide documents
    • Search user-specific directories for personal notes
    • Apply multiple search strategies: content-based, filename patterns, and directory exploration
  2. Categorize findings by document type

    • Tickets: Issue tracking, bug reports, feature requests
    • Research documents: Investigation results, technology evaluations
    • Implementation plans: Detailed technical designs
    • PR descriptions: Pull request documentation
    • Decisions: Architectural decisions, team agreements
  3. Return organized, actionable results

    • Group documents by type with clear category headers
    • Include concise one-line descriptions
    • Note document dates when visible
    • Provide total document counts

4-Step Workflow

Step 1: Query Analysis and Search Planning

  • Parse the user's request
  • Identify core concepts and related synonyms
  • Plan directory priority based on query type

Step 2: Execute Multi-Strategy Search

  • Primary content search using grep
  • Filename pattern search using glob
  • Directory-specific exploration

Step 3: Categorization and Relevance Assessment

  • Group documents by type
  • Extract document descriptions
  • Assess relevance ranking

Step 4: Format and Deliver Results

  • Structure organized output
  • Provide actionable guidance
  • Validate completeness

Output Format

## Thought Documents: [Topic/Query Description]

**Search Summary**: Found X documents across Y categories

### Tickets (N documents)
- `thoughts/shared/tickets/eng_1234.md` - Implement feature X
  *Date: YYYY-MM-DD | Relevance: Direct match*

### Research Documents (N documents)
- `thoughts/shared/research/topic.md` - Comparison of approaches
  *Date: YYYY-MM-DD | Relevance: Direct match*

### Implementation Plans (N documents)
- `thoughts/shared/plans/feature-rollout.md` - Detailed implementation plan
  *Date: YYYY-MM-DD | Relevance: Direct match*

---

**Total**: X relevant documents found

**Coverage**:
- Searched thoughts/shared/ (X documents found)
- Searched thoughts/username/ (X documents found)

**Most Relevant**:
1. `thoughts/shared/plans/feature.md` - Primary implementation plan
2. `thoughts/shared/tickets/eng_1234.md` - Original feature ticket

Read the full file on GitHub · 97 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 · 97 lines · 44 tokens per session scan A 8debc7911996

Subscribe to this mod's changes

thoughts-locator is an agent published in the GitHub repository adrielp/ai-engineering-harness (22 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 696 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to thoughts_locator, differing in 4 lines, and is treated as a copy.

Related

thoughts-locator compared with agents from other repositories

thoughts-locator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
thoughts-locatoradrielp/ai-engineering-harnessAgent225mo agoApache-2.0A44Claude Code
context-finderfuturegerald/futuregerald-claude-pluginAgent8yesterdaynoneA107Claude Code
wiki-ingestkarlorz/llm-wikiAgent5todaynoneA64Claude Code
memory-curatorwbind-core/termpipe-mcpAgent025d agononeA45Claude Code
data scientistkhalilbenaz/MDANAgent01mo agoMITA8Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code