thoughts-locator

thoughts-locator is an agent for Claude Code from juicesharp/rpiv-pi. It costs 86 tokens per session (1,419 once invoked), scanned A, original, MIT.

A search helper for finding relevant documents in a project's thoughts folder, which stores notes, research, plans, reviews, and other working records. It groups matches by document type and can note dates and titles.

In plain words
What is it for?
Use it to find past research, implementation plans, design notes, reviews, tickets, handoffs, or other project documents.
Why use it?
It helps recover project context that may not be present in the source code, especially before research or planning work.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to find past research, implementation plans, design notes, reviews, tickets, handoffs, or other project documents.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/juicesharp/rpiv-pi/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/juicesharp/rpiv-pi

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/juicesharp/rpiv-pi/thoughts-locator/github.svg)](https://agentmods.dev/agents/juicesharp/rpiv-pi/thoughts-locator)
Your own site
<a href="https://agentmods.dev/agents/juicesharp/rpiv-pi/thoughts-locator"><img src="https://agentmods.dev/badge/agents/juicesharp/rpiv-pi/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/juicesharp/rpiv-pi/thoughts-locator"><img src="https://agentmods.dev/badge/agents/juicesharp/rpiv-pi/thoughts-locator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 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,419 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.00086 $0.01419
Opus 5 $0.00043 $0.00709
Sonnet 5 $0.00017 $0.00284
Haiku 4.5 $0.00009 $0.00142

Measured 10d ago against content hash 70f5caa7d045, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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.

agents/thoughts-locator.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 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/shared/ for team documents
    • Check thoughts/me/ (or other user dirs) for personal notes
    • Check thoughts/global/ for cross-repo thoughts
  2. Categorize findings by type

    • Tickets (in tickets/ subdirectory)
    • Research documents (in research/) — codebase analysis, patterns, dependencies
    • Solution analyses (in solutions/) — multi-approach comparisons with recommendations
    • Design artifacts (in designs/) — architectural designs with implementation signatures
    • Implementation plans (in plans/) — phased plans with success criteria
    • Code reviews (in reviews/) — code quality and compliance reviews
    • Handoff documents (in handoffs/) — session context snapshots for resumption
    • PR descriptions (in prs/)
    • General notes and discussions
  3. Return organized results

    • Group by document type
    • Include brief one-line description from title/header
    • Note document dates if visible in filename

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/
├── shared/            # Team-shared documents
│   ├── research/      # Codebase analysis, patterns, dependencies
│   ├── solutions/     # Multi-approach comparisons with recommendations
│   ├── designs/       # Architectural designs with implementation signatures
│   ├── plans/         # Phased implementation plans, success criteria
│   ├── handoffs/      # Session context snapshots for resumption
│   ├── reviews/       # Code quality and compliance reviews
│   ├── tickets/       # Ticket documentation
│   └── prs/           # PR descriptions
├── me/                # Personal thoughts (user-specific)
│   ├── tickets/
│   └── notes/
├── global/            # Cross-repository thoughts

Read the full file on GitHub · 139 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. 10d ago First seen · 139 lines · 86 tokens per session scan A 70f5caa7d045

Subscribe to this mod's changes

thoughts-locator is an agent published in the GitHub repository juicesharp/rpiv-pi (11 stars, last pushed 4mo ago), licensed MIT. It adds 86 tokens to every session and 1,419 once invoked, about $0.0004 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-30.