Agent skill

Mh Loop

by HangYu8123 in 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.

No licenceAuto-check passedBusiness, Finance & HR

Install Mh Loop

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

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

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

At a glance

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.

  • Works in 7 steps: Context · spec → Validate [PARALLEL] — the advisory pass… → Finalize the spec → …
  • Invokes it (/mh-loop · $mh-loop · /mini-harness loop)
  • SKILL.md covers Contract, Stages and Red flags
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Mh Loop is an agent skill from 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. Each pass runs the way the platform normally would; the loop adds the objective, the evidence rule, the caps, and resume state. Use only when the user invokes it (/mh-loop · $mh-loop · /mini-harness loop).

Its SKILL.md is about 2.8k 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 Business, Finance & HR. 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-loop · $mh-loop · /mini-harness loop)

Example prompts

  • “/mh-loop”

Workflow steps

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

  1. Context · spec
  2. Validate [PARALLEL] — the advisory pass for a loop
  3. Finalize the spec
  4. Run the loop
  5. Review [PARALLEL]
  6. Record — harness.md §8, nothing special
  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

    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

Mh Loop loads about 2.8k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 1,427 words of instructions outside code blocks.

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

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,427 words (~2,786 tokens).

“Read .harness/harness.md once per session, then .harness/loop_control.md (progress accounting, verifier calibration, exploration, attribution, negative-result memory, scale-up, durable record) and .harness/stay_active.md (bounded waits). Plan-only when the request says so (plan only / dry run stops after stage 3). One todo per…”

— opening of SKILL.md by HangYu8123
name
mh-loop
disable-model-invocation
true
argument-hint
goal: <one concrete sentence> | done when: <tool-based check> | body: <action | dispatch update|debug|exec|refactor> | max_iterations: 10 | no_progress_k: 3 |…

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit baa821f

Compare with similar skills

Mh Loop 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 Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mh Loop this skillHangYu8123/mini-harness199—~2.8kAutomated safety check: PassNone
Technical Analysttradermonty/claude-trading-skills3k5 repos~4.6kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7294 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Theme Detectortradermonty/claude-trading-skills3k2 repos~4.9kAutomated safety check: PassMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 5 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 4 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Business, Finance & HRAuto-check passed
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    319 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-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 15 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 15 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 15 days ago
    Auto-check passed
  • Mh Init

    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…

    199 GitHub stars~2.6k tokensUpdated 15 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 15 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 15 days ago
    Auto-check passed

Questions about Mh Loop

What does Mh Loop do?

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. Mh Loop is an agent skill from 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.

When should I use Mh Loop?

Mh Loop fits situations like: invokes it (/mh-loop · $mh-loop · /mini-harness loop).

How do I install Mh Loop in Claude Code?

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

How do I install Mh Loop in Codex?

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

Can I use Mh Loop 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-loop -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-loop, .gemini/skills/mh-loop, .github/skills/mh-loop and .opencode/skills/mh-loop in your project.

What does Mh Loop need to run?

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

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

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

How many tokens does Mh Loop use?

About 2.8k tokens (SKILL.md is roughly 11k 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 Loop?

Skills that share tags, products or a category with Mh Loop: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars), Stock API (zhangxiangliang/stock-api, 2k stars) and Theme Detector (tradermonty/claude-trading-skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mh Loop?

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.