harness-mode
Skill119 starsChanged 53 days agoMITView on GitHub
Switch Harness workflow mode (full/hotfix/tweak) and development phase (design/build/fix). Use when the user wants to change the current working mode or phase.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- k1ein-chen/Harness-Starterword for word, first seen Sep 24, 2026
Other versions1 project uses a version of this.
Word for word · 1
- k1ein-chen/Harness-Starter★ 119100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- handoverSkill
- harness-gcSkill
- harness-initSkill
- harness-startSkill
- tech-reviewSkill
- verify-goalSkill
The file
Files
Harness Mode
管理 .claude/.harness-state,控制 Harness 的行为策略。
支持的命令
切换模式
/harness-mode full → 完整检查,所有规则生效
/harness-mode hotfix → 紧急修复,跳过行数/文件数检查
/harness-mode tweak → 微调模式,仅 .env 保护切换阶段
/harness-phase design → 设计阶段,宽松审查
/harness-phase build → 构建阶段,正常审查
/harness-phase fix → 修复阶段,收紧变更范围检查查看当前状态
/harness-status → 显示当前阶段和模式执行逻辑
当用户输入上述命令时:
- 读取
.claude/.harness-state(不存在则创建默认值{"phase":"build","mode":"full"}) - 修改对应的
mode或phase字段 - 更新
since为当前时间 - 写入文件
- 回显新状态
模式联动:
- 切换到
hotfix模式时,自动将 phase 设为fix - 切换到
tweak模式时,自动将 phase 设为design
示例
用户:/harness-mode hotfix
→ 写入 {"phase":"fix","mode":"hotfix","since":"2026-06-01T12:00:00Z"}
→ 回复:「已切换到热修复模式:阶段=fix, 模式=hotfix。将跳过行数/文件数检查。」
用户:/harness-status
→ 回复:「当前 Harness 状态:阶段=build, 模式=full (since 2026-06-01T10:00:00Z)」
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

