Để cài như skill, bạn cần thư mục skills/ từ repo harness-kit. Clone về một chỗ bất kỳ trên máy (không phải trong project của bạn):
To install as a skill, you need the skills/ folder from the harness-kit repo. Clone it anywhere on your machine (not inside your project):
git clone --depth 1 https://github.com/nguyenanh92/harness-kit.git cd harness-kit
SKILL.mdSkill auto-discovered via SKILL.mdCài user-level để dùng được từ mọi project. Hoặc cài project-level nếu chỉ dùng cho project hiện tại. Install user-level to use across every project. Or install project-level to scope to the current project only.
Copy-Item -Recurse "skills" "$env:USERPROFILE\.claude\skills\harness-kit"
cp -r skills ~/.claude/skills/harness-kit
# Windows Copy-Item -Recurse "skills" ".\.claude\skills\harness-kit" # macOS / Linux cp -r skills ./.claude/skills/harness-kit
Claude Code tự phát hiện skill trong phiên hiện tại — không cần restart. Nói với agent: Claude Code auto-discovers the skill within the current session — no restart needed. Tell the agent:
"Dùng harness-kit để scaffold harness cho project hiện tại""Use harness-kit to scaffold a harness for the current project"
skills/SKILL.md để biết skill có những lệnh gì và chạy thế nào. Bạn không cần giải thích gì thêm.
Claude reads skills/SKILL.md to learn what the skill does and how to invoke it. No further explanation needed.
Nếu muốn chạy scaffold trực tiếp không qua chat, dùng đường dẫn tuyệt đối tới skill đã cài: To run the scaffolder directly without going through chat, use the absolute path to the installed skill:
py "$env:USERPROFILE\.claude\skills\harness-kit\scripts\scaffold_harness.py" --target .
python3 ~/.claude/skills/harness-kit/scripts/scaffold_harness.py --target .
.cursor/rules/ thay thếNo native skill concept — uses .cursor/rules/ instead
Cursor inject hướng dẫn vào agent qua file .cursor/rules/*.mdc. Copy SKILL.md của harness-kit làm rule:
Cursor injects guidance into the agent via .cursor/rules/*.mdc. Copy harness-kit's SKILL.md as a rule:
New-Item -ItemType Directory -Force .cursor\rules | Out-Null Copy-Item "skills\SKILL.md" ".cursor\rules\harness-kit.mdc"
mkdir -p /path/to/your-project/.cursor/rules cp skills/SKILL.md /path/to/your-project/.cursor/rules/harness-kit.mdc
Mở .cursor/rules/harness-kit.mdc và thêm frontmatter vào đầu file. Dùng alwaysApply: true để rule luôn active:
Open .cursor/rules/harness-kit.mdc and prepend the Cursor frontmatter. Use alwaysApply: true for the rule to always be active:
--- description: Standard-library-only Python agent harness conventions alwaysApply: true --- ... (nội dung SKILL.md tiếp theo)
alwaysApply: false và thêm globs: **/*.py, AGENTS.md.
Want to scope by file instead of always-on? Set alwaysApply: false and add globs: **/*.py, AGENTS.md.
Chạy one-liner install từ thư mục gốc project để có sẵn AGENTS.md và các file harness: Run the install one-liner from your project root to create AGENTS.md and the other harness files:
irm https://raw.githubusercontent.com/nguyenanh92/harness-kit/main/install.ps1 | iex
curl -fsSL https://raw.githubusercontent.com/nguyenanh92/harness-kit/main/install.sh | sh
.agents/skills/Native skill support via .agents/skills/
Antigravity đọc AGENTS.md ở gốc project (chuẩn cross-tool 2026). Chạy install từ thư mục gốc project:
Antigravity reads AGENTS.md at the project root (cross-tool standard 2026). Run the install from your project root:
irm https://raw.githubusercontent.com/nguyenanh92/harness-kit/main/install.ps1 | iex
curl -fsSL https://raw.githubusercontent.com/nguyenanh92/harness-kit/main/install.sh | sh
.agents/skills/ (tùy chọn)Install as native skill into .agents/skills/ (optional)
Nếu muốn Antigravity biết đầy đủ workflow harness-kit, copy thư mục skill vào .agents/skills/ trong project (chạy lệnh này từ trong harness-kit/):
To give Antigravity full harness-kit workflow knowledge, copy the skill folder into .agents/skills/ in your project (run this from inside harness-kit/):
New-Item -ItemType Directory -Force /path/to/your-project/.agents/skills | Out-Null Copy-Item -Recurse "skills" "/path/to/your-project/.agents/skills/harness-kit"
mkdir -p /path/to/your-project/.agents/skills cp -r skills /path/to/your-project/.agents/skills/harness-kit
Mở project trong Antigravity và prompt agent: Open the project in Antigravity and prompt the agent:
"Đọc AGENTS.md và thực thi feature đang in_progress trong feature_list.json""Read AGENTS.md and execute the in_progress feature from feature_list.json"
init.ps1/init.sh để verify trước khi đánh dấu done. Không cần giải thích thêm.
The agent will run init.ps1/init.sh for verification before flipping status to done. No further explanation needed.