init-harness

init-harness is a skill for Claude Code from reatcat/l123-harness. It costs 95 tokens per session (697 once invoked), scanned A, original, MIT.

An installer for a three-level project memory structure: a main instruction file, an index, and detailed notes in an `.agents` directory. It also adds templates and protection settings.

In plain words
What is it for?
Use it to initialize this memory structure in a project, review its safety rules and protected files, and establish a routine for recording project knowledge.
Why use it?
It gives a project a consistent place to store lasting instructions, working notes, lessons, and procedures. It does not overwrite existing files.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the l123-harness plugin — 4 skills, 6 hooks shipped together

Good fit Use it to initialize this memory structure in a project, review its safety rules and protected files, and establish a routine for recording project knowledge.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add reatcat/l123-harness
Claude Code
/plugin install l123-harness

Made for: Claude Code.

Or install l123-harness, the plugin that ships this one along with the rest of its 4 skills, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for init-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/reatcat/l123-harness/init-harness/github.svg)](https://agentmods.dev/skills/reatcat/l123-harness/init-harness)
Your own site
<a href="https://agentmods.dev/skills/reatcat/l123-harness/init-harness"><img src="https://agentmods.dev/badge/skills/reatcat/l123-harness/init-harness/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for init-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/reatcat/l123-harness/init-harness"><img src="https://agentmods.dev/badge/skills/reatcat/l123-harness/init-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00095 $0.00697
Opus 5 $0.00048 $0.00349
Sonnet 5 $0.00019 $0.00139
Haiku 4.5 $0.00010 $0.00070

Measured 9d ago against content hash e56d87221ccb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

init-harness 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (init.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-harness/SKILL.md · 45 lines

What it actually says

Init Harness —— 装机程序

把 L1-L2-L3 方法论骨架装进当前项目。骨架是引擎生成的数据:装完后项目自己积累知识,插件不再参与。

步骤

1. 前置检查

  • 确认当前工作目录就是目标项目根(用户没指定就用 cwd)。
  • 如果项目已有 CLAUDE.md.agents/不要覆盖:脚本本身永不覆盖已存在文件,但你要先看一眼现状,向用户说明哪些会新建、哪些会跳过。

2. 执行装机脚本

bash "${CLAUDE_PLUGIN_ROOT}/skills/init-harness/init.sh" "<项目根绝对路径>"

脚本会创建(不覆盖):

  • CLAUDE.md —— L1 常驻层模板
  • .agents/INDEX.md —— L2 索引模板
  • .agents/gate.conf —— 门禁保护清单
  • .agents/{current,inbox,events,knowledge,pitfalls,runbooks,templates,archive}/
  • .agents/templates/ —— spec/plan/pitfall/knowledge/runbook 模板
  • .agents/README.md.agents/inbox/README.md

3. 陪同用户完成三件事(不要跳过)

  1. 审 L1 安全底线:打开新生成的 CLAUDE.md,把「安全底线」一节逐条读给用户,按项目实际补充专有红线(例如:专用设备、禁止触碰的分支、数据不可编造的具体口径)。
  2. 审门禁清单:展示 .agents/gate.conf 默认保护项,问用户要不要增删。
  3. 建议首个 git 提交:骨架应入库,建议 git add CLAUDE.md .agents 并提交(提交信息由用户确认)。

4. 说明日常循环(一段话讲完即可)

  • 干活:读 L2 索引按指针走;过程状态写 .agents/current/notes.md
  • 踩坑:修完用 .agents/templates/pitfall-template.md 记录,提议加入 L2 索引(需审批,改受保护文件要门禁令牌)。
  • 提炼:定期跑 event-review 技能(/l123-harness:event-review)做周审。

纪律

  • 绝不覆盖已有文件;冲突一律报告给用户裁决。
  • 不在骨架里预填任何项目知识——空的表头就是对的。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 45 lines · 95 tokens per session scan A e56d87221ccb

Subscribe to this mod's changes

init-harness is a skill published in the GitHub repository reatcat/l123-harness (4 stars, last pushed 18d ago), licensed MIT. It adds 95 tokens to every session and 697 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

causal-memory

Causal memory for agents — install/setup the causal-memory MCP server, then record decisions/outcomes and recall them before acting. Trigger when the user asks to install or set up causal-memory/agent memory, when causal-memory MCP tools are available and the agent faces a non-trivial decision (architecture, debugging…

JingxuanC/causal-memory · 88 tokens

memory-to-skill

Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from past work, review skill candidates, install a distilled skill, or 'turn this into a skill'. Manages MemSearch procedural-memory candidates under…

zilliztech/memsearch · 82 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens

openviking-context-database

Use OpenViking from OpenClaw through @openviking/openclaw-plugin: long-term memory, session archives, resource and Agent Skill import, semantic recall, recall trace debugging, and externalized tool-result recovery. Prefer this skill when the user wants to use, query, debug, or operate OpenViking context from an…

volcengine/OpenViking · 95 tokens

ov-experience-memory

Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools. Use before or during executable, multi-step, or tool-based work such as coding, file or data changes, configuration, deployment, workflow execution, and failure recovery when prior operational…

volcengine/OpenViking · 78 tokens

openviking-memory

Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding, configuration, debugging, multi-step or tool-based work) to retrieve relevant prior knowledge with find/search/read, and during or after work to persist durable facts, preferences, decisions, and…

volcengine/OpenViking · 86 tokens