init

A setup command that adds harness-kit files and checks to an existing project. A harness is a set of project rules, plans, and verification steps for guiding and checking coding work.

In plain words
What is it for?
Use it to initialize harness-kit, identify the project type and language, create configuration and planning documents, and enable a pre-commit check.
Why use it?
It creates a consistent starting structure and helps prevent existing project settings from being overwritten accidentally.

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

Made for: Claude Code, Codex.

Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,331 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.00098 $0.01331
Opus 5 $0.00049 $0.00665
Sonnet 5 $0.00020 $0.00266
Haiku 4.5 $0.00010 $0.00133

Measured 2d ago against content hash bae64c27b6fb, 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 2d ago.

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.

skills/init/SKILL.md · 57 lines

How it starts

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

/harness-kit:init

Set up the harness in this repository. Be careful and idempotent — never clobber a user's existing .harness/config.json unless they explicitly ask to reset.

Steps

  1. Ask for the project language first.

    • If the user's message explicitly includes --lang en, --lang zh, English/en, or Chinese/中文/zh, use that explicit choice.
    • Otherwise always ask language before any repo probing or project-type question with the AskUserQuestion tool: 中文 (zh) | English (en). Do not infer from the current conversation and do not proceed without a language choice.
    • Once chosen, use that language for every subsequent explanation, question, and generated document in this init flow.
    • This preference is persisted in .harness/config.json as language and can be changed later. It controls AI-facing guidance and generated document content; file/directory names, command names, and config keys stay untranslated.
  2. Decide the project type using the selected language.

    • If the user's message names a type (godot, web, or custom), use it.
    • Otherwise probe the repo:
      • test -f project.godotgodot
      • test -f package.json and it depends on react/vue/vite/next/svelte (grep package.json) → web
    • If exactly one matches, state the detected type in the selected language and proceed.
    • If both or neither match, ask the user with the AskUserQuestion tool in the selected language: custom | godot | web. Do not silently guess.
  3. Run the scaffolder (it does all file writes deterministically and idempotently):

    harness-init <type> --lang <en|zh>
    
    • Add --force only if the user explicitly asked to reset/overwrite an existing config.
    • Add --no-claude-md if the user doesn't want a CLAUDE.md constitution.
    • harness-init is on PATH (bundled in the plugin's bin/). If the shell can't find it, the plugin may not be enabled — tell the user to run /plugin install harness-kit.

Read the full file on GitHub · 57 lines

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. 2d ago First seen · 57 lines · 98 tokens per session scan A bae64c27b6fb

Subscribe to this mod's changes

init is a skill published in the GitHub repository whieet/harness-kit (5 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 1,331 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

geometry-and-math

Use this skill when using Phaser 4 math and geometry utilities. Covers vectors, rectangles, circles, triangles, polygons, random number generation, angles, distance, interpolation, and snapping. Triggers on: Vector2, Rectangle, Circle, math, distance, angle, random, lerp.

phaserjs/phaser · 64 tokens

text-and-bitmaptext

Use this skill when displaying text in Phaser 4. Covers Text game objects, BitmapText, web fonts, text styling, word wrap, alignment, padding, and dynamic text content. Triggers on: Text, BitmapText, this.add.text, font, word wrap, text style.

phaserjs/phaser · 64 tokens

unity-mcp-orchestrator

Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for…

CoplayDev/unity-mcp · 72 tokens

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

assets-prefab-save

Save the currently opened prefab edit stage back to its prefab asset without exiting the stage. Pair with 'assets-prefab-open' to enter the edit mode first.

IvanMurzak/Unity-MCP · 37 tokens

mobile-games

Mobile game development principles. Touch input, battery, performance, app stores.

vudovn/ag-kit · 18 tokens