openscience: Instructions file for Codex

AGENTS.md

openscience AGENTS.md is an instructions file for Codex, OpenCode from synthetic-sciences/openscience. It costs 1,790 tokens per session, scanned A, original, Apache-2.0.

Repository-specific coding and testing instructions for synthetic-sciences/openscience, including preferred code patterns and commands.

In plain words
What is it for?
Use it when modifying this repository, regenerating its JavaScript SDK, choosing variable and control-flow patterns, or following its Bun and testing conventions.
Why use it?
It gives contributors consistent rules for style, naming, JavaScript generation, and automation, reducing disagreements and avoidable review changes.

Instructions file for CodexOpenCode

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

This is synthetic-sciences/openscience's own configuration. It tells Codex and OpenCode how to work on openscience 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 openscience configures →

About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,348 stars · on GitHub · openscience.sh

Reuse

Borrowing it

Nothing to install: this file belongs to synthetic-sciences/openscience. 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/synthetic-sciences/openscience/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

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 openscience AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/synthetic-sciences/openscience/agents-md"><img src="https://agentmods.dev/badge/instructions/synthetic-sciences/openscience/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,790 This file is loaded in full into every session.
When invoked 1,790 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.01790 $0.01790
Opus 5.5 $0.00716 $0.00716
Sonnet 5.5 $0.00358 $0.00358
Haiku 4.5 $0.00179 $0.00179

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

Security

Grade A, and why

openscience 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 · 116 lines

How it starts

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

Working in this repository

This file is for coding agents and new contributors alike. It says where things are, how to verify a change, and the conventions the code follows. Product behaviour for the OpenScience agent itself lives in backend/cli/src/agent/prompt/ and backend/cli/AGENTS.md (the instructions the shipped agent reads when it works inside backend/cli as a project); this file is about the repository.

Map

Path What lives there
backend/cli The openscience CLI and local server: sessions, tools, providers, skills, and the harness units in src/harness
frontend/workspace The browser workspace (SolidJS), embedded into the CLI at build time
frontend/ui Shared components, themes, icons (@synsci/ui)
frontend/desktop The Electron shell and its signed self-updater
frontend/docs The documentation site
frontend/landing openscience.sh (own lockfile, not a workspace member)
tooling/sdk/js The TypeScript SDK, generated from the server's OpenAPI contract
tooling/plugin The plugin runtime (@synsci/plugin)
tooling/util Small helpers shared by backend and frontend (@synsci/util)
tooling/repo Setup, SDK regeneration, test sharding, release scripts
tooling/harbor Harbor / Terminal-Bench adapter for the headless openscience run contract
evals Launch evals, cadence lab, and Harbor science-benchmark campaigns
docs/notes Engineering notes: verification loop, release process, extension guides

Read the full file on GitHub · 116 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 · +11 lines · +300 tokens per session e683023f3326
  2. 1mo ago Changed · +3 lines · +57 tokens per session d1dc2598d920
  3. 1mo ago Changed · +16 tokens per session 692efe1b4fd7
  4. 2mo ago Changed · +17 lines · +904 tokens per session 5ea742610a9f
  5. 2mo ago Changed · +61 tokens per session a19f185ac016
  6. 2mo ago First seen · 85 lines · 452 tokens per session scan A f33631907295

Subscribe to this mod's changes

openscience AGENTS.md is an instructions file published in the GitHub repository synthetic-sciences/openscience (4,348 stars, last pushed 2d ago), licensed Apache-2.0. It adds 1,790 tokens to every session, about $0.0072 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.

Related

openscience AGENTS.md compared with instructions from other repositories

openscience AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openscience AGENTS.mdsynthetic-sciences/openscienceInstructions file4.3k2d agoApache-2.0A1,790Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode