search

search is a skill for Claude Code, Codex from obsfx/trekker-claude-code. It costs 0 tokens per session (532 once invoked), scanned A, original, MIT.

A search guide for Trekker, which stores past work in an FTS5 full-text index; full-text search matches the words you enter rather than understanding their meaning.

In plain words
What is it for?
Use it before starting work to search past tasks with distinctive single keywords, trying several searches when needed.
Why use it?
It helps agents find relevant previous work without using overly broad searches that miss results when every word must match.

Skill for Claude CodeCodex

Part of the trekker plugin — 5 skills, 13 commands, 1 agent, 4 hooks shipped together

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 skills/obsfx/trekker-claude-code/search
Any agent
npx skills add obsfx/trekker-claude-code --skill search
Clone the repo
git clone --depth 1 https://github.com/obsfx/trekker-claude-code

Made for: Claude Code, Codex.

Or install trekker, the plugin that ships this one along with the rest of its 5 skills, 13 commands, 1 agent, 4 hooks.

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 search

README.md
[![agentmods](https://agentmods.dev/badge/skills/obsfx/trekker-claude-code/search.svg)](https://agentmods.dev/skills/obsfx/trekker-claude-code/search)
Your own site
<a href="https://agentmods.dev/skills/obsfx/trekker-claude-code/search"><img src="https://agentmods.dev/badge/skills/obsfx/trekker-claude-code/search.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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 $0.00000 $0.00532
Opus 5 $0.00000 $0.00266
Sonnet 5 $0.00000 $0.00106
Haiku 4.5 $0.00000 $0.00053

Measured 3d ago against content hash 63c4562bdbde, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

search 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 3d 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.

skills/search/SKILL.md · 75 lines

How it starts

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

name: search description: PRIMARY tool for gathering context. Search tasks before any action.

CRITICAL: Use This First

Search is your PRIMARY tool for gathering context.

Before starting ANY work:

trekker search "<single keyword>"

This finds related past work using FTS5 full-text search.

Trekker uses FTS5 full-text search, NOT semantic/AI search. This means:

  • Use single, specific keywords - not phrases or sentences
  • Multi-word queries use AND logic - "fix authentication bug" requires ALL three words present, returning FEWER results
  • Search multiple times with different keywords for broader coverage
  • Pick the most distinctive word from what you're looking for
BAD (too many words) GOOD (single keyword)
trekker search "fix login authentication bug" trekker search "authentication"
trekker search "user cannot access account" trekker search "account"
trekker search "performance optimization slow" trekker search "performance"
trekker search "deployment pipeline issues" trekker search "deployment"

When to Use (ALWAYS)

  • Before creating tasks - find existing work
  • Before starting work - gather context
  • When investigating issues - find related bugs
  • When user describes problem - understand history
  • When resuming work - recover context

Commands

# Search with a single keyword
trekker search "authentication"

# Try multiple keywords separately for broader coverage
trekker search "login"
trekker search "password"

# Filter by type
trekker search "deployment" --type task

# Filter by status
trekker search "memory" --status todo,in_progress

# Rebuild index if needed
trekker search "caching" --rebuild-index

Workflow: Before ANY Task Operation

1. SEARCH: trekker search "<single keyword>"
2. BROADEN: Try 2-3 related keywords if first search has no results
3. REVIEW: Check if similar work exists
4. DECIDE: Update existing OR create new
5. SYNC: Mirror to TodoWrite after Trekker

Read the full file on GitHub · 75 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. 3d ago First seen · 75 lines · 0 tokens per session scan A 63c4562bdbde

Subscribe to this mod's changes

search is a skill published in the GitHub repository obsfx/trekker-claude-code (4 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 532 tokens. 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.