agent-harness-construction/SKILL.md
Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates.
npx skillsauth add lidge-jun/cli-jaw-skills agent-harness-constructionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.
Agent output quality is constrained by:
Every tool response should include:
status: success|warning|errorsummary: one-line resultnext_actions: actionable follow-upsartifacts: file paths / IDsFor every error path, include:
Track:
Instrument every tool call with:
Use LangSmith, Logfire, or OpenTelemetry for trace visualization. Without observability, harness optimization is guesswork.
| Topology | Structure | Best For | |----------|-----------|----------| | Pipeline | A → B → C | Sequential processing stages | | Fan-out/Fan-in | Hub dispatches N workers, merges results | Parallel independent tasks | | Supervisor | Supervisor delegates and reviews | Quality-gated workflows | | DAG | Dependency-ordered execution graph | Complex workflows with partial dependencies |
Run harness evaluation as part of your CI pipeline. Track completion rate, cost, and latency per commit. Regressions in harness quality should block merges.
tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.