init

A repository-initialization guide for creating or improving AGENTS.md, a file that gives coding agents project-specific instructions.

In plain words
What is it for?
Use it to inspect a codebase and produce a short AGENTS.md that helps future agents work correctly in that repository.
Why use it?
It focuses the instructions on verified commands and unusual repository rules, avoiding generic advice and unnecessary duplication.

Skill for Claude CodeCodex

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 skills/srtab/daiv/init
Any agent
npx skills add srtab/daiv --skill init
Clone the repo
git clone --depth 1 https://github.com/srtab/daiv

Made for: Claude Code, Codex.

Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 681 The whole file, excluding the scripts and references it only reads on demand.
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.00086 $0.00681
Opus 5 $0.00043 $0.00341
Sonnet 5 $0.00017 $0.00136
Haiku 4.5 $0.00009 $0.00068

Measured yesterday against content hash 93cd13552661, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init 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 yesterday.

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.

daiv/automation/agent/skills/init/SKILL.md · 54 lines

How it starts

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

Analyze this repository and produce the full contents of AGENTS.md for future coding agents.

Goal (very important):

  • Make this file as SHORT as possible while still capturing REPO-SPECIFIC, NON-OBVIOUS, HIGH-LEVERAGE guidance.
  • Avoid redundancy: do not restate README/docs/rules unless you are adding a concise delta that changes agent behavior.
  • Prefer pointing to existing docs by path (e.g., "See docs/xyz.md") rather than copying text.

Hard constraints:

  • Target length: 250–500 words. Only exceed if there is a critical repo-specific reason.
  • Only include commands that you can VERIFY exist in the repo (Makefile, scripts, pyproject, CI files, docs). Do not guess.
  • Do not add generic engineering advice, generic style guides, or “be careful” warnings.
  • Do not invent sections (e.g., “Tips”, “Support”, “Common tasks”) unless you found that exact content in-repo and it is essential.
  • Do not include “ask for confirmation” directives; instead, express risk as plan-time checks.

If AGENTS.md already exists:

  • Produce an updated version that reduces duplication and removes low-signal text.
  • Keep any existing repo-specific invariants and verified commands, but rewrite for brevity and clarity.

Inputs to consult (only extract what is truly needed and not redundant):

  • Existing AGENTS.md (if present)
  • .cursor/rules/, .cursorrules, CLAUDE.md, .github/copilot-instructions.md (if present)
  • README.md and docs (only for verified commands / invariants)
  • Build/test/lint definitions: Makefile, pyproject.toml, CI workflow files, scripts directories

Required output format:

  • Produce ONE Markdown document: the full contents of AGENTS.md.
  • Prefix EXACTLY:

```

AGENTS.md

This file provides guidance to agents when working with code in this repository. ```

See examples/agents-md-sample.md for a reference output demonstrating all four sections done well.

Sections (keep terse; omit any section if you have nothing verified to add):

  1. Commands (verified): fastest path for test + lint + single-test invocation
  2. Repo map (only what’s non-obvious): 5–10 bullets max; name directories only if it helps navigation
  3. Invariants / footguns: only rules that prevent wasted work or incorrect changes (e.g., state update patterns, “don’t edit X directly”)
  4. Where changes usually go (optional): only if there are non-obvious entry points that save time

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 54 lines · 86 tokens per session scan A 93cd13552661

Subscribe to this mod's changes

init is a skill published in the GitHub repository srtab/daiv (22 stars, last pushed 3d ago), licensed Apache-2.0. It adds 86 tokens to every session and 681 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

using-superpowers

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions.

Onelevenvy/flock · 29 tokens

karpathy

Coding principles for simplicity, clarity, and surgical precision. Use when you want Claude to think before coding, keep solutions minimal, make surgical changes, and define verifiable success criteria. Triggers on: karpathy mode, think before coding, simplicity first, surgical changes.

Onelevenvy/flock · 57 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

Onelevenvy/flock · 64 tokens

planning-with-files

Implements Manus-style file-based planning for complex tasks. Creates taskplan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls. Now with automatic session recovery after /clear.

Onelevenvy/flock · 56 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

Onelevenvy/flock · 43 tokens

data-visualization

Use for creating publication-quality charts and multi-panel analysis summaries. Triggers when tasks involve visualizing data, plotting results, creating charts, or producing visual reports from analysis output.

langchain-ai/deepagents · 40 tokens