From init-context
Use when the user wants to create, update, or review an AGENTS.md context file for their codebase, or when starting a new project that needs agent instructions
How this skill is triggered — by the user, by Claude, or both
Slash command
/init-context:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Default is empty.** Only include information whose absence causes agent failure.
Include = (project practice - language/framework default) + prohibitionsDetect build/test/lint commands from these sources (priority order):
.github/workflows/*.yml / .gitlab-ci.yml — CI is the source of truthMakefile / justfile — task runner targetspackage.json scripts / pyproject.toml [tool.*] / Cargo.toml.eslintrc, ruff.toml, .prettierrc, biome.jsonOnly extract: command strings, tool names, runtime versions. Do NOT read source files.
Q1 (required): Present detected commands for confirmation. "I detected these commands. Please confirm or correct:"
{detected}{detected}{detected}Q2 (required): "Are there files or directories that must never be modified? (e.g., generated code, vendored deps, contract files)"
Q3 (required): "Are there project practices that deviate from language/framework defaults? Only things agents would likely get wrong. (e.g., 'use Zustand not Redux', 'Result type for errors — no throw', 'Repository pattern only — no direct ORM in handlers'). Answer 'none' if not applicable."
Combine scan results + user answers. Rules:
Commands section is always present (if any commands exist)Constraints and Conventions sections appear only if user provided content# AGENTS.md
## Commands
- Test: `{command}`
- Lint: `{command}`
- Build: `{command}`
- Type check: `{command}`
## Constraints
- {protected_file_or_dir_with_reason}
## Conventions
- {deviation_from_framework_defaults}
| Never do this | Why |
|---|---|
| List directory structure | Agents discover this via filesystem tools |
| Describe architecture | Increases exploration, reduces success rate |
| Add style guidelines | Linters already enforce this |
| Summarize README/docs | Duplicates existing information |
| Auto-generate without user confirmation | LLM-generated context is harmful |
| Exceed 300 words | Verbosity degrades agent performance |
| Include "nice to have" info | If removal doesn't cause failure, don't include it |
npx claudepluginhub tmdgusya/init-context-skill --plugin init-contextCreates, updates, and maintains AGENTS.md/CLAUDE.md files with concise agent instructions derived from project toolchain analysis, enforcing minimal high-signal best practices.
Generates and maintains AGENTS.md files for AI agents using shell scripts that detect project structure, extract commands and CI rules, and validate content freshness.
Generates AGENTS.md project documentation with feedback instructions, architecture, conventions, and discovered commands. Analyzes package.json, configs, directory structure, CI workflows. Use for new projects or doc updates.