PyConflict: Instructions file for Codex

AGENTS.md

PyConflict AGENTS.md is an instructions file for Codex, OpenCode from alimoradi296/PyConflict. It costs 388 tokens per session, scanned A, original, MIT.

A repository guide for coding agents working on the PyConflict Python project. It describes the project structure, development setup, code boundaries, and the checks used before changes are accepted.

In plain words
What is it for?
Use it when changing PyConflict, especially its domain, application, infrastructure, or command-line code. It also lists the project's test, formatting, lint, and type-check commands.
Why use it?
It helps an agent place code in the correct layer and distinguish fast local tests from integration tests that contact the public Python Package Index (PyPI).

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alimoradi296/pyconflict/agents-md"><img src="https://agentmods.dev/badge/instructions/alimoradi296/pyconflict/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 388 This file is loaded in full into every session.
When invoked 388 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.00388 $0.00388
Opus 5.5 $0.00155 $0.00155
Sonnet 5.5 $0.00078 $0.00078
Haiku 4.5 $0.00039 $0.00039

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

Security

Grade A, and why

PyConflict 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 10d 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 · 41 lines

What it actually says

Repository guide for coding agents

Project structure

  • src/pyconflict/domain/ contains entities, repository interfaces, and conflict rules.
  • src/pyconflict/application/use_cases/ contains application workflows.
  • src/pyconflict/infrastructure/ contains PyPI, cache, and installed-environment adapters.
  • src/pyconflict/presentation/cli/ contains Typer commands, dependency wiring, and output formatting.
  • tests/unit/ contains fast local tests. tests/integration/ contains tests that contact PyPI.

Keep changes in the appropriate layer. In particular, keep CLI formatting and Typer types out of application and domain code.

Local development

Install the project and development tools in an active virtual environment:

python -m pip install -e ".[dev]"

Run the checks used by the repository workflow:

pytest tests/unit
pytest tests/integration -m integration
black --check src tests
ruff check src tests
mypy src

Integration tests contact public PyPI and need network access. Run unit tests separately when network access is unavailable. Check that python, pytest, and other tools use the same virtual environment before interpreting environment-specific failures.

Change workflow

  • Add or update tests when behavior changes.
  • Update README.md for user-visible command behavior. Keep release claims in CHANGELOG.md factual; the current version may still be unreleased.
  • Run git diff --check and inspect the complete diff before committing.
  • Stage specific files. Do not use git add .; this checkout may contain local notes, screenshots, or unfinished integrations.
  • Use a feature/, fix/, docs/, or test/ branch and a Conventional Commit message.
  • Do not publish a release or claim a deployment from a branch push.
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. 10d ago First seen · 41 lines · 388 tokens per session scan A 6aee1a236eca

Subscribe to this mod's changes

PyConflict AGENTS.md is an instructions file published in the GitHub repository alimoradi296/PyConflict (2 stars, last pushed yesterday), licensed MIT. It adds 388 tokens to every session, about $0.0016 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-11-22.

Related

PyConflict AGENTS.md compared with instructions from other repositories

PyConflict AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PyConflict AGENTS.mdalimoradi296/PyConflictInstructions file2yesterdayMITA388Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot