open-science: Instructions file for Codex

AGENTS.md

open-science AGENTS.md is an instructions file for Codex, OpenCode from aipoch/open-science. It costs 4,121 tokens per session, scanned A, original, Apache-2.0.

Instructions for adding user-visible text to an open-science desktop application translated into seven languages.

In plain words
What is it for?
Adding translation keys, choosing between shared and process-specific namespaces, updating locale files, and checking translations with the project’s tests.
Why use it?
It prevents new interface text from appearing in only one language or being placed in the wrong translation namespace.

Instructions file for CodexOpenCode

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

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

About the project

Open Science is a local-first, model-agnostic workbench for reproducible scientific research. Scientists use its AI agents, Python and R execution, data connectors, and traceable outputs for tasks such as literature review, analysis, simulation, and visualization across macOS, Windows, and Linux.

aipoch/open-science · 5,470 stars · on GitHub · aipoch.com

Reuse

Borrowing it

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

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 open-science AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aipoch/open-science/agents-md"><img src="https://agentmods.dev/badge/instructions/aipoch/open-science/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,121 This file is loaded in full into every session.
When invoked 4,121 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.04121 $0.04121
Opus 5.5 $0.01648 $0.01648
Sonnet 5.5 $0.00824 $0.00824
Haiku 4.5 $0.00412 $0.00412

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

Security

Grade A, and why

open-science 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 9d 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 · 286 lines

How it starts

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

Open-Science — Agent Notes

i18n — translating new user-visible strings

The renderer ships eight translated locales: de (German), es (Spanish), fr (French), zh-Hans (Simplified Chinese), zh-Hant (Traditional Chinese), ja (Japanese), ko (Korean), and ru (Russian). Every user-visible string added to the renderer must have a corresponding entry in the renderer namespace for all translated locales unless the same meaning is intentionally shared with Electron main through the common namespace:

src/shared/i18n/locales/zh-Hans.json
src/shared/i18n/locales/zh-Hant.json
src/shared/i18n/locales/ja.json
src/shared/i18n/locales/ko.json
src/shared/i18n/locales/fr.json
src/shared/i18n/locales/ru.json
src/shared/i18n/locales/de.json
src/shared/i18n/locales/es.json

Each locale file has exactly three top-level namespace objects: common, native, and renderer. common is loaded by main and renderer, native only by main, and renderer only by the React adapter. Put a key in common only when its UI meaning and reviewed translation are the same in both processes; an identical English key is not enough.

The guard suite in src/renderer/src/i18n/resources.test.ts runs on every npm test and will fail the PR if any of the following are violated.

Key format

Keys are the English source text verbatim — there is no English catalog. keySeparator and nsSeparator are both disabled, so dots and colons in copy are literal characters.

// ✓ correct
t('Data folder not found')

// ✗ wrong — semantic path, not copy
t('workspace.dataRoot.missing')

How to wrap strings

Surface How to translate
JSX text node {t('Copy here')}
JSX attribute visible to users (aria-label, placeholder, alt) aria-label={t('Close dialog')}
Sentence with an embedded link or element <Trans i18nKey="See <docs>the guide</docs>" components={{ docs: <a href="…" /> }} />
Interpolated value t('{{count}} files', { count: n })

Read the full file on GitHub · 286 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. 9d ago Changed · +7 lines · +85 tokens per session f6e6d2559b50
  2. 25d ago Changed · +7 lines · +171 tokens per session afb1b90a7855
  3. 1mo ago Changed · +1 tokens per session 1c16f47708ef
  4. 2mo ago Changed · +21 lines · +301 tokens per session 9eb3f48da314
  5. 2mo ago Changed · +4 lines · +145 tokens per session e4bfe8529108
  6. 2mo ago First seen · 247 lines · 3,418 tokens per session scan A 561b37408206

Subscribe to this mod's changes

open-science AGENTS.md is an instructions file published in the GitHub repository aipoch/open-science (5,470 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,121 tokens to every session, about $0.0165 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

open-science AGENTS.md compared with instructions from other repositories

open-science AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-science AGENTS.mdaipoch/open-scienceInstructions file5.5kyesterdayApache-2.0A4,121Codex, 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