Agent skill

Init

by EliasOulkadi in EliasOulkadi/shokunin

A skill your agent uses when the user asks to initialize a repo, create AGENTS.md, generate contributor guidelines, or set up agent-oriented documentation for a codebase.

MITAuto-check: notesAgent Workflows

Install Init

skills CLI
$ npx skills add EliasOulkadi/shokunin --skill init -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install EliasOulkadi/shokunin init --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/EliasOulkadi/shokunin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.pack/skills/init .claude/skills/init && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
init
GitHub stars
114
Token cost
~2.2k tokens
SKILL.md length
1,011 words
Files
1
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the user asks to initialize a repo, create AGENTS.md, generate contributor guidelines, or set up agent-oriented documentation for a codebase.

  • Works in 7 steps: Probe repository structure — map 3… → Extract commands — read package.json… → Collect conventions — linter configs… → …
  • The user asks to initialize a repo
  • SKILL.md covers Gather Information, Generate AGENTS.md, Validate and Principles, plus 5 more sections
  • Calls npm

What it does

Init is an agent skill from EliasOulkadi/shokunin. Use when the user asks to initialize a repo, create AGENTS.md, generate contributor guidelines, or set up agent-oriented documentation for a codebase.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode

It sits in Agent Workflows, covering Agent instruction files and Building AI agents. The repository describes itself as: 職人 Shokunin 62 AI agent skills for OpenCode, Claude Code, Cursor, Windsurf. ChromaDB memory, MCP servers, declarative self-updates. Multi-model, open source, zero cost. The licence is MIT.

When your agent uses it

  • The user asks to initialize a repo
  • Create AGENTS.md
  • Generate contributor guidelines
  • Set up agent-oriented documentation for a codebase

Example prompts

  • “/init”

Requirements

  • Docker
  • Compatibility (from SKILL.md): opencode

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Probe repository structure — map 3 levels deep, exclude generated dirs. Identify build system, language, and framework.
  2. Extract commands — read package.json scripts, Makefile targets, pyproject.toml, Cargo.toml, docker-compose.yml.
  3. Collect conventions — linter configs (.eslintrc, .prettierrc, pyproject.toml), formatter settings, type checking mode, agent rules files…
  4. Review git history — last 20 commits for commit convention patterns (conventional commits, custom formats). Skip if not a git repo.
  5. Read existing documentation — README.md for context. Existing AGENTS.md or CLAUDE.md for improvement baseline.
  6. Draft AGENTS.md — 200-400 words, direct tone. Include project structure, build commands, coding style, testing, commit conventions. Omit…
  7. Validate output — every command mentioned exists in build system. Every path exists in repo. No fabricated content. No repetition.

What it can do on your machine

Read from SKILL.md and the folder at commit 4c68e5b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    opencode

    From compatibility in the SKILL.md frontmatter.

Context cost

Init loads about 2.2k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 1,011 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:181
    platform-relevant entries (node_modules, .env, etc.)

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from EliasOulkadi/shokunin at commit 4c68e5b, republished under its MIT licence (© EliasOulkadi). 1,011 words, ~2,156 tokens.

