---
name: "hforge-init"
description: "Bootstrap Harness Forge in the current repository, install or refresh the project-owned runtime, and summarize the managed surfaces that are now available."
compatibility: "Requires a repository where Harness Forge can write project-owned runtime files."
metadata:
author: "harness-forge"
source: "skills/hforge-init/SKILL.md"
User Input
$ARGUMENTS
You must consider the user input before proceeding.
Goal
Initialize the current repository for Harness Forge usage and make the installed runtime easy to inspect and use.
Execution
Treat the text after /hforge-init as optional setup hints such as target preference or setup intent.
Check whether .hforge/agent-manifest.json or .hforge/runtime/index.json already exists.
Run hforge status --root . --json first.
If the repository is not initialized or required target runtime surfaces are missing, run hforge bootstrap --root . --yes.
Run hforge refresh --root . --json after bootstrap or whenever runtime summaries look incomplete.
Summarize:
detected targets
installed managed surfaces
runtime artifacts now available
the best next command to run
If bootstrap cannot run safely, explain the blocker and list the minimum next manual step.
1---2name: hforge-init-23description: ---4---5---6name: "hforge-init"7description: "Bootstrap Harness Forge in the current repository, install or refresh the project-owned runtime, and summarize the managed surfaces that are now available."8compatibility: "Requires a repository where Harness Forge can write project-owned runtime files."9metadata:10 author: "harness-forge"11 source: "skills/hforge-init/SKILL.md"12---1314## User Input1516```text17$ARGUMENTS18```1920You must consider the user input before proceeding.2122## Goal2324Initialize the current repository for Harness Forge usage and make the installed runtime easy to inspect and use.2526## Execution27281. Treat the text after `/hforge-init` as optional setup hints such as target preference or setup intent.292. Check whether `.hforge/agent-manifest.json` or `.hforge/runtime/index.json` already exists.303. Run `hforge status --root . --json` first.314. If the repository is not initialized or required target runtime surfaces are missing, run `hforge bootstrap --root . --yes`.325. Run `hforge refresh --root . --json` after bootstrap or whenever runtime summaries look incomplete.336. Summarize:34 - detected targets35 - installed managed surfaces36 - runtime artifacts now available37 - the best next command to run387. If bootstrap cannot run safely, explain the blocker and list the minimum next manual step.
Run npx skillmds@latest add ldilov/hforge-init-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ldilov (@ldilov) published this skill. Their other Agent Skills are listed on their SkillMD profile.