agentic-or-workshop AGENTS.md

agentic-or-workshop AGENTS.md is an instructions file for Codex, OpenCode from GuilhemBusset/agentic-or-workshop. It costs 711 tokens per session, scanned A, original, MIT.

Repository-specific instructions for an educational Python project that teaches PhD students about coding agents. They describe the project layout, required tools, Python version, and limits on which files an agent should explore.

In plain words
What is it for?
Useful when changing this project: locating scripts and tests, managing dependencies with uv, using Python 3.12 or newer, and keeping work within the files named in a task.
Why use it?
They help an agent follow the repository's conventions and avoid broad, unnecessary searches or the wrong setup commands.

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/guilhembusset/agentic-or-workshop/agents-md
Clone the repo
git clone --depth 1 https://github.com/GuilhemBusset/agentic-or-workshop

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 agentic-or-workshop AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/guilhembusset/agentic-or-workshop/agents-md.svg)](https://agentmods.dev/instructions/guilhembusset/agentic-or-workshop/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/guilhembusset/agentic-or-workshop/agents-md"><img src="https://agentmods.dev/badge/instructions/guilhembusset/agentic-or-workshop/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 711 This file is loaded in full into every session.
When invoked 711 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.00711 $0.00711
Opus 5 $0.00356 $0.00356
Sonnet 5 $0.00142 $0.00142
Haiku 4.5 $0.00071 $0.00071

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

Security

Grade A, and why

agentic-or-workshop 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 · 65 lines

How it starts

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

Repository Guidelines

Purpose

This repo is used to teach agentic coding to PhD students in optimization research.

Environment and Toolchain

This project is uv-managed and uses mise for Python version management.

  • Python compatibility is >=3.12 (requires-python).
  • Workshop shells are pinned to 3.12 via .mise.toml and .python-version.
  • Use uv for setup, dependency management, and command execution.
  • Do not use pip install or manual venv commands for normal workflow.

Project Shape

  • There is no single main.py entrypoint at the repository root.
  • Most runnable scripts live under workshop/materials/**/run_*.py.
  • Tests live under tests/ and workshop/materials/**/tests/.
  • Non-regression coverage lives in tests/non_regression/.

Task-Scoped Navigation (Workshop Rule)

  • Treat the user prompt as the navigation boundary.
  • Only explore files/directories explicitly mentioned in the prompt.
  • If the prompt says "work in abc/", only read/edit within abc/ and its children.
  • Do not run repository-wide discovery commands (rg --files, find ., broad ls -R) unless explicitly requested.
  • If additional context outside the boundary is required, stop and ask for permission before expanding scope.
  • If no path is provided, ask the user for the target folder/file before exploring.
  • Prefer targeted commands, for example:
    • ls abc
    • rg "pattern" abc
    • uv run pytest abc/tests

Standard Workflow

  1. Activate mise in your shell.
  2. Sync environment: uv sync
  3. Run target script: uv run python <path-to-runner.py>
  4. Add a dependency: uv add <package>
  5. Add a dev dependency: uv add --dev <package>
  6. Update lockfile after dependency changes: uv lock
  7. Format code: uv run ruff format .
  8. Lint code: uv run ruff check .
  9. Type check code: uv run ty check

Testing

  • Preferred framework: pytest.
  • Place tests in tests/ or workshop/materials/**/tests/ with names test_*.py.
  • Run the full suite with: uv run pytest
  • Run non-regression checks with: uv run pytest tests/non_regression -q
  • When possible, run targeted tests first (uv run pytest <path>), then the full suite.

Read the full file on GitHub · 65 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 · 65 lines · 711 tokens per session scan A fa4d00c421d9

Subscribe to this mod's changes

agentic-or-workshop AGENTS.md is an instructions file published in the GitHub repository GuilhemBusset/agentic-or-workshop (2 stars, last pushed 5mo ago), licensed MIT. It adds 711 tokens to every session, about $0.0036 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-31.