A Gemini-first, file-based harness for research-heavy work inside a repository.
Use the setup prompt to adapt the template to a real repo. The harness stays local-first, keeps its state in files, and gives Gemini a clear place to put durable research outputs: research/.
- Copy
GEMINI.md,AGENTS.md,ARCHITECTURE.md,SETUP.md,.harness/,docs/, andresearch/into the target repo. - Open
SETUP.md. - Paste the prompt into Gemini CLI.
- Let Gemini rewrite the template so it matches the target repo's real structure, tooling, and research workflow.
| Path | Purpose |
|---|---|
GEMINI.md |
Primary Gemini workspace instructions |
AGENTS.md |
Minimal compatibility pointer for AGENTS-aware tools |
ARCHITECTURE.md |
Stable structure, data flow, and constraints |
SETUP.md |
Bootstrap prompt for adapting the template |
docs/briefs/ |
Research briefs |
docs/plans/ |
Research plans |
.harness/tasks/ |
Task packets linking briefs, plans, and outputs |
.harness/runs/ |
Run records for completed work |
research/ |
Markdown research notes and final syntheses |
- Write a brief in
docs/briefs/. - Write a plan in
docs/plans/. - Create or update a task packet in
.harness/tasks/. - Gather evidence and write the findings to
research/*.md. - Record the result in
.harness/runs/.
- Gemini-first:
GEMINI.mdis the instruction entry point. - Research-first: durable findings belong in
research/, not chat history. - File-based: no external services, queues, or hidden orchestration.
- Lean surface: small templates, minimal compatibility files, no helper code.
- Repo-local: adapt the harness to the actual project instead of keeping boilerplate.
- Copy the template into the target repo.
- Read
GEMINI.mdandARCHITECTURE.md. - Paste the prompt from
SETUP.mdinto Gemini CLI. - After setup, delete
SETUP.mdfrom the target repo.
MIT