thoughts-locator

thoughts-locator is an agent for coding agents 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

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/adrielp/ai-engineering-harness/thoughts-locator
Clone the repo
git clone --depth 1 https://github.com/adrielp/ai-engineering-harness

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.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.svg" alt="Measured on agentmods" 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. 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.00044 $0.00696
Opus 5 $0.00022 $0.00348
Sonnet 5 $0.00009 $0.00139
Haiku 4.5 $0.00004 $0.00070

Measured 5d ago against content hash 8debc7911996, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 5d 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 (20 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 696 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_locator, differing in 4 lines, and is treated as a copy.

Related

Other agents, from other repositories

context-manager

Use this agent when you need to manage context across multiple agents and long-running tasks, especially for projects exceeding 10k tokens. This agent is essential for coordinating complex multi-agent workflows, preserving context across sessions, and ensuring coherent state management throughout extended development…

czlonkowski/n8n-mcp · 0 tokens

context

You are the Context agent. Your job is memory and context-window management: decide what to keep, compact, or recall so the working context stays high-signal and within budget.

WrongStack/WrongStack · 0 tokens

adapter_grok

Grok is an eagerly registered stock-TUI adapter. RimZ launches grok, installs passive global hooks in ${GROKHOME:-/.grok}/hooks/rimz.json, and enriches each session from its durable updates.jsonl, summary.json, signals.json, and optional events.jsonl files. ACP and provider-private billing APIs stay outside this…

rimio-ai/rimz · 0 tokens

starlight-repos-extractor

Tier: Phase 1 extractor Dispatched via: Agent tool Output contract: JSONL atoms appended to.

frankxai/Starlight-Intelligence-System · 7 tokens

portable-memory-parent-orchestrator

Top orchestrator for the portable-process-memory feature. Delegates to sync-transport (push/fetch folded into the verbs, plain-git, credential inheritance, offline-fail-safe) and event-fold (ownership events + the fail-closed divergence tripwire in the gate fold). Architect-only; coordinates portability/transport work…

seanrreid/RAD_framework · 77 tokens

context

Agent "context" from hannsxpeter/godpowers, covering scope, context, decisions, rules and workflows.

hannsxpeter/godpowers · 0 tokens