retentioneering-tools: Instructions file for Codex

AGENTS.md

retentioneering-tools AGENTS.md is an instructions file for Codex, OpenCode from retentioneering/retentioneering-tools. It costs 4,035 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for coding agents working on the retentioneering-tools project, including its background, architecture references, and common commands.

In plain words
What is it for?
Use them when working on retentioneering, especially when reading project guidance, consulting architecture decisions, or running installation and test commands.
Why use it?
They give an agent the project context needed to make changes that fit the current codebase and avoid relying on outdated information.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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 retentioneering-tools AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/retentioneering/retentioneering-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/retentioneering/retentioneering-tools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,035 This file is loaded in full into every session.
When invoked 4,035 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.04035 $0.04035
Opus 5.5 $0.01614 $0.01614
Sonnet 5.5 $0.00807 $0.00807
Haiku 4.5 $0.00404 $0.00404

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

Security

Grade A, and why

retentioneering-tools 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 5d 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 · 250 lines

How it starts

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

AGENTS.md

Guidance for coding agents (Claude Code, Codex, Cursor, and others) working in this repository. Claude Code loads this file through the @AGENTS.md import in CLAUDE.md; Claude-specific instructions, if any, go in CLAUDE.md below the import.

Deep context lives in the Architecture Decision Records — see docs/adr/README.md for the index. Load the ADRs relevant to your task; ADR-0002 (DuckDB replacement scan, now superseded by engine.py — see below) documents why some historical code still carries # noqa: F841 comments on variables that look unused.

Project background

retentioneering 5.x is a ground-up rewrite of the 3.3.0 engine: the pandas-based Eventstream and the iframe/CDN-loaded widgets were replaced with a DuckDB-backed Eventstream and anywidget-based Jupyter widgets. The 3.x branch preserves the legacy engine for reference and patches. CHANGELOG.md's [5.0.0] entry documents the full delta vs. 3.3.0, including removed/added/renamed Eventstream methods and the 5.0 naming conventions. docs/ (guide pages, generated reference, ADRs) describes the current API.

Known gaps vs. 3.3.0 (deliberately not carried over, may return later — ADR-0012): the interactive Preprocessing Graph (visual no-code pipeline builder), and the Cohorts, StatTests, Sequences tools.

Commands

uv sync                    # install Python deps (+ dev group: pytest, ruff, pre-commit)
cd js && npm install       # install JS deps (npm workspaces: viz-core, widget)
# or: make install         # does both

make build                 # build JS and drop widget.js/widget-static.js into src/retentioneering/static/
make watch                 # vite --watch for js/widget, for iterating on widget UI

uv run pytest tests/ -v                          # full test suite
uv run pytest tests/data_processors/add_events_test.py -v          # single file
uv run pytest tests/data_processors/add_events_test.py::test_name -v   # single test
# or: make test            # full suite only
npm test --prefix js/widget                      # JS unit tests (node:test via esbuild)

uv run pre-commit run --all-files    # ruff (lint+format) + gitleaks + hygiene hooks
uv run pre-commit install            # one-time, makes hooks run automatically on `git commit`
# or: make install-dev      # = make install + the pre-commit install line above

uv run python docs/scripts/render_pages.py           # regenerate reference docs from docstrings
uv run python docs/scripts/generate_widget_demos.py  # regenerate static widget demos

uv build                   # sdist + wheel; requires `make build` to have run first so the
                            # JS bundle exists on disk (hatchling force-includes it via
                            # [tool.hatch.build] artifacts in pyproject.toml even though
                            # it's gitignored)

Read the full file on GitHub · 250 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. 5d ago Changed 787f3042b302
  2. 6d ago Changed · +19 lines · +344 tokens per session 868cf3603282
  3. 12d ago Changed · +12 lines · +200 tokens per session 8b6d6825c7d3
  4. 21d ago Changed · +1 lines · +18 tokens per session 7f3a702cf6cd
  5. 1mo ago Changed · +11 lines · +170 tokens per session c31a5de1d104
  6. 1mo ago Changed · +3 lines · +35 tokens per session d50910259b11
  7. 1mo ago Changed · +3 lines · +68 tokens per session 30a39ab614a1
  8. 2mo ago First seen · 201 lines · 3,200 tokens per session scan A 0c3567db0ec0

Subscribe to this mod's changes

retentioneering-tools AGENTS.md is an instructions file published in the GitHub repository retentioneering/retentioneering-tools (944 stars, last pushed today), licensed Apache-2.0. It adds 4,035 tokens to every session, about $0.0161 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

retentioneering-tools AGENTS.md compared with instructions from other repositories

retentioneering-tools AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retentioneering-tools AGENTS.mdretentioneering/retentioneering-toolsInstructions file944todayApache-2.0A4,035Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode