How chpark-ml/agent-harness works
agent-harness packages Claude Code guards, skills, commands, role/language profiles, and project-scoped rules behind a reversible installer. The documented setup flow is: a user runs the installer to install selected plugins and the harnessctl command, then runs harnessctl init in a project to add team-owned rules and settings. At session start, Claude Code loads plugins; hooks and skills provide machine-wide behavior, while project rules travel with the repository. The README documents the profile capabilities; source excerpts were limited to a benchmark script, so component-level runtime wiring is not inferred beyond those documented relationships.
Main entry points: install.sh Installer · harnessctl Harness CLI · hooks Guard hooks · skills Core skills
Components 20
Setup and scope
- Installer
install.sh - Harness CLI
plugins/harness-core/bin/harnessctl - Project files
Core harness
- Guard hooks
plugins/harness-core/hooks - Core skills
plugins/harness-core/skills - Core commands
plugins/harness-core/commands - Core rules
plugins/harness-core/declarative/rules/core
Role profiles
- Development workflows
plugins/harness-dev/skills - Research workflows
plugins/harness-research/skills - Presentation workflows
plugins/harness-slides/skills - Frontend profile
plugins/harness-frontend
Language profiles
- Python profile
plugins/harness-python - TypeScript profile
plugins/harness-typescript - C++ profile
plugins/harness-cpp - C# profile
plugins/harness-csharp - Kotlin profile
plugins/harness-kotlin - Lua profile
plugins/harness-lua - Swift profile
plugins/harness-swift
Other components
- User
- Claude Code
Connections 22
- User → Installer: runs
README.md - Installer → Claude Code: installs plugins
README.md - Installer → Harness CLI: runs setup
README.md - User → Harness CLI: initializes project
README.md - Harness CLI → Project files: writes project assets
README.md - Installer → Guard hooks: installs guards
README.md - Installer → Core skills: installs skills
README.md - Installer → Core commands: installs commands
README.md - Harness CLI → Core rules: installs rules
README.md - Claude Code → Guard hooks: loads at session
README.md - Claude Code → Core skills: loads at session
README.md - Installer → Development workflows: selects profile
README.md - Installer → Research workflows: selects profile
README.md - Installer → Presentation workflows: selects profile
README.md - Installer → Frontend profile: selects profile
README.md - Installer → Python profile: selects profile
README.md - Installer → TypeScript profile: selects profile
README.md - Installer → C++ profile: selects profile
README.md - Installer → C# profile: selects profile
README.md - Installer → Kotlin profile: selects profile
README.md - Installer → Lua profile: selects profile
README.md - Installer → Swift profile: selects profile
README.md