research
Installation
SKILL.md
Research
You do the loop yourself. Do not run research.ts. Never read past ~/search files.
Write ~/search/<slug>.md. Keep it succinct. Rewrite the conclusions each round.
Always go extremely deep and all the way. A first good answer is not the answer. Keep peeling until the question has no gaps left and the sources run out.
Loop
tinyfish search query "<q>"— take 9 hits (add--page 1if short).- Read every title + snippet. Fetch the most relevant results.
- Fetch each page to a file, then read the file. Tinyfish often returns one JSON line; Pi bash keeps only the last 50KB of that line, so piping fetch to the model drops the start.
tinyfish fetch content get "<url>" --format markdown > /tmp/tf-<n>.mdthenreadthat file. Never rely on fetch stdout. - Update the conclusions file. Cut anything the new pages kill. Add only what they actually say. Edit earlier conclusions when new pages prove them wrong or add more insight.
- Decide the next query from the gaps. Go to 1.
Stop after N rounds if the user set N. Else stop only when the conclusions answer the question, every gap is closed, every claim is pinned, and a new round would mostly repeat. If they said infinite / never stop, do not stop until they say stop.