Agent skill

Init

by 0xku in 0xku/kon

Create or update AGENTS.md for this repository. An agent skill from 0xku/kon.

MITAuto-check passedAgent Workflows

Install Init

skills CLI
$ npx skills add 0xku/kon --skill init -a claude-code

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

GitHub CLI
$ gh skill install 0xku/kon 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/0xku/kon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/kon/builtin_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
354
Token cost
~900 tokens
SKILL.md length
484 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Create or update AGENTS.md for this repository. An agent skill from 0xku/kon.

  • Tasks that involve Agent instruction files
  • SKILL.md covers How to investigate, What to extract, Questions and Writing rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Init is an agent skill from 0xku/kon. Create or update AGENTS.md for this repository

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: Kon is a minimal coding agent (and also a highly opinionated one). The licence is MIT.

When your agent uses it

  • Tasks that involve Agent instruction files

Example prompts

  • “/init”

What it can do on your machine

Read from SKILL.md and the folder at commit f5862a0. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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.

Context cost

Init loads about 900 tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 484 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 0xku/kon at commit f5862a0, republished under its MIT licence (© 0xku). 484 words, ~900 tokens.

Download SKILL.mdSave it as .claude/skills/init/SKILL.md (or your agent's skills folder).
name
init
description
Create or update AGENTS.md for this repository
register_cmd
true
cmd_info
guided AGENTS.md setup

Create or update AGENTS.md for this repository.

The goal is a compact instruction file that helps future Kon sessions avoid mistakes and ramp up quickly. Every line should answer: "Would an agent likely miss this without help?" If not, leave it out.

User-provided focus or constraints (honor these): $ARGUMENTS

How to investigate

Read the highest-value sources first:

  • README*, root manifests, workspace config, lockfiles
  • build, test, lint, formatter, typecheck, and codegen config
  • CI workflows and pre-commit / task runner config
  • existing instruction files (AGENTS.md, CLAUDE.md, .cursor/rules/, .cursorrules, .github/copilot-instructions.md)
  • repo-local Kon config and conventions

If architecture is still unclear after reading config and docs, inspect a small number of representative code files to find the real entrypoints, package boundaries, and execution flow. Prefer reading the files that explain how the system is wired together over random leaf files.

Prefer executable sources of truth over prose. If docs conflict with config or scripts, trust the executable source and only keep what you can verify.

What to extract

Look for the highest-signal facts for an agent working in this repo:

  • exact developer commands, especially non-obvious ones
  • how to run a single test, a single package, or a focused verification step
  • required command order when it matters, such as lint -> typecheck -> test
  • monorepo or multi-package boundaries, ownership of major directories, and the real app/library entrypoints
  • framework or toolchain quirks: generated code, migrations, codegen, build artifacts, special env loading, dev servers, infra deploy flow
  • repo-specific style or workflow conventions that differ from defaults
  • testing quirks: fixtures, integration test prerequisites, snapshot workflows, required services, flaky or expensive suites
  • important constraints from existing instruction files worth preserving

Good AGENTS.md content is usually hard-earned context that took reading multiple files to infer.

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

Questions

Only ask the user questions if the repo cannot answer something important. Use the question tool for one short batch at most.

Good questions:

  • undocumented team conventions
  • branch / PR / release expectations
  • missing setup or test prerequisites that are known but not written down

Do not ask about anything the repo already makes clear.

Writing rules

Include only high-signal, repo-specific guidance such as:

  • exact commands and shortcuts the agent would otherwise guess wrong
  • architecture notes that are not obvious from filenames
  • conventions that differ from language or framework defaults
  • setup requirements, environment quirks, and operational gotchas
  • references to existing instruction sources that matter

Exclude:

  • generic software advice
  • long tutorials or exhaustive file trees
  • obvious language conventions
  • speculative claims or anything you could not verify
  • content better stored in another file referenced via Kon config or another instruction file

When in doubt, omit.

Prefer short sections and bullets. If the repo is simple, keep the file simple. If the repo is large, summarize the few structural facts that actually change how an agent should work.

If AGENTS.md already exists, improve it in place rather than rewriting blindly. Preserve verified useful guidance, delete fluff or stale claims, and reconcile it with the current codebase.

© 0xku, 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 src/kon/builtin_skills/init of 0xku/kon.

Open the folder on GitHubat commit f5862a0

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 skill0xku/kon354—~900Automated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Dsh Web Documentationzhu1090093659/dsh-web8.5k—~479Automated safety check: PassApache-2.0
Harness Engineering GuideOdradekAI/harness-engineering-guide1251 repos~4.3kAutomated safety check: PassApache-2.0
Agent Setup Health Audittw93/Waza7.2k—~5.2kAutomated safety check: NotesMIT
Agnixagent-sh/agnix445—~874Automated safety check: PassApache-2.0

Similar skills

  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check passed
  • Dsh Web Documentation

    zhu1090093659/dsh-web

    A skill your agent uses when adding or editing dsh-web README files, docs, AGENTS.md instructions, user-facing configuration text, or bilingual documentation pairs.

    8.5k GitHub stars~479 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Harness Engineering Guide

    OdradekAI/harness-engineering-guide

    Audit, design, and implement AI agent harnesses for any codebase.

    125 GitHub starsUsed in 1 repo~4.3k tokens
    Agent WorkflowsAuto-check passed
  • Audits a project's agent configuration, instruction drift, hooks, MCP and AI maintainability, then reports prioritized findings with evidence and next actions.

    7.2k GitHub stars~5.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Agnix

    agent-sh/agnix

    A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.

    445 GitHub stars~874 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Setup Matt Pocock Skills

    ywwynm/EverythingDone

    Sets up an Agent skills block in AGENTS.md/CLAUDE.md and docs/agents/ so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc…

    144 GitHub starsUsed in 9 repos~1.7k tokens
    Agent WorkflowsAuto-check passed

More from 0xku/kon

  • E2E testing of kon using tmux sessions; IMPORTANT: only trigger this skill when user asks for e2e testing of kon

    354 GitHub stars~2.8k tokensUpdated 5 days ago
    Auto-check passed
  • Tag, publish to PyPI, and create GitHub release for Kon with validation and rollback-safe steps

    354 GitHub stars~899 tokensUpdated 5 days ago
    Auto-check passed
  • Review

    0xku/kon

    Review code changes and return prioritized, actionable findings

    354 GitHub stars~958 tokensUpdated 5 days ago
    Auto-check passed

Questions about Init

What does Init do?

Create or update AGENTS.md for this repository. An agent skill from 0xku/kon. Init is an agent skill from 0xku/kon.

When should I use Init?

Init fits situations like: tasks that involve Agent instruction files.

How do I install Init in Claude Code?

Run `npx skills add 0xku/kon --skill init -a claude-code`. Or copy the skill folder (src/kon/builtin_skills/init in 0xku/kon) 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 0xku/kon --skill init -a codex`. Or copy the skill folder (src/kon/builtin_skills/init in 0xku/kon) 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 0xku/kon --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?

SKILL.md names no scripts, command-line tools or credentials: Init is instructions for the agent only.

Does Init access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Init safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Init use?

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

How many tokens does Init use?

About 900 tokens (SKILL.md is roughly 3.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: Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Dsh Web Documentation (zhu1090093659/dsh-web, 8.5k stars), Harness Engineering Guide (OdradekAI/harness-engineering-guide, 125 stars) and Agent Setup Health Audit (tw93/Waza, 7.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Init?

0xku (a GitHub user) maintains it in 0xku/kon, which has 354 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 3, 2026.

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