GrEBI: Instructions file for Codex

AGENTS.md

GrEBI AGENTS.md is an instructions file for Codex, OpenCode from EBISPOT/GrEBI. It costs 696 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for GrEBI, a service for working with biological data queries. They direct developers to read the project documentation first and describe how to develop and test query templates in a local or Kubernetes-based setup.

In plain words
What is it for?
Use them when adding or updating query templates, testing Cypher queries, or running GrEBI with local services and databases.
Why use it?
They provide project-specific context and testing guidance so changes fit GrEBI’s architecture and can be checked against its query service.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is EBISPOT/GrEBI's own configuration. It tells Codex and OpenCode how to work on GrEBI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything GrEBI configures →

Reuse

Borrowing it

Nothing to install: this file belongs to EBISPOT/GrEBI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/EBISPOT/GrEBI/dev/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/EBISPOT/GrEBI

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for GrEBI AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ebispot/grebi/agents-md/github.svg)](https://agentmods.dev/instructions/ebispot/grebi/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ebispot/grebi/agents-md"><img src="https://agentmods.dev/badge/instructions/ebispot/grebi/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.

agentmods 80×15 button for GrEBI AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ebispot/grebi/agents-md"><img src="https://agentmods.dev/badge/instructions/ebispot/grebi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 696 This file is loaded in full into every session.
When invoked 696 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00696 $0.00696
Opus 5.5 $0.00278 $0.00278
Sonnet 5.5 $0.00139 $0.00139
Haiku 4.5 $0.00070 $0.00070

Measured 1mo ago against content hash 0cdb99a945d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

GrEBI 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 1mo 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.

AGENTS.md · 23 lines

How it starts

The opening of the file, as written. The whole thing — 23 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The docs in docs/ provide a good introduction to GrEBI which you should read first.

Instructions for adding or updating a query template

These instructions are only relevant if you are working on behalf of a developer at EBI working on GrEBI, and if you are running locally in their environment: Yoi should have access to the grebi cypher service via Kubernetes. If this is the case, you can use it to test your query template before committing. Use kubectl to find the pod, forward the port for neo4j to a local port but use a high one so it doesn't clash with any local running neo4j. Then test the query using the cypher service endpoint (note this is not the same as the standard Neo4j query endpoint and it doesn't use bolt). You should establish some good examples for your query template and test them before finalizing it. When you are happy with the template, build and start the backend locally on a high port using the databases forwarded from k8s, also on high ports. You can use that local backend to run the query through GrEBI and be certain that it works. The initial metadata load in the backend can take several minutes before it binds the port. This is normal, don't try to bypass it by not using the real backend.

Conventions for the dataload

  • High-throughput ingests are written in Rust. Anything that processes data per row at scale, whether an ingest of a datasource, a transformation of node or edge streams or an export of query results, is a crate under dataload/ (registered in dataload/Cargo.toml, named grebi_<name>, reading stdin or a file and writing stdout) and is run from the datasource config or the Nextflow process as that binary. Python is for orchestration and small metadata steps only: the materialiser that drives Neo4j, the Postgres loader, the metadata merges, downloads and the run-script generator. Never add a new Python ingest. Only the HETT pesticide spreadsheet ingests remain in Python; if you need to change one, port it instead: pin it with a golden case first (see dataload/test_support/python_goldens/), write the crate, and the same case must pass against the binary.
  • Every binary has golden tests in its tests/golden/: recorded inputs, mostly lifted from the E2E test subgraphs, and the recorded output the binary must reproduce, run by dataload/test_support/grebi_golden. When a change to a binary is intended, rerun with UPDATE_GOLDEN=1, then review the diff of the recorded files before committing it. Pure logic gets unit tests next to it, as in grebi_shared.
  • Output must be deterministic. Never write a hash map or hash set out in iteration order; use BTreeMap/BTreeSet or sort first. Reproducible pipeline output is what makes the golden tests possible.
  • The tests are the gate: cd dataload && cargo test --workspace, cd webapp/grebi_api && mvn verify, cd webapp/grebi_ui && npm test, and the E2E subgraphs in CI. Run the relevant ones before you consider a change done.

Read the full file on GitHub · 23 lines

Changes

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.

  1. 1mo ago Changed · +3 lines · +425 tokens per session 0cdb99a945d8
  2. 2mo ago First seen · 20 lines · 271 tokens per session scan A 8d499b139f1f

Subscribe to this mod's changes

GrEBI AGENTS.md is an instructions file published in the GitHub repository EBISPOT/GrEBI (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 696 tokens to every session, about $0.0028 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-31.

Related

GrEBI AGENTS.md compared with instructions from other repositories

GrEBI AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
GrEBI AGENTS.mdEBISPOT/GrEBIInstructions file5yesterdayApache-2.0A696Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode