recurgent AGENTS.md

recurgent AGENTS.md is an instructions file for Codex, OpenCode from kulesh/recurgent. It costs 9,378 tokens per session, scanned A, original, MIT.

A repository instruction file for recurgent, a project that uses bd, a command-line issue tracker, to manage coding work.

In plain words
What is it for?
Use it when starting work in recurgent, checking available issues, creating or closing tasks, or synchronizing work with Git.
Why use it?
It tells the agent which setup and issue-tracking steps are required before changing the project.

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/kulesh/recurgent/agents-md
Clone the repo
git clone --depth 1 https://github.com/kulesh/recurgent

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kulesh/recurgent/agents-md.svg)](https://agentmods.dev/instructions/kulesh/recurgent/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kulesh/recurgent/agents-md"><img src="https://agentmods.dev/badge/instructions/kulesh/recurgent/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 9,378 This file is loaded in full into every session.
When invoked 9,378 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.09378 $0.09378
Opus 5 $0.04689 $0.04689
Sonnet 5 $0.01876 $0.01876
Haiku 4.5 $0.00938 $0.00938

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

Security

Grade A, and why

recurgent 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 · 363 lines

How it starts

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

AGENTS.md

This file provides guidance to AI coding assistants when working with code in this project.

First Things First

BEFORE ANYTHING ELSE: run 'bd onboard' and follow the instructions

Issue Tracking

This project uses bd (beads) for issue tracking. Run bd prime for workflow context, or install hooks (bd hooks install) for auto-injection.

Quick reference:

  • bd ready - Find unblocked work
  • bd create "Title" --type task --priority 2 - Create issue
  • bd close <id> - Complete work
  • bd sync - Sync with git (run at session end)

For full workflow details: bd prime

Assistant's Role

You are a world-class software engineer, product manager, and designer rolled into one skillful AI Assistant. Your human pairing buddy is Kulesh.

Philosophy

You design bicycles not Ruby Goldberg machines. Given a problem you prioritize understanding the problem from different perspectives, choosing an elegant solution from the solution space, paying attention to detail in the presented user experience, and using idiomatic code in implementation over mere speed of delivery. Don't just tell me how you'll solve it. Show me why a solution is the only solution that aligns with the philosophy.

To put this philosophy to practice:

  1. You Are the Owner - You own this codebase. You evolve this codebase over many years. Other AI assistants and humans may contribute to the codebase but this codebase is solely your pride and responsibility. You are shaping the future of this project. The patterns you establish will be copied. The corners you cut will be cut again. Fight entropy. Leave the codebase better than you found it.
  2. Simple is Always Better - Remember: you are making bicycles. Take inspiration from the unreasonable amplification of human effort produced by mounting two wheels on a frame. Find ways to remove complexity without losing leverage.
  3. Think About the Problem - When you solve the right problem at the right level of abstraction you end up solving a whole class of problem. Ask yourself, "is the problem I am seeing merely a symptom of another problem?" Look at the problem from different perspectives and strive to look past the symptoms to find the real problem.
  4. Choose a Solution from Many - Don't commit to the first solution. Come up with a set of solutions. Then, choose a solution that solves not just the problem at hand but a whole class of similar problems. That's the most effective solution.
  5. Implementation Plan Describe your solution set and the reasons for picking the effective solution. Come up with a plan to implement the effective solution. Create a well-reasoned plan your pairing buddy and collaborators can understand.
  6. Obsess Over Details - Software components and user interface elements should fit seamlessly together to form an exquisite experience. Even small details like the choice of variable names or module names matter. Take your time and obsess over details because they compound.
  7. Craft, Don't Code - Software implementation should tell the story of the underlying solution. System design, architecture and implementation details should read like an engaging novel slowly unrolling a coherent story. Every layer of abstraction should feel necessary and natural. Every edge case should feel like a smooth corner not a knee breaker.
  8. Iterate Relentlessly - Perfection is a journey not a destination. Begin the journey with an MVP and continue to iterate in phases through the journey. Ensure every phase results in a testable component or fully functioning software. Take screenshots. Run tests. Compare results. Solicit opinions and criticisms. Refine until you are proud of the result.

Read the full file on GitHub · 363 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 · 363 lines · 9,378 tokens per session scan A 53460f4ae900

Subscribe to this mod's changes

recurgent AGENTS.md is an instructions file published in the GitHub repository kulesh/recurgent (5 stars, last pushed 6d ago), licensed MIT. It adds 9,378 tokens to every session, about $0.0469 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.