architect-research
Skill15 starsChanged 4 months agoApache-2.0View on GitHub
Discovery-scale research harness: a cheap scout researcher maps the topic, the orchestrator designs topic-specific parallel researcher assignments from the scout report (drawing on a source-class tactics library — academic, repos, production patterns, web, experts), then verifies claims against sources and synthesizes a decision-oriented report. Use when brainstorming a project or feature, choosing a technology, or asked to "research X", "what's the state of the art", "deep research". For narrow slice-level fact checks inside the build loop, /architect handles those inline.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- DanMcInerney/architect-loopedited, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- DanMcInerney/architect-loop★ 62685% same
Wrote their own version · 0
None found.
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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- architectSkill
- code-standardsSkill
- parler-reviewSkill
- validate-marketSkill
- write-blogSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Don't run a harness on a question one search answers.
- Distinctive: line 40
If the question is ambiguous, ask at most 2–3 clarifying questions, then compress everything into a research brief: the question, the …
- Distinctive: line 84
Default (Claude-backend): use the Agent tool to spawn read-only Claude subagents with web search.
- Very specific: line 97
Write each researcher block to a .prompt.md file and pass it via stdin (-) — never as a shell argument.
- Distinctive: line 101
Every researcher block carries the full contract — objective, output format, source guidance, boundaries — plus:
- Distinctive: line 107
Findings discipline: every finding has a source tag + date + exact figure or short quote + confidence tag (high = primary source / med = …
- Very specific: line 118
After reading wave-1 findings, write (or update, on round 2) a skeleton draft of the final report at .architect/research/<topic>.draft.md …
- Distinctive: line 143
Citations are only URLs fetched this session: Never cite from memory — even search-grounded agents fabricate 3–13% of URLs.
- Distinctive: line 146
Recency discipline: every quantitative or current-state claim carries a source date.
- Very specific: line 173
Commit the report — this is the research handoff: its Open-questions section is the next round's input, and the repo is the memory.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architect Research
You are the research orchestrator. Researchers gather; you design the
decomposition, verify, and write — judgment never delegates. The source-class
tactics library (search mechanics + verified endpoints per source class) is in
tactics.md next to this file; read it when you design researcher assignments.
Scale before anything
A tool call is one search OR one page fetch.
- Simple fact-find → answer directly or 1 researcher, 3-10 tool calls. Don't run a harness on a question one search answers.
- Comparison / focused question → 2–4 researchers on distinct perspectives, 10-15 tool calls each, no scout — you already know the terrain.
- Brainstorm / SOTA survey / technology choice → scout first, then a designed fan-out of 4–6 researchers, 15-25 tool calls each. Google's published research envelope brackets this tier: ~80 searches ≈ $1–3/task standard, ~160 ≈ $3–7 max.
Procedure
1. Scope → brief
If the question is ambiguous, ask at most 2–3 clarifying questions, then compress everything into a research brief: the question, the decision it informs, constraints, and what "answered" looks like. The brief is the north star — every later step is checked against it, and it's restated at the top of the final report so the reader can audit scope drift.
2. Scout, then design the researchers
The surveyed production deep-research systems and 4/5 leading OSS frameworks use LLM-designed, topic-specific decomposition rather than a fixed taxonomy. Researcher assignments are designed per topic, not taken from a template.
Scout (brainstorm scale only): dispatch ONE cheap researcher (~10 searches, same codex command as step 3) to map the terrain: canonical terminology, the 5–10 load-bearing systems/papers/repos, the named people, which source classes look rich vs empty, and the topic's natural fault lines. The scout returns a map, not findings — discovering the topic's actual perspectives from sources substantially increased source diversity in STORM's ablations. Skip the scout when you already know the terrain (comparisons, fact-finds) — an upfront pass that tells you nothing new is pure latency.
Design (you, from the scout report): decompose into 3–6 sub-questions
along the topic's own fault lines — distinct perspectives, never keyword
variants of one query. For each researcher assignment pick the source-class tactics it needs
from tactics.md (academic snowballing, dependents-not-stars repo evidence,
production-grade pattern mining, general web, expert tracking) — one researcher may
mix tactics; most topics don't need every source class. Scope each researcher to
≤5 subjects and give every researcher assignment an explicit search budget. Reserve expert
opinion as a second-wave researcher: its roster (survey authors, maintainers,
recurring names) comes from the first wave's findings.
Review the researcher set for overlap AND for gaps against the brief before dispatch. State the plan in a few lines; proceed unless the user redirects.
3. Fan out
Resolve the researcher model as builders, same order as /architect: repo
.architect/config, then user ~/.architect/config, then the claude-first
default in skills/architect/dispatch.md — claude/sonnet (Sonnet 5 at
high) is the default researcher model; research is coverage work where
frontier reasoning buys nothing. If Codex CLI is on PATH and config resolves
to a codex row, use codex/best instead. One fresh researcher per
assignment, all parallel, in the background.
Default (Claude-backend): use the Agent tool to spawn read-only Claude subagents with web search. The researcher blocks work verbatim as subagent prompts.
Codex-backend alternative (when config resolves to a codex row):
codex exec --sandbox read-only -c web_search="live" \
-m gpt-5.5 -c model_reasoning_effort="xhigh" \
-o .architect/research/<NN>-<researcher>.md \
- < .architect/research/<NN>-<researcher>.prompt.mdWrite each researcher block to a .prompt.md file and pass it via stdin (-) —
never as a shell argument; quote-mangling shells make codex hang on stdin.
Launch ONE canary researcher and confirm it starts cleanly before fanning out.
Every researcher block carries the full contract — objective, output format, source guidance, boundaries — plus:
- Search budget by tier: simple 5, standard 15, deep 25 searches.
- Saturation rule: two consecutive searches yielding no new load-bearing facts → return what you have.
- Findings discipline: every finding has a source tag + date + exact
figure or short quote + confidence tag (high = primary source / med =
reputable secondary / low = single blog or forum). NOT FOUND beats
inference. Disagreements between sources are reported, never resolved. No
recommendations — judgment is the orchestrator's. The findings file is
capped at ≤ ~2,500 tokens (~10 KB): every source URL appears EXACTLY ONCE,
in a numbered source list at the end of the file, and findings cite
sources by tag (e.g.
[S3]).
4. Gap round (max 2 extra rounds, usually 1)
After reading wave-1 findings, write (or update, on round 2) a skeleton draft
of the final report at .architect/research/<topic>.draft.md (gitignored
working state) — an answer-first outline where every section carries a
SUPPORTED / THIN / EMPTY status against the brief. Gap researchers are designed
from the THIN/EMPTY sections — the holes in the draft generate the queries,
not a coverage score kept in your head. Every NOT FOUND from prior researchers
carries forward into a do-not-rechase list that every gap-researcher block must
include, so gap researchers don't re-spend budget chasing a dead end. This is
also where the expert-opinion researcher dispatches: extract the expert roster
from the first wave (survey authors, maintainers, recurring names) and send
the researcher 6 after them. Hard stop after two refinement rounds —
past that you're chasing nonexistent information.
5. Verify (your work, against raw sources)
- Extract the load-bearing claims — the facts the decision depends on.
- Require ≥2 independent sources per load-bearing claim. Independent means independent origin — two articles rewriting the same press release are one source.
- Tag each: VERIFIED (≥2 independent agree) / UNVERIFIED (<2, no contradiction) / DISPUTED (sources disagree — report both positions and why they differ: date, method, definition) / SUSPICIOUS (contradicts available evidence).
- Adversarial pass on the top claims: search "
<claim>criticism", "<X>problems", "<X>vs<alternative>" — actively try to falsify. - Citations are only URLs fetched this session. Never cite from memory — even search-grounded agents fabricate 3–13% of URLs. Spot-check the load-bearing ones by fetching them yourself.
- Recency discipline: every quantitative or current-state claim carries a source date; prefer the most recent authoritative treatment; date-restrict searches on fast-moving topics. Anything that smells like training-data leakage gets re-verified or cut.
- Source hierarchy: primary (papers, official docs, changelogs, first-party engineering blogs) > reputable secondary > SEO listicles (pointers only, never citations).
- Opinion ≠ fact. Expert opinions are reported as positions — quoted, dated, conflict-of-interest flagged — and never count toward the ≥2-source rule for factual claims. Expert disagreements are first-class findings: they mark the genuinely open questions.
6. Synthesize (one pass, one author — you)
Parallelize gathering, never synthesis. Write docs/research/<topic>.md:
- Answer first (BLUF), then evidence, then method.
- The brief, restated.
- Per major finding: the claim + confidence tag + what it implies for the decision + what evidence would change this conclusion.
- Disputes surfaced with both positions — never silently averaged.
- Expert positions map: who believes what (quoted, dated, conflict-of-interest flagged), and where credible experts disagree.
- Open questions: each UNVERIFIED/DISPUTED item with the specific search or experiment that would resolve it (this doubles as the next round's input).
- Citations dated and tier-labeled:
[primary, 2026-04].
Commit the report — this is the research handoff: its Open-questions
section is the next round's input, and the repo is the memory. Raw findings
stay in .architect/research/ (gitignored).
7. Hand off
A later session resumes work by reading the committed research handoff and
dispatching gap researchers against its Open-questions section instead of
restarting the harness. If this feeds the build loop: distill the report
into docs/spec/<slice>.md per /architect and continue there. The
builder's PHASE 0 will challenge the spec's claims — that's a feature.
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.

