search-first
Skill1 starsChanged 2 months agoMITView on GitHub
Look outside before deciding: search the live web, registries and primary sources at decision time and bring back a report the caller picks from. Use for any question that may have an answer outside this repo — choosing a library or tool (\"which one is mainstream now\"), prior implementations of a design problem (\"is there already a skill / repo that solved this problem\"), whether a paper or post's claim applies here (\"does this claim apply to us\"), what an official spec or CLI does now (\"what does the official source say\"), the current state of practice (\"where do things stand now\"), or checking a claim against its primary source (\"does the primary source really say that\"). Also on 'search first', 'is there a package for', or /search-first. Other entry points: this repo or the local machine → Explore agent; a whole article's fact-check → the writing repo's fact-checker; bug fixes, refactors and config edits → implementation-chain.
29 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- LeeYudok/agents-scaffoldtheir own version, first seen Oct 4, 2026
- shimo4228/claude-harnessedited, first seen Sep 27, 2026
- shimo4228/search-firstword for word, first seen Sep 26, 2026
- songjiun10-collab/Senior-thinking-skillstheir own version, first seen Sep 25, 2026
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- arsen-ask-lx/Agent_Quality_Kittheir own version, first seen Sep 16, 2026
Used with
Projects with it also use continuous-agent-loop, regex-vs-llm-structured-text and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
InfopibeSkillcontinuous-agent-loop
Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls.
Also in 5 projects that use this
InfopibeSkillregex-vs-llm-structured-text
Decision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases.
Also in 6 projects that use this
FaisalAlqarniSkillspringboot-tdd
Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.
Also in 5 projects that use this
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 4 projects that use this
FaisalAlqarniSkilljpa-patterns
JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.
Also in 5 projects that use this
- +6 more from Infopibe
Other versions29 projects use a version of this.
Word for word · 1
- shimo4228/search-first★ 3100% same
Edited · 1
- shimo4228/claude-harness★ 377% same
Wrote their own version · 27
- xu-xiang/everything-claude-code-zh★ 2ksame name
- loulanyue/awesome-claude-notes★ 272same name
- tpavanipradeep/everything-claude-code★ 134same name
- templetongroup/radiant★ 113same name
- Jamkris/everything-gemini-code★ 87same name
- songjiun10-collab/Senior-thinking-skills★ 82same name
- xiaobei930/cc-best★ 48same name
- LeeYudok/agents-scaffold★ 28same name
- sidiangongyuan/codex-skills-library★ 18same name
- jiten-singh-shahi/salesforce-claude-code★ 17same name
17 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- adr-writerSkill
- agent-stocktakeSkill
- author-calibrated-evalSkill
- context-syncSkill
- generation-auditSkill
- harness-boundarySkill
- jev-judgment-designSkill
- learn-evalSkill
- llm-as-judgeSkill
- repo-asset-stocktakeSkill
- review-to-lintSkill
- rules-distillSkill
- rules-stocktakeSkill
- skill-complySkill
- skill-healthSkill
- skill-stocktakeSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Before the first tool call, write 2–3 sentences of plain assistant text: the question, which row(s) of the table below it belongs to, and …
- Distinctive: line 25
When the need is code to write — an adapter, an API client, a parser, a utility — state it as a Library / tool choice: which established …
- Distinctive: line 56
Every claim carries an as-of date and a source URL.
- Distinctive: line 57
When nothing turned up, write the range: search terms, sources, date — "not located within this boundary" leaves the next session a place …
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/search-first — Look Outside, Report, Let the Caller Pick
The searcher reports what exists outside and how it differs from our situation. The caller — the main loop, a build session, an RFC author — reads the report and decides what to adopt, adopt in part, or leave. An established candidate that matches the need is adopted by default; adopt-in-part means taking the library's code for one piece (its parser, its data model) inside our own control flow, and a piece that transfers is worth the search (RFC-0022). Building our own is chosen when the report names the gap no candidate fills.
0. State the question in text
Before the first tool call, write 2–3 sentences of plain assistant text: the question, which row(s) of the table below it belongs to, and the constraints (language, existing deps, license, budget). Tool arguments may mirror this text; the chat text is what lets the user redirect before effort is spent.
When the need is code to write — an adapter, an API client, a parser, a utility — state it as a Library / tool choice: which established library already does this. Asking which endpoint to call or which algorithm to use yields an answer that can only be hand-coded.
1. Check this repo first
One rg / Glob pass through the relevant modules, skills and notes. The thing may already
exist here. Then go outside.
2. Search by question type
The rows are handles for where to look and when to stop. A question that fits none still runs; a question that fits two uses both rows.
| Type | Where to look | What counts as evidence | Stop when |
| Library / tool choice | registries (npm / PyPI / crates), official docs, release pages | last release date, adoption (downloads, dependents, maintainers), license, dependency weight, the specific feature match, and whether it can run on our own HTTP client / runtime | 2–3 candidates have primary facts |
| Prior implementation | GitHub code search, skill / agent / MCP catalogs, this harness (Glob) | the actual file (SKILL.md, source) read, with path or URL | 2 actual files read, or 3 independent sources agree |
| Claim of a paper / post | the primary text (arXiv, official blog, the repo file itself) | subject, premises (data, scale, environment), kind of evidence, how ours differs | subject and premises are written down |
| Spec / official behavior | official docs, --help, changelog, running it | version and date, the observed result | one version-stamped primary fact |
| State of practice | the rows above mixed, plus first-person operating notes | each item dated and sourced, the range covered | the next search would settle nothing you can name |
| Primary-source check | the full text the claim points at (past the abstract) | the passage and its locator; per claim: supported / partial / unsupported / unverified | every claim carries one of the four |
Query live documentation at decision time (context7, the registry, the changelog itself): recommendations age, and this harness treats external knowledge as stale within a week (rule: knowledge-staleness).
3. Report
The report is the deliverable. Write it so the caller can pick from it:
- Every claim carries an as-of date and a source URL.
- When nothing turned up, write the range: search terms, sources, date — "not located within this boundary" leaves the next session a place to widen from.
- Say which you did for each source: read the full text, or saw a snippet / abstract.
- For every external finding give its subject, its premises, and how our situation differs; the caller decides what transfers.
- Judgement is prose backed by facts — dates, versions, the concrete feature match. Strengths and weaknesses in sentences; the canonical home of "evidence, not scores" (ADR-0026).
## Scope searched
terms / sources / as-of date — including what was not located
## Found
per item: what (URL) / subject and premises / kind of evidence (experiment, benchmark,
adoption, opinion) / how our situation differs / the part that transfers
## Verdict
per need: Adopt <candidate> / Adopt-part <candidate: the piece> / Build — the gap no
candidate fills
## Still unknownAn Adopt or Adopt-part that adds a dependency goes through the dependency intake of skill:
implementation-chain before it lands.
4. Quick vs Full
- Quick (inline) — a single obvious need: run 0–3 yourself with a few searches and write the report in chat.
- Full (delegate) — a non-trivial question: after step 0, hand the sweep to a general-purpose subagent. Its prompt carries the step-0 text, the table row(s), the report format, a call budget (about 15 searches / fetches), and the instruction to work with Read, Grep, Glob, WebSearch and WebFetch only — the Agent tool passes no tool allowlist, so this restriction lives in the prompt (rule: security names web content reaching a shell-capable agent as a threat surface). Read its report as the caller and record what you take.
When the user says "skip research"
Record the skip in one line, then proceed without searching:
Skipping research at your request — chosen without checking for an existing X; say the word for a 60-second scan.
Example report (illustrative — format only; verify live before relying on any item)
## Scope searched
"markdown dead link checker" / "link check CI" — npm, crates.io, GitHub code search — 2026-09-14.
Not located: a checker that resolves wiki-style [[links]] in Obsidian vaults.
## Found
1. lychee (github.com/lycheeverse/lychee) — Rust CLI, checks http and local file links,
`--offline` mode; last release 2026-08 (read: README + docs/usage.md). Assumes plain
markdown links; our vault uses [[wikilinks]], so the http check transfers, the local
resolution does not.
2. textlint-rule-no-dead-link (github.com/textlint-rule/textlint-rule-no-dead-link) —
runs inside textlint, http only (saw: README). Transfers only if textlint is already in
the pipeline; it is not in ours.
## Still unknown
Whether either tool can be pointed at a custom link resolver.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

