What is the Init skill?
Init is a coding skill by mcollina for Claude Code, Cursor, Codex and other AI coding agents. Creates, updates, or optimizes an AGENTS.md file for a repository with minimal, high-signal instructions covering non-discoverable coding conventions, tooling quirks, workflow preferences, and project-specific rules that agents cannot infer from reading the codebase.
Use this skill when creating or updating AGENTS.md for a repository.
When to use it
Use this skill when creating or updating AGENTS.md for a repository.
What the SKILL.md covers
- When to use
- Instructions
- Core rule: discoverability filter
- What earns a line
- What to remove or avoid
- Recommended structure
- Source files to check first
- Maintenance mindset
- Quality gate before finalizing
- Author
- mcollina
- Pack
- mcollina/skills (11 skills)
- Category
- Coding, #787 of 1826
- Alyn Score
- 66 / 99
- Files
- 2
- License
- MIT
- Last updated
- 9 days ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Init compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Init · mcollina | 66 | 2k | 9 days ago |
| Epf Bsp Init · Nikolay-Shirokov | 54 | 823 | 10 days ago |
| Codebase Design · vinvcn | 72 | 6.1k | 34 h ago |
| Claude Md Writer · OneWave-AI | 61 | 445 | 37 days ago |
Install Init
Pick your agent. Every command is ready to paste.
npx alyn-cli add initDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add mcollina/skills --skill initOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads init when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the init skill”. In Codex, type $init.
When to use
Use this skill when creating or updating AGENTS.md for a repository.
Use it especially when:
- the current
AGENTS.mdis long, generic, or stale - agents repeatedly make the same avoidable mistakes
- repository workflows changed and agent guidance needs pruning
Instructions
Treat AGENTS.md as a living list of non-discoverable landmines and workflow gotchas, not a codebase overview.
Core rule: discoverability filter
Before adding any line, ask:
Can an agent discover this by reading the repo (
README, code, config, scripts, directory tree)?
- If yes: do not include it in
AGENTS.md. - If no, and it materially affects task success/cost/safety: include it.
What earns a line
Include only guidance that is:
- Non-discoverable from repository files alone
- Operationally significant (changes commands, outcomes, or safety)
- Actionable (specific enough to execute)
Typical examples:
- Non-standard tooling choices (e.g. use
uvinstead ofpip) - Command caveats (e.g. tests must run with
--no-cachedue to fixture behavior) - Hidden constraints/landmines (deprecated directories still imported in production)
- Critical local conventions that are not encoded in lint/tests/config
What to remove or avoid
Do not include:
- Tech stack summaries
- Directory structure overviews
- Architecture descriptions agents can infer from code
- Generic best-practice advice
- Rules already enforced by tooling (linters, typecheck, tests, CI)
- Mandatory boilerplate headers unless the repo explicitly requires one
Recommended structure
Prefer short, high-signal sections such as:
Scope & routing(which areas need separate/module-local AGENTS files)Non-discoverable commandsLandmines / do-not-touch areasTask-specific constraints
For large repos, recommend hierarchical AGENTS.md files near relevant modules instead of one monolithic root file.
Source files to check first
- Existing
AGENTS.md README.mdPROJECT.md(if present)- Cursor rules (
.cursor/rules/or.cursorrules) - Copilot instructions (
.github/copilot-instructions.md) GEMINI.md- CI/workflow files and package manager config (for command/tooling mismatches)
If AGENTS.md exists, improve it incrementally instead of replacing it blindly.
Maintenance mindset
AGENTS.md is temporary guidance, not permanent configuration.
When recurring issues appear:
- Prefer fixing the root cause in code/tooling (lint rule, test, script, structure)
- Keep only the minimum instruction needed until the root cause is solved
- Prune stale instructions aggressively
Quality gate before finalizing
For each line in AGENTS.md, verify:
- Is it non-discoverable?
- Is it still accurate today?
- Does it materially reduce mistakes/cost/time?
Delete any line that fails one of these checks.
Tips for Init
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 11 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Init
What does the Init skill do?
Creates, updates, or optimizes an AGENTS.md file for a repository with minimal, high-signal instructions covering non-discoverable coding conventions, tooling quirks, workflow preferences, and project-specific rules that agents cannot infer from reading the codebase.
How do I install Init?
Run "npx alyn-cli add init" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Init work in Cursor and Codex?
Yes. Init uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Init skill?
Use this skill when creating or updating AGENTS.md for a repository.
What is inside the Init skill?
The SKILL.md covers When to use, Instructions, Core rule: discoverability filter, What earns a line, What to remove or avoid, Recommended structure, and the skill folder has 2 files.
What is a good alternative to Init?
Epf Bsp Init by Nikolay-Shirokov is the highest-ranked similar skill from another creator, with an Alyn Score of 54 compared to 66 for Init.
Is Init free?
Init is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Init?
Init is published by mcollina in the mcollina/skills repository, together with 10 other skills.



