Borrowing it
Nothing to install: this file belongs to rmedranollamas/research-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rmedranollamas/research-cli/main/AGENTS.mdgit clone --depth 1 https://github.com/rmedranollamas/research-cliWrote 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.
[](https://agentmods.dev/instructions/rmedranollamas/research-cli/agents-md)<a href="https://agentmods.dev/instructions/rmedranollamas/research-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/rmedranollamas/research-cli/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/rmedranollamas/research-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/rmedranollamas/research-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00877 | $0.00877 |
| Opus 5.5 | $0.00351 | $0.00351 |
| Sonnet 5.5 | $0.00175 | $0.00175 |
| Haiku 4.5 | $0.00088 | $0.00088 |
Grade A, and why
research-cli AGENTS.md 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Notes
research-cli is a Go CLI for Gemini Deep Research and multimodal interactions.
Architecture
- Deep Research uses
deep-research-preview-04-2026through the Gemini v1alpha Interactions API. - Max Deep Research can be selected with
deep-research-max-preview-04-2026. - Fast search uses
gemini-3-flash-preview. - Image generation uses
gemini-3-pro-image-preview. - Long-running interactions stream over SSE, then fall back to polling if the stream ends before a report is available.
- Local task history is stored in SQLite at
~/.research-cli/history.dbby default.
Gemini CLI Extension
- Manifest:
gemini-extension.json - Slash command:
commands/research.toml - Skill:
skills/gemini-research/SKILL.md - Release archives place the platform binary at
skills/gemini-research/scripts/research.
Security Notes
RESEARCH_GEMINI_API_KEYis passed only to Gemini API requests.- Custom remote API base URLs must use HTTPS. HTTP is accepted only for real loopback hosts.
- Workspace path validation rejects parent traversal and symlink output overwrites.
- Untrusted streamed model text is stripped of terminal control sequences before printing.
- The SQLite history database is created with
0600permissions.
Development
go test ./...
go vet ./...
go build ./...
The workspace has used Go 1.26.3. Keep the go directive in go.mod aligned
with the intended release toolchain; the release workflow uses
actions/setup-go with go-version-file: go.mod.
Coverage:
go test ./... -coverprofile=coverage.out
go tool cover -func=coverage.out
Release
Pushing a v* tag runs .github/workflows/release.yml, which builds Go binaries for Linux and macOS on amd64 and arm64, packages Gemini extension archives, and publishes checksums.
Release Checklist
-
Pre-flight checks: Ensure the working tree is clean, synced with upstream, properly formatted, and passing tests:
git status git pull gofmt -l . go vet ./... go test ./...
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.
- 3d ago Changed · +52 lines · +328 tokens per session cf1f8a6b0f29
- 1mo ago First seen · 62 lines · 549 tokens per session scan A 6d708c33202c
research-cli AGENTS.md is an instructions file published in the GitHub repository rmedranollamas/research-cli (20 stars, last pushed 3d ago), licensed Apache-2.0. It adds 877 tokens to every session, about $0.0035 per session on Opus 5.5. 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-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.