Init project

From linzhe001/Harness-Research · View interactive version

Init project is an AI agent skill from the GitHub repository linzhe001/Harness-Research. Internal Harness instruction source for init-project. Route through visible Harness aliases instead of invoking directly.

How to use this skill

Skill file

Init Project

Use this Skill for init, update, update-from-grill, or deps-changed.

It maintains compact guidance, preserves ## Custom, and does not approve

research contracts.

Read First

../../../.agents/references/

OPERATOR_CONTEXT.md when present

docs/05_intake/Grill_Round_Log.md, docs/05_intake/Execution_Readiness_Packet.md, and

docs/05_intake/Execution_Readiness.json when present

Modes

`init`

Collect project name and known environment name. Create the minimal

CLAUDE.md from the template. If no runnable environment exists, leave an

explicit WF5-owned environment placeholder. Create dynamic-context directories

only when the project opts in; do not fabricate evidence. Write

OPERATOR_CONTEXT.md only for explicit stable operator preferences.

`update`

Read PROJECT_STATE.json and source artifacts. Fill only sections whose source

is now known: idea, debate/refinement, tech stack, environment, dataset paths,

baseline references, project structure, core artifacts, language policy, entry

scripts, and current stage. At WF4, sync dataset paths into CLAUDE.md and

ensure AGENTS.md points to CLAUDE.md instead of duplicating volatile paths.

At WF5, replace environment placeholders with first runnable environment facts.

`update-from-grill`

Use immediately after grill_draft_ready or an accepted Grill draft.

  1. Read the three Grill docs and docs/05_intake/Execution_Readiness.json when

it exists.

  1. Read existing guidance/state files. Missing PROJECT_STATE.json is not a

failure.

  1. Create CLAUDE.md from template if missing; otherwise use

./references/claude-maintenance.md for section-safe edits.

  1. Write only candidate-clear Grill context: current intent, accepted draft

status, startup artifacts, candidate datasets/baselines and targets,

unresolved questions, falsifiers, claim boundaries, and prepare blockers.

  1. Keep candidate dataset paths and baseline clone targets explicitly labeled

candidate until prepare / WF4-WF5 verify them.

  1. Ensure AGENTS.md and README.md exist or point to CLAUDE.md plus Grill

artifacts; keep them concise and avoid volatile path duplication.

  1. Do not write .workflow_supervisor/** or .evidence/** by hand, do not

mark WF1-WF3 complete, and do not promote Grill draft facts into approved

contracts. Do not create PROJECT_STATE.json, project_map.json, or

iteration_log.json from update-from-grill.

  1. In update-from-grill, absence of PROJECT_STATE.json, project_map.json,

iteration_log.json, or docs/05_intake/Execution_Readiness.json is expected

unless another tool already produced them.

`deps-changed`

Refresh only ## Environment, equivalent to $env-setup refresh.

Write Rules

OPERATOR_CONTEXT.md, dynamic-context directory, or state writes.

Durable Docs Render

temporary drafts.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.