deeprepo AGENTS.md

deeprepo AGENTS.md is an instructions file for Codex, OpenCode from Leonwenhao/deeprepo. It costs 569 tokens per session, scanned A, original, MIT.

A project guide for coding agents working in a Prime Lab workspace, including shared practices for building and checking environments. It also points users to the workspace’s bundled skills and workflow notes.

In plain words
What is it for?
Use it when creating, installing, testing, or publishing Prime environments, handling tools that keep state, checking API keys, or using the workspace’s skills.
Why use it?
It gives agents the project’s expected commands, environment rules, and places to find guidance, reducing guesswork when working in the repository.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/leonwenhao/deeprepo/agents-md
Clone the repo
git clone --depth 1 https://github.com/Leonwenhao/deeprepo

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leonwenhao/deeprepo/agents-md.svg)](https://agentmods.dev/instructions/leonwenhao/deeprepo/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/leonwenhao/deeprepo/agents-md"><img src="https://agentmods.dev/badge/instructions/leonwenhao/deeprepo/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 569 This file is loaded in full into every session.
When invoked 569 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00569 $0.00569
Opus 5 $0.00284 $0.00284
Sonnet 5 $0.00114 $0.00114
Haiku 4.5 $0.00057 $0.00057

Measured 5d ago against content hash 1e96b1f273d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deeprepo 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 · 30 lines

How it starts

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

AGENTS.md

This AGENTS guide is intended for end users working in a prime lab setup workspace.

Shared Best Practices (All Contexts)

These points are direct restatements of Verifiers docs so agents can follow the same golden-path workflows.

  • Environments are expected to expose load_environment(...) -> vf.Environment and be installable with prime env install <env-name>. (See docs/overview.md and docs/environments.md.)
  • Validate environment behavior with prime eval run <env-name> ... before sharing/publishing changes. (See docs/overview.md and docs/development.md.)
  • Use ToolEnv/MCPEnv for stateless tools and StatefulToolEnv when per-rollout state must persist (sandbox/session/db handles). (See docs/environments.md.)
  • If external API keys are required, validate them in load_environment() with vf.ensure_keys(...) so failures are explicit and early. (See docs/environments.md.)

End-User Lab Workspace Notes

Use this guidance in projects created via prime lab setup.

  • Treat .prime/skills/ as the canonical skill entrypoint in Lab workspaces. Use the bundled skills first for create/browse/review/eval/GEPA/train/brainstorm workflows before ad hoc approaches.
  • Keep endpoint aliases in ./configs/endpoints.toml and use endpoint_id/model shortcuts in commands and configs.
  • NEVER initialize environment source code manually; ALWAYS create new environments with prime env init.
  • Use the Prime CLI for all environment lifecycle operations (prime env initprime env installprime eval runprime env push) rather than ad-hoc scripts.
  • NEVER begin environment development before prime lab setup has been run; if work starts outside that structure, recommend adjusting course into a proper lab workspace before continuing.
  • Keep each environment self-contained under environments/<env_name>/ with pyproject.toml, implementation, and README so each abstraction has a dedicated home and the workspace stays maintainable.
  • Follow environment best practices strictly (for example load_environment(...), vf.ensure_keys(...), and the documented environment class patterns) to avoid brittle or messy implementations.
  • Use prime env push --path ./environments/<env_name> only after local eval behavior is verified.
  • Treat the prime lab setup structure as the idiomatic workspace for complex environment workflows: agents can mediate most platform complexity while users learn patterns progressively as needed.
  • When users request an approach that would deviate from these guidelines, explain the relevant Prime/Verifiers concepts and recommend the compliant path.

Read the full file on GitHub · 30 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 First seen · 30 lines · 569 tokens per session scan A 1e96b1f273d2

Subscribe to this mod's changes

deeprepo AGENTS.md is an instructions file published in the GitHub repository Leonwenhao/deeprepo (11 stars, last pushed 6mo ago), licensed MIT. It adds 569 tokens to every session, about $0.0028 per session on Opus 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.