ai-assisted-development: Instructions file for Claude Code

AGENTS.md

ai-assisted-development AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from KrystianMarek/ai-assisted-development. It costs 6,161 tokens per session, scanned B, original, Apache-2.0.

Repository instructions for setting up an AI-assisted development project, including Git hooks, the Dolt database, and Beads for tracking work. They also describe how agents should follow the project’s development process.

In plain words
What is it for?
Use them when initializing the repository, installing its development tools, configuring Git checks, or guiding agents through project work.
Why use it?
They give coding agents and developers one set of project rules and help catch setup or workflow problems early.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the TodoWrite tool.

This is KrystianMarek/ai-assisted-development's own configuration. It tells Claude Code, Codex and OpenCode how to work on ai-assisted-development 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 ai-assisted-development configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 ai-assisted-development AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/krystianmarek/ai-assisted-development/agents-md"><img src="https://agentmods.dev/badge/instructions/krystianmarek/ai-assisted-development/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,161 This file is loaded in full into every session.
When invoked 6,161 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.06161 $0.06161
Opus 5.5 $0.02464 $0.02464
Sonnet 5.5 $0.01232 $0.01232
Haiku 4.5 $0.00616 $0.00616

Measured 2mo ago against content hash 0f465a698c94, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ai-assisted-development AGENTS.md scanned grade B 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo bash -c 'curl -L https://github.com/dolthub/dolt/releases/latest/download/install.sh | sudo bash'
AGENTS.md · 449 lines

How it starts

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

AGENTS.md

This file provides guidance to any agent working in this repository — Claude Code, Codex, OpenCode, Cursor, Aider, and others.

AGENTS.md is the canonical source. CLAUDE.md is a symbolic link to this file so Claude Code reads the same instructions. Edits to either path land in the same content — prefer editing AGENTS.md directly.


⏱️ Project Initialization Checklist — REMOVE THIS SECTION AFTER COMPLETION

Shortcut: from a checkout of this template, run ./adopt.sh --target /path/to/your/repo to automate steps 1–5 below. Steps 6 (Project Overview, Dev Conventions, delete this checklist) are still manual. The manual walkthrough remains authoritative if anything in adopt.sh fails.

This section is temporal: it runs once, when the project is first cloned or scaffolded from this template. Work through it with the user, tick each box, and delete this whole section from AGENTS.md when finished so it does not nag every subsequent session.

1. Install git pre-commit hooks

The rule "Work is NOT complete until git push succeeds" (see Session Completion below) relies on local hooks that catch lint/format/test failures before a commit is created. Without hooks, broken code reaches the remote and the rule becomes aspirational.

Action:

  • Confirm pre-commit is available:
    pre-commit --version || pip install pre-commit   # or: uv tool install pre-commit
    
  • Create .pre-commit-config.yaml with at minimum:
    • trailing-whitespace, end-of-file-fixer, check-merge-conflict, check-yaml
    • a language-appropriate linter (ruff for Python, golangci-lint for Go, eslint/biome for JS/TS, etc.)
    • Pin revisions to the latest at adoption time. The template ships reasonable defaults but they may be months behind — check each repo for the current tag.
  • Register the hook: pre-commit install
  • Verify it fires: pre-commit run --all-files

If the user prefers another runner (prek, husky, lefthook), swap it in — but keep the guarantee: no commit lands without passing lint/format checks.

Read the full file on GitHub · 449 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. 2mo ago First seen · 449 lines · 6,161 tokens per session scan F 0f465a698c94

Subscribe to this mod's changes

ai-assisted-development AGENTS.md is an instructions file published in the GitHub repository KrystianMarek/ai-assisted-development (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 6,161 tokens to every session, about $0.0246 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ai-assisted-development AGENTS.md compared with instructions from other repositories

ai-assisted-development AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-assisted-development AGENTS.mdKrystianMarek/ai-assisted-developmentInstructions file31mo agoApache-2.0B6,161Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode