Agent skill

Mh Init

by HangYu8123 in HangYu8123/mini-harness

mini-harness · initialize or re-initialize a repo's memory under .harness/repoinfo/ with a multi-agent pass — three-perspective codebase overview, ranked scripts map, issue scan, git-seeded update…

No licenceAuto-check passedDevelopment

Install Mh Init

skills CLI
$ npx skills add HangYu8123/mini-harness --skill mh-init -a claude-code

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

GitHub CLI
$ gh skill install HangYu8123/mini-harness mh-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/HangYu8123/mini-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mh-init .claude/skills/mh-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
mh-init
GitHub stars
199
Token cost
~2.6k tokens
SKILL.md length
1,231 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

mini-harness · initialize or re-initialize a repo's memory under .harness/repoinfo/ with a multi-agent pass — three-perspective codebase overview, ranked scripts map, issue scan, git-seeded update…

  • Works in 7 steps: Setup · scan → Codebase overview [PARALLEL] — three… → Scripts overview [PARALLEL] — ranked… → …
  • Invokes it (/mh-init · $mh-init · /mini-harness init)
  • SKILL.md covers Contract, Stages and Red flags
  • Calls bash

What it does

Mh Init is an agent skill from HangYu8123/mini-harness. mini-harness · initialize or re-initialize a repo's memory under .harness/repoinfo/ with a multi-agent pass — three-perspective codebase overview, ranked scripts map, issue scan, git-seeded update log — validated by an isolated verifier; workers' model and effort are selectable per run. Re-runs validate and diff-update existing memory instead of regenerating. Use only when the user invokes it (/mh-init · $mh-init · /mini-harness init).

Its SKILL.md is about 2.6k 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 Development, covering Codebase onboarding. It works with Git. The repository describes itself as: A local minimized harness, with simplified output and logs for self-evolve.

When your agent uses it

  • Invokes it (/mh-init · $mh-init · /mini-harness init)
  • Tasks that involve Codebase onboarding

Example prompts

  • “/mh-init”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Setup · scan
  2. Codebase overview [PARALLEL] — three whole-repo perspectives
  3. Scripts overview [PARALLEL] — ranked repo map
  4. Verify (isolated)
  5. Issue scan [PARALLEL] (only after both overviews are on disk)
  6. Seed the update log
  7. Report

What it can do on your machine

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

    • bash

    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

Mh Init loads about 2.6k tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 1,231 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,231 words (~2,552 tokens).

“Read .harness/harness.md once per session (pack root: harness/harness.md), .harness/repo_map.md, and — when memory already exists — .harness/reinitialize.md. Documentation only: no source changes. One todo per stage.”

— opening of SKILL.md by HangYu8123
name
mh-init
disable-model-invocation
true
argument-hint
[repo: path] [preserve: files or docs] [subagent_model: <id|inherit>] [subagent_effort: <inherit|low|medium|high|xhigh|max>] — absent dials use the…

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/mh-init of HangYu8123/mini-harness.

Open the folder on GitHubat commit baa821f

Compare with similar skills

Mh 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.

Mh Init compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mh Init this skillHangYu8123/mini-harness199—~2.6kAutomated safety check: PassNone
Adopt PR Branch Contextpydantic/pydantic-ai-harness952—~1.8kAutomated safety check: PassMIT
Basemind Code ContextGoldziher/basemind108—~2.6kAutomated safety check: PassMIT
basemind CLI Codebase NavigatorGoldziher/basemind108—~2kAutomated safety check: PassMIT
Codebase Onboardingaffaan-m/ECC276k1 repos~1.1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Adopt PR Branch Context

    pydantic/pydantic-ai-harness

    Official

    Fills in issue-brief.md and pr-decisions.md for an existing pull request, so you can pick up a PR mid-flight with its linked issue and past review decisions summarized.

    952 GitHub stars~1.8k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Basemind Code Context

    Goldziher/basemind

    Answers structural questions about a repository, such as where a symbol is defined, what calls it and what changed recently, through the basemind MCP server.

    108 GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Drives the basemind code-intelligence tool from the command line for symbol search, callers, git history and blame, document search and web crawling, sharing its cache with the MCP server.

    108 GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • 分析一个陌生的代码库,并生成一个结构化的入门指南,包括架构图、关键入口点、规范和一个起始的CLAUDE.md文件。适用于加入新项目或首次在代码仓库中设置Claude Code时。

    276k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from HangYu8123/mini-harness

