Install
$ agentstack add skill-easyinplay-harnessed-code ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
task-code workflow (v3)
Overview
2-phase sub-workflow mapping the user's CLAUDE.md Stage ③.b 子任务编码 discipline onto the harnessed runtime, fully harnessed.workflow.v3 schema (Phase v3.0-3.4 W0 T3.4.W0.7 — D-09 L0 Discipline Substrate + D-05 conditional invokes_tools + D-15 planning-with-files plugin).
| phase | id | upstream | model | capability / invokes_tools | | ----- | -- | -------- | ----- | -------------------------- | | 1 | 01-code | karpathy | sonnet | invokes_tools: [{if: phase.architecture_health_audit, tool: improve-codebase-architecture}, {if: subtask.bug_root_cause_unknown, tool: diagnose}] | | 2 | 02-progress | planning-with-files | haiku | {{ capabilities.planning-with-files.cmd }} / invokes: /plan / artifacts_expected: [progress.md] |
Per-phase config loads from workflows/task/code/workflow.yaml; engine.runRouting spawns each phase as a sub-agent via @anthropic-ai/claude-agent-sdk 0.3.142+.
Karpathy 4 心法 (L0 Discipline Substrate always-on)
Phase 01-code 的 upstream 是 karpathy — runtime engine 加载 workflows/disciplines/ karpathy.yaml discipline rules 应用 cross-cutting (Think Before Coding / Simplicity First / Surgical Changes / Goal-Driven Execution + ≤200L hard limit + no-feature-creep
- trust-internal-code + no-comments-default). 不 invoke slash cmd, 通过 hook 强制
behavioral rule per D-09 L0 Discipline Substrate.
mattpocock conditional route (D-05 invokes_tools)
Phase 01-code 按 phase fact context 条件性 fire 2 mattpocock 招式:
improve-codebase-architecture— 周期架构健康审查 (whenphase.architecture_health_audit == true)diagnose— bug 系统化排错 (whensubtask.bug_root_cause_unknown == true)
2 触发条件 OR-chain, 任 1 fire 即 invoke 对应招式 — 不互斥 (sister CLAUDE.md "mattpocock 招式按需召唤" pattern, NOT exclusive). 无触发 = pure karpathy 心法 only.
CodeGraph navigation (opt-in, v4.17.0)
If the project has a .codegraph/ index (opt-in CodeGraph semantic index — sister capabilities.yaml codegraph entry), prefer the codegraph MCP tools (codegraph_explore) for symbol lookup / call paths / impact analysis instead of grep/glob/file-by-file Read crawling. No .codegraph/ → skip this (no install nag).
Phase 02-progress planning-with-files plugin 真接 (Q-AUDIT-5a LOCKED Option A)
02-progress invokes the Claude Code plugin slash command /plan to update progress.md in .planning/phases/-/ — 跟踪 subtask 完成 / blocked / next step per bundled "跨 session 恢复" 模式 + R20.6 Manus-style 持久化. Requires the planning-with-files Claude Code plugin (install via Claude Code plugin marketplace).
How to invoke
!harnessed checkpoint intent task-code
> The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `` reminder persists until they run.
The numbered sequence below is the state machine — execute it with Bash. Do NOT improvise an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a CC-native Task / Agent tool (keeps the session responsive + lets clarification round-trips reach the user).
Do NOT pipe to harnessed run task-code — that is the CI/headless path (in-process SDK spawn that blocks the session inside Claude Code).
- Bash:
harnessed prompt task-code --task "$ARGUMENTS" --json→ parse{prompt, max_iterations, model}. - Spawn a CC-native subagent (Task / Agent tool) with that
prompt+model, wrapped in the ralph-loop plugin:/ralph-loop "" --max-iterations --completion-promise "COMPLETE". If the plugin is absent, use the native goal gate instead (Claude Code 2.1.139+ / Codex):/goal "this subtask is delivered: the subagent's final output contains verbatim COMPLETE; or stop after turns"then spawn the subagent and let the goal evaluator drive re-spawns until it clears. If/goalis unavailable too, self-loop: spawn → check output forCOMPLETE→ re-spawn with prior output appended (up to max_iterations). Set the goal only at the leaf subtask level —/goalis single-slot per session and a nested goal overwrites the outer one. - If the output contains
STATUS: NEEDS_CLARIFICATION+ a question list: STOP, relay them verbatim via AskUserQuestion, append the answers to the spec, then re-spawn the same sub. - On
COMPLETE: Bashharnessed checkpoint complete task-code --summary "". The evidence guard runs here (fail-CLOSED): if a declaredartifacts_expectedfile is missing it exits non-zero — re-spawn to produce it before treating the sub as done.
References
- D-09 — L0 Discipline Substrate always-on (karpathy 心法 4 条 cross-cutting)
- D-05 — phase-level
invokes_toolsconditional tool fire - D-15 + Q-AUDIT-5a — planning-with-files = Claude Code plugin slash cmd
/plan - D-02 — SKILL.md
name:bare slash cmd (task-codeNOTtask/code) per ADR 0030 workflows/disciplines/karpathy.yaml— 4 心法 + ≤200L hard limit 等 rules (L0 substrate)workflows/capabilities.yaml— improve-codebase-architecture / diagnose / planning-with-files entriesworkflows/defaults.yaml— ralphmaxiterations.task-code.* values (T3.4.W2.2 followup)docs/WORKFLOW.md— 4-stage workflow mermaid + Stage ③ Execute 章节
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: easyinplay
- Source: easyinplay/harnessed
- License: Apache-2.0
- Homepage: https://harnessed.cc/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.