harness
Skill0 starsChanged 13 days agoMITView on GitHub
Must always apply when working in a T3 Code thread on an OPS harness box. Facts about the box and T3 that an agent cannot work out: how a thread pauses, moves and closes, how to reach the owner and get a file to them, how waiting and helper agents behave, and the commands the box provides.
40 other projects use a version of this.
Adopted by
Most recently taken up by
- Ertinox7711/SGRR-AGI-V2their own version, first seen Nov 29, 2026
- d-o-hub/do-harnesstheir own version, first seen Nov 29, 2026
- Take-Group/openrevoketheir own version, first seen Nov 29, 2026
- AshrafDurjoy/genai-shared-patternstheir own version, first seen Nov 16, 2026
- DavidTeam2008/harness-engineering-kittheir own version, first seen Nov 15, 2026
- manhquydev/flow-skilltheir own version, first seen Nov 13, 2026
Used with
Projects with it also use to-issues, to-prd and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillto-issues
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
Also in 3 projects that use this
GoogleSkillto-prd
Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 3 projects that use this
MicrosoftSkilldiagnose
Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns
Also in 3 projects that use this
Microsoft AzureSkillverify
End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.
Also in 4 projects that use this
AWSSkillretro
Conduct a retrospective on a coding session.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
- +3 more from google
Other versions40 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 40
- revfactory/harness★ 9.1ksame name
- cexll/myclaude★ 2.8ksame name
- Simpleyyt/ai-manus★ 1.6ksame name
- BankrBot/openclaw-skills★ 1.2ksame name
- BankrBot/skills★ 1.2ksame name
- bam-bam-2/solo-skills★ 366same name
- serejaris/ris-claude-code★ 251same name
- serejaris/personal-corp-os★ 250same name
- SensorsIot/Embedded-AI-Harness★ 235same name
- skillsynchq/txcript★ 229same name
30 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 23
Put knowledge where the next person will look.
- Distinctive: line 24
Write the resume note at the top of the anchor or baton: NEXT ACTION (one step), VERIFY FIRST, DO NOT (with who said so), DEAD ENDS, ASK …
- Distinctive: line 59
Never message a running workflow agent: it starts a second copy.
- Distinctive: line 61
No new top-level threads unless the owner asks.
- Very specific: line 65
When the box has an OpenAI subscription (or another vendor's) wired into OPS_REVIEWER_CMD, code where a miss is expensive (production …
- Very specific: line 70
Never kill processes by name pattern (pkill -f): your own shell and sibling agents match.
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness
Facts about the box you are running on. The machinery (hooks, scripts, T3's own tools) does the work; this page says what exists and what bites. The harness root is ~/OPS (or $OPS_DIR); commands below live in <root>/.claude-config/bin/.
What survives
A conversation is lost at a compact or a close. Three things are not: git, the memory pool for this directory (the session-start digest prints it), and the resume note. Anything worth keeping goes into one of them before either happens.
Ending a thread
Three endings. Pause: the same thread continues after a compact. Move: the work continues in another thread, profile or machine. Close: the purpose is done.
- Every ending starts with
session-end <pause|move|close>. It snapshots git, starts the merged-branch and worktree cleanup (branch-gc) for this repo (add--repo PATHfor each other repo the thread changed; it prints the candidates), rebuilds the memory index, lints when the thread touched harness files, and prints this thread's open asks and what is left for you to decide. Fix the lint findings on files this thread changed and name the rest as other work's. - It never commits, pushes, logs time, edits a ticket, writes a baton, compacts, settles or deletes scratch. Those stay yours.
- What only you can do, every time:
- Save to the memory pool only a trap with no other home, one fact per file; a ruling, a repo fact or a client fact goes to its home instead. A session with none saves none.
- Leave the memory pool better than you found it: correct an entry this thread proved wrong, merge duplicates you touched, move a lesson that belongs in a repo's docs. The closing thread owns this; nothing else tidies the pool (
verify-ops.shonly warns when one outgrows its budget). - Put knowledge where the next person will look. A client or technical fact goes to its page in the documentation system, a repo fact to that repo's docs, a decision to the changelog. Fix any document this thread made untrue.
- Write the resume note at the top of the anchor or baton: NEXT ACTION (one step), VERIFY FIRST, DO NOT (with who said so), DEAD ENDS, ASK THE OWNER.
- Then run
session-end finish. After a close it needs--logged N(time entries created and read back; 0 when entries already on the ticket cover the work) or--declined REASON. Skip it and the closeout stamp never moves, so the next ending redoes this one's work. - Pause:
session-end pauseprints the compact line. On T3, with the box's harness token, the thread compacts itself (compact-cycle.sh); without the token the cycle stops withERR_T3APIbefore it sends anything, and the owner fires/compact. Never compact over an unanswered question. - Move: the baton is
<root>/.claude-handoffs/pending/<key>.md, key fromkey.sh. One pending baton per project; never overwrite an unread one. Commit and push it, or the other machine never sees it. - Close: only on the owner's word; a thread never closes itself.
session-end closelists what this thread made (scratch files, containers, temporary worktrees): remove them yourself by exact path or id, never another thread's and never one it marks as ownership unknown. Then settle the waysession-end closeprints it (T3's own settle tool;t3-api.sh settle-when-idleonly where that tool is missing), and print the receipt first, because nothing after the settle reaches the owner. - Time: when this thread worked a ticket, log its time before closing.
session-end closeprints the measured minutes (active-minutesis the tool); read what is already on the ticket first so nothing is billed twice. Ending a thread never changes a ticket's status. Closing a ticket followsCONTEXT/work-tracking.md(or your organization's platform skill, when this copy has it), and it does not end the thread.
Talking to the owner
- Text written mid-turn may not be seen until the turn ends. What they must read in full goes through
send_to_useror the final reply. - Anything they must click within a time window (an approval link) goes last, with its expiry time, and then the turn ends.
- At most three asks in a reply, each with your recommendation and what happens if they say nothing. A hook checks this.
- They read cold. Say what a thing is before using its name; give a link beside every id.
- Data, comparisons and decisions read better as an inline page: build one HTML file from
assets/starter.html, check it withhtml_previewat 728 and 390 wide (zero console errors), show it withhtml_render. Colors:references/palette.md. One page per reply.
Getting a file to them
Pick by what they need:
- To read or look at it: show it in the thread, as an inline page or a link to its absolute path (T3 opens it in its files viewer). Nothing is transferred.
- On their computer:
grabit, over Tailscale. It works only whentailscale statuson this box shows it signed in and their computer online; Taildrop lands the file in their Downloads on Windows. A T3 thread has no SSH connection to find their machine from, so name it:grabit --list, thengrabit --to <their computer> FILE.... Plaingrabit FILEpicks the right machine only from an SSH shell. Named files only, never a folder. "Permission denied" means the box never ransudo tailscale set --operator=<owner>: tell them, do not work around it. - Large or many files, or they want a link:
grabit --serve PATH...prints a link that works only on their tailnet; it needs sudo and stays up untilgrabit --serve-off. Where the box's own doctrine names another delivery command, use that. - Tailscale signed out, or none of their devices online: say so and link the path in T3. Do not paste the file into chat or invent another route.
- They sent you something: an image attached in T3 is already a saved path, read it. A file they Taildropped:
grabit --queuepulls it into~/grabit-inbox; an empty queue means nothing arrived.
Waiting
- A thread wakes only on a message, a task notice or a schedule. "I will check later" with nothing armed means it never happens. Arm
schedule_taskbound to this thread, and have its prompt delete the schedule when done. - A background command stops after 30 minutes unless the call passes a longer
timeout(2 hours at most). - To wait on a background command you started, use
t3_background_wait. To wait on a pull request,watch_pull_request. Never a sleep loop.
Helper agents and other threads
- A helper's result is only its last message. Brief it: "your final message is the deliverable, in full".
- A helper that writes files gets its own worktree. One that shares your checkout moves your branch.
- Never message a running workflow agent: it starts a second copy.
- Another thread's worktree, scratch or documents are not yours to clean. Message that thread (
t3_thread_send). - No new top-level threads unless the owner asks.
Review
- When the box has an OpenAI subscription (or another vendor's) wired into
OPS_REVIEWER_CMD, code where a miss is expensive (production writes, guards, secrets, auth) gets a second-vendor review before it lands:second-vendor-review. Without one, say so and land on your own verification.
The box
- T3's tools arrive as names only. Fetch a tool's definition before first use.
- Never kill processes by name pattern (
pkill -f): your own shell and sibling agents match. Usesafe-pkillor a recorded PID. - A test of anything that deletes or moves files runs under
sandbox-run. - Guards block force-pushes, history rewrites, hook bypasses, secrets written into memory, and a push of this copy to an origin not proven private. A blocked call is a ruling, not an error to route around.
- Scratch goes in
$TMPDIR, outputs in the project's folder, never the harness root. - "Update the harness" in a copy of the template:
harness-update-scan.shcompares the copy with the template. A file changed both upstream and locally is never applied automatically.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