Download SKILL.mdSave it as .claude/skills/init/SKILL.md (or your agent's skills folder).
name
init
description
Use when the user asks to initialize a repo, create AGENTS.md, generate contributor guidelines, or set up agent-oriented documentation for a codebase.
compatibility
opencode
triggers
initialize repo, init repo, create AGENTS.md, contributor guidelines, set up project, repository setup, project initialization, new project setup
negatives
build tool, template, boilerplate, scaffold component, scaffold project
license
MIT
disable-model-invocation
true
metadata.version
1.3.0
metadata.workflow
system
metadata.audience
developers

AGENTS.md Generator

Analyze a codebase and generate a concise, accurate AGENTS.md contributor guide.

Target: the current working directory, unless user provided another folder as input.


Gather Information

Collect facts about the repository. Only record what is actually found — never invent information.

These probes are independent — run them in parallel (e.g., dispatch subagents) when the tooling supports it.

Repository structure

Map the repo structure (3 levels deep, excluding .git, node_modules, dist, build, pycache, .venv and other autogenerated folders). This is analysis input — the output AGENTS.md should describe non-obvious architecture, not list directories. Focus on the "big picture" that requires reading multiple files to understand.

Build & dev commands

Extract actual command definitions from the project's build system: package.json scripts, Makefile targets, pyproject.toml scripts, Cargo.toml bins/workspace members, go.mod module path, docker-compose.yml services, etc.

Coding conventions

Check for and record key settings of:

  • Linter configs
  • Formatter configs
  • Type checking (note strict mode if applicable)
  • Agent rules: .cursorrules, .cursor/rules/, .github/copilot-instructions.md
  • Pre-commit hooks

If agent rules files exist, read and extract the important parts — focus on conventions that matter for code generation, not verbatim content.

Git history

Review the last 20 commits to identify commit message conventions and patterns. If this fails (not a git repo or shallow clone), note the limitation and skip.

Existing documentation
  • If README.md exists, read it for context about the repo's purpose and setup.
  • If AGENTS.md already exists, read it — you'll be improving it rather than starting fresh.
  • If CLAUDE.md exists, read it for additional context.

Generate AGENTS.md

Document requirements
  • Title: # Repository Guidelines
  • 200-400 words (exceed only if complexity genuinely demands it)
  • Direct, instructional tone
  • No repetition across sections
Sections to include (omit any that lack evidence)

## Project Structure & Module Organization Architecture that requires reading multiple files to understand. Omit anything obvious from opening a single file.

## Build, Test, and Development Commands Actual commands from the build system. Include how to run a single test.

## Coding Style & Naming Conventions Enforced rules from linter/formatter configs. Include tool names.

## Testing Guidelines Test framework, how to run tests, coverage requirements if any.

## Commit & Pull Request Guidelines Commit conventions derived from actual git history. Note any PR templates.

Add other sections only if facts strongly support them (e.g., Architecture Overview, Agent Instructions).

What to never include

Do not include generic development practices such as:

  • "Write unit tests for all new utilities"
  • "Use meaningful variable names"

Do not invent sections like "Common Development Tasks" or "Tips for Development" unless the repo's own documentation expressly contains them. Do not list every file — only document what is non-obvious.

New vs existing
  • Existing AGENTS.md: Fix inaccuracies, fill gaps, remove generic advice, ensure commands are current. Preserve correct, specific content. Present the diff and ask to confirm before overwriting.
  • New AGENTS.md: Write directly to the repository root. No confirmation needed.

Validate

Before finalizing, verify:

  • Every command mentioned actually exists in the build system
  • Every file path mentioned exists in the repo
  • No generic advice slipped in
  • No repeated information across sections
  • The document stays within the target word count
  • Agent rules are incorporated (woven into relevant sections, not dumped verbatim)

Principles

  • Never fabricate — if a section has no evidence, omit it entirely
  • Prefer commands over prose — npm test over "run the test suite"
  • Big picture only — architecture that spans multiple files, skip the obvious
  • Incorporate agent rules — weave important parts of .cursorrules or copilot instructions into relevant sections
  • Respect existing work — in improvement mode, preserve correct specific content
  • Conciseness is quality — every sentence must earn its place

Show full SKILL.md (434 more words)Show less

Workflow

  1. Probe repository structure — map 3 levels deep, exclude generated dirs. Identify build system, language, and framework.
  2. Extract commands — read package.json scripts, Makefile targets, pyproject.toml, Cargo.toml, docker-compose.yml.
  3. Collect conventions — linter configs (.eslintrc, .prettierrc, pyproject.toml), formatter settings, type checking mode, agent rules files (.cursorrules, .cursor/rules/).
  4. Review git history — last 20 commits for commit convention patterns (conventional commits, custom formats). Skip if not a git repo.
  5. Read existing documentation — README.md for context. Existing AGENTS.md or CLAUDE.md for improvement baseline.
  6. Draft AGENTS.md — 200-400 words, direct tone. Include project structure, build commands, coding style, testing, commit conventions. Omit generic advice.
  7. Validate output — every command mentioned exists in build system. Every path exists in repo. No fabricated content. No repetition.

Error Handling

CauseFix
Not a git repositorySkip git history section. Note limitation explicitly in output.
Shallow clone with limited commit historyUse available commits. Note "limited history available."
No build system detectedSkip build commands section. Document that no formal build system was found.
Existing AGENTS.md has inaccuraciesFix errors, fill gaps, remove generic advice. Show diff before overwriting.
Agent rules files not foundSkip agent rules integration. Never invent conventions.
Mixed or ambiguous conventions across filesNote the inconsistency. Default to the dominant convention in the majority of files.
Empty repository with no source filesGenerate minimal AGENTS.md with project name only. Add "populate as project grows."

Anti-Patterns

PatternProblemFix
Including generic advice ("write unit tests")Not actionable, not project-specificOnly include conventions actually enforced in the codebase
Listing every directory in the repoAdds noise, not architecture insightDocument only non-obvious structure that spans multiple files
Copying agent rules verbatim into AGENTS.mdRedundant and bloatedWeave important rules into relevant sections only
Inventing commands not in the build systemBuild breaks when user tries themExtract commands only from actual build system files
Missing sections where evidence existsIncomplete onboarding guideInclude all sections that have supporting evidence
Overwriting correct, specific existing contentLoses institutional knowledgePreserve correct content. Fix only inaccuracies and gaps.
Exceeding 400 words with filler proseToo long to scan; loses utilityCut every sentence that doesn't convey a specific convention

Checklist

  • Project type identified (lib, app, monorepo, etc.)
  • AGENTS.md created with profile, behavior, and tools sections
  • .gitignore includes platform-relevant entries (node_modules, .env, etc.)
  • License file created matching project requirements
  • CI/CD scaffolding included if project will be deployed

Sources

  • GitHub Docs — "About READMEs" (docs.github.com)
  • Keep a Changelog — keepachangelog.com
  • Conventional Commits — conventionalcommits.org
  • Google Open Source — "README.md guidelines" (opensource.google)
  • Daniele Procida — "Diátaxis documentation framework" (diataxis.fr)
  • Write the Docs Guide — writethedocs.org
  • Eric Holscher — "Documentation Principles" (ericholscher.com)

© EliasOulkadi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .pack/skills/init of EliasOulkadi/shokunin.

Open the folder on GitHubat commit 4c68e5b

Compare with similar skills

Init next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Init compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Init this skillEliasOulkadi/shokunin114—~2.2kAutomated safety check: NotesMIT
Agent Self-Customizationnanocoai/nanoclaw31k—~1.5kAutomated safety check: NotesMIT
Create Agentprassanna-ravishankar/repowire264—~388Automated safety check: PassNone
Omnigent Knowledge Baseomnigent-ai/omnigent11k—~3.4kAutomated safety check: PassApache-2.0
Forge Agent Creatortailcallhq/forgecode7.6k—~7.3kAutomated safety check: PassApache-2.0
Agents Md Generatorjulianromli/opencode-template144—~1.4kAutomated safety check: NotesNone

Similar skills

  • Agent Self-Customization

    nanocoai/nanoclaw

    A decision tree for an agent changing its own setup: edit memory directly, request approval for packages and MCP servers, and delegate code edits to a builder agent.

    31k GitHub stars~1.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Create Agent

    prassanna-ravishankar/repowire

    A skill your agent uses when creating, updating, or explaining a standing Repowire agent folder, worker folder, durable-job executor context, or reusable agent-specific AGENTS.md guidance.

    264 GitHub stars~388 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Omnigent Knowledge Base

    omnigent-ai/omnigent

    Reference for the Omnigent agent platform: agent directory layout, config.yaml fields, executor types, harness options, AGENTS.md and skill structure.

    11k GitHub stars~3.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Forge Agent Creator

    tailcallhq/forgecode

    Guides creating and editing custom agents for the code-forge application as Markdown files with YAML frontmatter in the project's .forge/agents folder.

    7.6k GitHub stars~7.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agents Md Generator

    julianromli/opencode-template

    Generate hierarchical AGENTS.md structures for codebases. An agent skill from julianromli/opencode-template.

    144 GitHub stars~1.4k tokensUpdated 8 mo ago
    Agent WorkflowsAuto-check: notes
  • Toolkit

    notque/vexjoy-agent

    Toolkit management: create and evaluate skills and agents, manage routing tables, generate Claude.md.

    441 GitHub stars~3.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes

More from EliasOulkadi/shokunin

All 49 skills in this repo
  • CI CD

    EliasOulkadi/shokunin

    Design CI/CD pipelines for GitHub Actions, GitLab CI, and CircleCI with matrix builds, test sharding, caching, Docker layer caching, OIDC auth, deployment strategies (rolling, blue-green, canary)…

    114 GitHub stars~3.4k tokensUpdated 5 days ago
    Auto-check: notes
  • Component Forge

    EliasOulkadi/shokunin

    Build production-grade components for React, Vue 3, and Svelte 5 with all states (loading, empty, error, success, idle), TypeScript strict, WCAG 2.2 accessibility, server components (RSC), and…

    114 GitHub stars~3.6k tokensUpdated 5 days ago
    Auto-check: notes
  • DB Admin

    EliasOulkadi/shokunin

    PostgreSQL database administration — backup/restore (pgdump, PITR, WAL archiving), health monitoring (connections, bloat, cache hit ratio, dead tuples), connection pooling (PgBouncer), replication…

    114 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check: notes
  • DB Sculptor

    EliasOulkadi/shokunin

    Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…

    114 GitHub stars~3.1k tokensUpdated 5 days ago
    Auto-check: notes
  • Docker

    EliasOulkadi/shokunin

    Optimize Docker images with multi-stage builds, distroless bases, BuildKit cache mounts, multi-arch builds, compose watch, security hardening (non-root, seccomp, capabilities drop), and…

    114 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check: notes
  • Error Handler

    EliasOulkadi/shokunin

    Design error handling, structured logging, and observability with OpenTelemetry (traces, metrics, logs), error classification, recovery patterns (retry with jitter, circuit breaker, bulkhead…

    114 GitHub stars~3.6k tokensUpdated 5 days ago
    Auto-check: notes

Questions about Init

What does Init do?

A skill your agent uses when the user asks to initialize a repo, create AGENTS.md, generate contributor guidelines, or set up agent-oriented documentation for a codebase. Init is an agent skill from EliasOulkadi/shokunin.md, generate contributor guidelines, or set up agent-oriented documentation for a codebase.

When should I use Init?

Init fits situations like: the user asks to initialize a repo; create AGENTS.md; generate contributor guidelines; set up agent-oriented documentation for a codebase.

How do I install Init in Claude Code?

Run `npx skills add EliasOulkadi/shokunin --skill init -a claude-code`. Or copy the skill folder (.pack/skills/init in EliasOulkadi/shokunin) into .claude/skills/init in your project. Claude Code loads it when a task matches its description.

How do I install Init in Codex?

Run `npx skills add EliasOulkadi/shokunin --skill init -a codex`. Or copy the skill folder (.pack/skills/init in EliasOulkadi/shokunin) into .agents/skills/init in your project. Codex loads it when a task matches its description.

Can I use Init in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EliasOulkadi/shokunin --skill init -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/init, .gemini/skills/init, .github/skills/init and .opencode/skills/init in your project.

What does Init need to run?

Going by SKILL.md and its folder, Init needs the command-line tools its instructions call (npm). Our summary lists: Docker. Compatibility (from SKILL.md): opencode.

Does Init access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Init safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Init use?

Init is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Init use?

About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Init?

Skills that share tags, products or a category with Init: Agent Self-Customization (nanocoai/nanoclaw, 31k stars), Create Agent (prassanna-ravishankar/repowire, 264 stars), Omnigent Knowledge Base (omnigent-ai/omnigent, 11k stars) and Forge Agent Creator (tailcallhq/forgecode, 7.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Init?

EliasOulkadi (a GitHub user) maintains it in EliasOulkadi/shokunin, which has 114 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 5, 2026.

Source: EliasOulkadi/shokunin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.