git-worktree-organize AGENTS.md

Repository instructions requiring test-driven development, or TDD: writing a failing test, making it pass, and then improving the code.

In plain words
What is it for?
Organising work in a Git worktree, a separate working copy of a repository, and applying TDD when making changes.
Why use it?
They set a required red-green-refactor process before code is written, helping changes be checked by tests.

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

Made for: Codex, OpenCode.

Per session 1,899 This file is loaded in full into every session.
When invoked 1,899 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
Origin unknown 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.01899 $0.01899
Opus 5 $0.00949 $0.00949
Sonnet 5 $0.00380 $0.00380
Haiku 4.5 $0.00190 $0.00190

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

Security

Grade C, and why

git-worktree-organize AGENTS.md scanned grade C with 1 finding 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf directory
AGENTS.md · 281 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 281 lines · 1,899 tokens per session scan C 411bc4612792

Subscribe to this mod's changes

git-worktree-organize AGENTS.md is an instructions file published in the GitHub repository drmikecrowe/git-worktree-organize (2 stars, last pushed 4mo ago), with no licence file. It adds 1,899 tokens to every session, about $0.0095 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode_abap_remote_fs CLAUDE.md

Instructions for marcellourbani/vscode_abap_remote_fs, covering abap fs development guidelines, workflow and constraints.

marcellourbani/vscode_abap_remote_fs · 101 tokens

sheal AGENTS.md

Instructions for liwala/sheal, covering agent instructions, agent operating policy, 1. tdd discipline — strict order, the only exception: spikes and 2. tests assert intent.

liwala/sheal · 2,989 tokens

digital-service-orchestra skills.instructions.md

Instructions for navapbc/digital-service-orchestra, a project described as: Workflow infrastructure plugin for Claude Code projects — TDD-driven sprint management, review gates, hook parameterization, and multi-stack config.

navapbc/digital-service-orchestra · 83 tokens

spec-driven-tdd AGENTS.md

Instructions for strelov1/spec-driven-tdd: This repo is a skill-pack. When implementing an OpenSpec change, invoke the spec-driven-tdd skill and follow its lifecycle: plan in OpenSpec, isolate in a worktree, implement each task via TDD → simplify → review, then finish + archive.

strelov1/spec-driven-tdd · 121 tokens

mcp-repo-onboarding AGENTS.md

Instructions for rogermt/mcp-repo-onboarding, covering agents.md — agent & copilot instructions, current status, output verification, project identity and ⚠️ critical: tdd required.

rogermt/mcp-repo-onboarding · 2,056 tokens

arxiv-agent-mcp AGENTS.md

AGENTS.md instructions for tbaraniuk/arxiv-agent-mcp, covering agents.md, roles, test-writer, implementer and per-task loop.

tbaraniuk/arxiv-agent-mcp · 451 tokens