openclaw
Skills for the OpenClaw personal AI assistant, covering browser automation, routing requests to coding agents, presenting canvas widgets, running apps on temporary machines, and sharing diffs.
enmanuelmag/agent-harness-kit is a plugin that gives AI coding providers a shared workflow for documents, tracked tasks, handoffs, and health evidence. Use it when several coding agents need common structure and records across one project.
Claude Code
$ npx -y skills add enmanuelmag/agent-harness-kit --agent claude-code
Codex
$ npx skills add enmanuelmag/agent-harness-kit -a codex
Cursor
$ npx skills add enmanuelmag/agent-harness-kit -a cursor
Gemini CLI
$ npx skills add enmanuelmag/agent-harness-kit -a gemini-cli
GitHub Copilot
$ npx skills add enmanuelmag/agent-harness-kit -a github-copilot
OpenCode
$ npx skills add enmanuelmag/agent-harness-kit -a opencode
Windsurf
$ npx skills add enmanuelmag/agent-harness-kit -a windsurf

Agent Harness Kit (AHK) gives AI coding providers a shared workflow for documents, tracked tasks, handoffs, and health evidence. It supports Claude Code, Codex CLI, Cursor, Grok Build, OpenCode, and OpenCode V2.
AHK supplies structure and records. Your provider supplies the model and its own permissions; prompt instructions, including Codex instructions, are not a security boundary.
pnpm add -g @cardor/agent-harness-kit
# or: npm install -g @cardor/agent-harness-kit
# or: bun add -g @cardor/agent-harness-kit
# Yarn Classic (v1) only: yarn global add @cardor/agent-harness-kit
ahk init
Yarn Modern (Berry) removed yarn global; install AHK globally through pnpm, npm, or Bun instead.
For the complete offline product guide after installation, ask: “Use ahk-docs to explain how AHK works.” The same bundled guide is in the source skill.
See CHANGELOG.md for versioned changes and migration requirements.
Ask explicitly for a skill when predictable routing matters. Natural-language routing can help, but provider skill selection is not guaranteed.
| What you need | Ask for | Produces | Does not do |
|---|---|---|---|
| Clarify one actor, goal, and result | ahk-use-case | Draft in docs/use-cases/ | Architecture or implementation |
| Define functional scope | ahk-spec | Functional spec in docs/specs/ | Technical design |
| Design implementation after approval | ahk-spec-tech | Linked technical spec | Implementation |
| Turn a pasted request into a feature or fix spec | ahk-feature / ahk-fix | Functional specification | Fetch Jira automatically |
| Diagnose a bug | ahk-triage | Evidence-backed report | Code changes |
| Ask about project code | ahk-ask | Read-only answer | Task state |
| Compare approaches | ahk-consultant | Read-only advice | Implementation |
| Write behavior tests only | ahk-test | Tests and evidence | Production/config/dependency changes |
| Preview a review | ahk-review | Review rubric | Official approval |
| Learn AHK itself | ahk-docs | Read-only product guide | Any mutation |
Examples:
Use ahk-use-case to define passwordless sign-in for an existing account.
Use ahk-feature to turn this pasted Jira card into an approved functional spec; do not implement it.
Use ahk-triage to explain why checkout retries twice. Do not change code.
Use ahk-docs to explain the health gate and repair mode.
The lightweight skills above are useful entry points, not mandatory stages. ahk-consultant is a read-only skill; the consultant role below is part of tracked development.
flowchart LR
A[Request] --> B{One actor-goal-result?}
B -- no --> C[ahk-use-case: split and draft]
C --> U[Human approves use case]
U --> D[Approved use case or direct request]
B -- yes --> D
D --> E[ahk-spec or ahk-feature/fix]
E --> F[Human approves functional scope]
F --> G[ahk-spec-tech]
G --> T[Human approves technical specification]
T --> H[Developer authorizes tracked implementation]
Start ahk-use-case for an unclear initiative. It asks one decision at a time and separates independent actor-goal-result scenarios into linked use cases. Each coherent draft is saved before explicit human approval. A well-defined request may begin with ahk-spec, ahk-feature, or ahk-fix. Technical specification follows only an approved functional source. Approval of a document does not authorize implementation.
flowchart LR
L[Lead claims task] --> H[Server-owned health]
H -- pass --> X[Explorer]
X --> C[Consultant]
C --> B[Builder]
B --> R[Reviewer]
R -- corrections --> B
R -- approves --> F[Fresh final health and done]
H -- fail --> P[Blocked: diagnose or bounded repair]
The lead coordinates the five roles. A reviewer may send bounded feedback back to the builder. MCP owns the task claim, action log, handoffs, and final health result; the document files remain on the filesystem.
Run the globally installed ahk init in the current directory. It asks for provider, docs path, and storage choices, and creates a native health-script starter when one is missing. Replace that starter with commands that actually verify your project. A health script that always succeeds is not valid completion evidence.
Open or restart your provider after initialization so it reloads its MCP configuration. Claude Code uses the project-root .mcp.json; AHK also materializes native files for Codex, Cursor, Grok Build, OpenCode, and OpenCode V2.
Then make a bounded first request:
Use ahk-feature to define a functional spec from this request. Save a draft, ask for approval, and do not create a task or implement code.
A globally installed ahk command and global database storage are different settings:
PATH..harness/harness.db.ahk init does not create a home-directory provider scaffold. Agent and skill files it creates stay in the current project. The detailed setup and provider guide ships with ahk-docs.
For Codex model prompts, AHK recommends models from the live account catalog: the newest Sol for lead and consultant, the newest Luna for explorer, and the newest Terra for builder and reviewer. A strictly newer Sol takes precedence over Terra for those coding roles; equal versions favor Terra. Requested reasoning efforts are medium for lead, builder and reviewer, high for consultant, and low for explorer, falling back to the model's supported default if needed. Missing families inherit the project model; when Terra is absent, builder and reviewer use the available Sol. These are initial choices and can be changed in the prompt. Claude Code and Cursor initially offer inheritance, while OpenCode V2 uses inheritance without prompting during setup.
Run ahk models apply-defaults or call MCP ahk.models.apply_defaults to apply the current provider's defaults without prompts. This replaces saved choices for all five roles and regenerates their files with backups, reporting the chosen models and backup path. Codex requires a live catalog; discovery failure leaves preferences and role files unchanged. Claude Code, Cursor and OpenCode V2 apply inherit; providers without a default policy report that they are unsupported. This configures role preferences and does not install or update model binaries.
Choose OpenCode V2 in ahk init, or use ahk migrate --to opencode-v2 for an existing project. The existing opencode provider remains v1. Both versions share the opencode executable and .opencode paths; choosing a provider neither installs a runtime nor isolates the two versions.
V2 generates native mcp.servers over stdio with direct tools (codemode: false), complete native agent frontmatter, lead as primary and four subagents, ordered permissions, and the existing skills/resources. ahk init and provider migration default all five roles to inherit without model prompts. Only ahk models asks for per-role provider/model or provider/model#variant references, or inheritance (also selected by an empty response), without a fixed model catalog. Build and sync preserve saved choices and default missing roles to inherit, including forced regeneration. Nonimplementing roles deny edits and arbitrary shell commands; reviewer health/test exceptions can still create local build artifacts. These permissions are tool controls, not an OS sandbox.
JSONC edits preserve comments and unrelated settings. Invalid, duplicate or ambiguous config paths and customized v1 shared agents stop migration before replacement. Canonical v1 conversion is backed up; returning to v1 requires the documented recovery rather than feeding native v2 files to v1. Install the v2 sound adapter with ahk notifications install --provider opencode-v2. Owned v1 hooks are replaced during migration; edited or foreign hooks are preserved as conflicts.
See the bundled OpenCode V2 guide for locations, models, permissions, migration/recovery, diagnostics and evidence. Runtime integration was exercised against isolated OpenCode 2.1.4 with a deterministic local model provider; this does not establish paid-model quality or audible sound delivery.
Specifications are Markdown artifacts: use cases live in docs/use-cases/; functional and technical specifications live in docs/specs/. Tasks, actions, acceptance evidence, and handoffs are harness data, normally backed by the configured database.
New managed documents of every kind (use-case, spec, feature, fix, spec-tech, and legacy technical) receive a YYYY-MM-DD-<slug>.md physical filename from the UTC creation date. The date stays fixed on edits; metadata slugs, titles, and references have no added prefix. Existing unprefixed documents keep their actual paths. MCP create/get/update/transition responses include a sibling filePath; listing items, search results, and related-document items also expose it. These paths are relative to the configured docs directory, for example specs/2026-10-28-export-members.md. Use the returned path rather than reconstructing a filename. Logical slugs remain unique across both roots and creation dates.
specs.list returns valid document metadata, nextOffset, and an always-present diagnostics array of { path, message } for invalid or ambiguous files. Diagnostic paths are relative to the configured docs directory, for example specs/broken.md. Diagnostics cover both document roots even when filters or pagination hide items. Discovery reads only immediate .md files and excludes README.md indexes case-insensitively; other Markdown files, including index.md, must have valid specification frontmatter. Duplicate logical slugs across filenames, dates, or roots are excluded with a diagnostic for each path. Reading, searching, validation, and mutations retain strict document validation.
On a tracked task, tasks.claim runs native health. A pass enables normal work. A failure enters blocked mode: diagnosis remains available, while implementation needs a bounded, audited tasks.repair.begin(...) authorization. tasks.update(..., 'done') runs fresh final health and closes only when it passes.
Operational notices — lifecycle MCP responses, ahk build, ahk sync, and ahk doctor surface cached upgrade and generated-skill migration information without changing task or health results. Suggested commands require developer approval.
Database latency notices measure actual driver calls after schema setup, including calls inside transactions, without timing health scripts or logging SQL/data. Observations are per connection and memory-only: short CLI sessions may not gather enough samples, and nothing persists across processes. Normal DB-backed MCP task/action/health tools can add one informational notice block; their primary text, structured output, errors and health gates stay unchanged. Filesystem tools receive no DB notices. CLI notices go to stderr even with --json; serve uses MCP notices only.
Skills for the OpenClaw personal AI assistant, covering browser automation, routing requests to coding agents, presenting canvas widgets, running apps on temporary machines, and sharing diffs.
Gives Claude Code users skills to drive Orca-managed worktrees, terminals and the embedded browser through the orca CLI, plus Jira and Linear ticket work and inline HTML chat visuals. Covers chart, table and mockup output.
Orchestrates teams of AI agents to run work like a company, with a Node.js server and React UI. Adds skills for delegating tasks, following up on results, reviewing team status, and managing Paperclip tasks from Hermes.
Organizes your AI agents for round-the-clock operation, with tools to hire, schedule and report on your agent team. Lets you oversee the agents without staying online yourself.
Install it with the command on its page. It includes ahk-ask, ahk-consultant, ahk-docs. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it