All 8 skills in this repo
  • Breakdown PR

    HangYu8123/mini-harness

    Plan and optionally execute a large pull request split into small stacked PRs.

    199 GitHub stars~2.8k tokensUpdated 17 days ago
    Auto-check passed
  • Code Review And Quality

    HangYu8123/mini-harness

    Multi-axis, review-only code review of a diff across six axes — request achievement, correctness, readability/simplicity, architecture, security, and performance — with severity-labelled findings.

    199 GitHub stars~1.8k tokensUpdated 17 days ago
    Auto-check passed
  • Code Simplification

    HangYu8123/mini-harness

    Simplify code for clarity while preserving exact behavior — reduce nesting, split long functions, remove redundancy and dead code, and fix unclear names.

    199 GitHub stars~1.2k tokensUpdated 17 days ago
    Auto-check passed
  • Mh Loop

    HangYu8123/mini-harness

    mini-harness · repeat a pass toward a verifiable goal until a check passes or a safety stop fires — spec → validate → confirm → loop (pass · observe · exit check · ledger) → review → record.

    199 GitHub stars~2.8k tokensUpdated 17 days ago
    Auto-check passed
  • Mh Wiki

    HangYu8123/mini-harness

    mini-harness · consolidate execution trajectories (.harness/exectraj/) into repoinfo/harnesseffect.md — which parts of the harness helped or hurt, root causes, and one proposed change at a time.

    199 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed
  • Mini Harness

    HangYu8123/mini-harness

    mini-harness · a supplementary layer over Claude Code and Codex — tags the task, runs online-researcher / diversifier / devils-advocate in addition to the native flow when a trigger fires, keeps a…

    199 GitHub stars~1.4k tokensUpdated 17 days ago
    Auto-check passed

Works with

Questions about Mh Init

What does Mh Init do?

mini-harness · initialize or re-initialize a repo's memory under .harness/repoinfo/ with a multi-agent pass — three-perspective codebase overview, ranked scripts map, issue scan, git-seeded update…. Mh Init is an agent skill from HangYu8123/mini-harness.harness/repoinfo/ with a multi-agent pass — three-perspective codebase overview, ranked scripts map, issue scan, git-seeded update log — validated by an isolated verifier; workers' model and effort are selectable per run.

When should I use Mh Init?

Mh Init fits situations like: invokes it (/mh-init · $mh-init · /mini-harness init); tasks that involve Codebase onboarding.

How do I install Mh Init in Claude Code?

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

How do I install Mh Init in Codex?

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

Can I use Mh 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 HangYu8123/mini-harness --skill mh-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/mh-init, .gemini/skills/mh-init, .github/skills/mh-init and .opencode/skills/mh-init in your project.

What does Mh Init need to run?

Going by SKILL.md and its folder, Mh Init needs the command-line tools its instructions call (bash).

Does Mh 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 Mh 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 Mh Init use?

No licence was found for Mh Init or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Mh Init use?

About 2.6k tokens (SKILL.md is roughly 10k 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 Mh Init?

Skills that share tags, products or a category with Mh Init: Adopt PR Branch Context (pydantic/pydantic-ai-harness, 952 stars), Basemind Code Context (Goldziher/basemind, 108 stars), basemind CLI Codebase Navigator (Goldziher/basemind, 108 stars) and Codebase Onboarding (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mh Init?

HangYu8123 (a GitHub user) maintains it in HangYu8123/mini-harness, which has 199 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 22, 2026.

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