agent-runtime
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
Implement or review Singular agent, router, group, nesting, spawning, handoff, and message runtime behavior on Harness services.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- naman10parikh/pennytheir own version, first seen Nov 8, 2026
- naman10parikh/wikimemtheir own version, first seen Nov 8, 2026
- naman10parikh/turbotheir own version, first seen Oct 25, 2026
- naman10parikh/pixeltheir own version, first seen Oct 25, 2026
- naman10parikh/agentgridtheir own version, first seen Oct 20, 2026
- oocx/tfplan2mdtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 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.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
KirchliveSkillskill-routing
Decides which of the installed skills a task needs and loads them before the work starts. This skill should be used at the beginning of any multi-step task — build, fix, refactor, migrate, review, plan, release, research, write, design, video — and again at every phase change, after context compaction, and when work moves into a different part of the codebase. Use it for requests like "let's build X", "fix this bug", "refactor Y", "plan the migration", "review this", and also when the user asks which skill applies, why a skill did not fire, or asks to check what is available.
Also in 5 projects that use this
GoZippySkillrepo-scout
Also in 5 projects that use this
BenjaminGSkillharness-review
Turn one PR's review comments into harness fixes — classify each cause by the most solid place it can live (codebase, lint, rules, skill), then draft the fixes in a separate PR.
Also in 5 projects that use this
botirkhaltaevSkilldesign-systems
Build and maintain scalable design systems: design tokens, component libraries, naming conventions, governance, and design-to-code pipelines. Covers Figma variables, token architecture, atomic design, component APIs, versioning, and team workflows. Use when creating a design system, scaling an existing one, or establishing design-engineering alignment. Triggers on: "design system", "design tokens", "component library", "token naming", "Figma variables", "atomic design", "design ops", "design-to-code".
Also in 5 projects that use this
- +6 more from naman10parikh
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- oocx/tfplan2md★ 174same name
- naman10parikh/agentgrid★ 9same name
- naman10parikh/wikimem★ 8same name
- sublimotion/agent-aiops-on-aws★ 4same name
- xin-yi33/coding-agent-crew★ 1same name
- naman10parikh/penny★ 0same name
- naman10parikh/pixel★ 0same name
- naman10parikh/turbo★ 0same name
- Zack-Grogan/agentos-foundation★ 0same name
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 repository25 other files it gives its agents.
- ball-alignSkill
- canvas-clientSkill
- checkSkill
- chip-designerSkill
- collaboration-panelSkill
- debug-bemuSkill
- debug-compilerSkill
- debug-p2eSkill
- debug-performanceSkill
- debug-verilatorSkill
- domain-modelingSkill
- graph-contractSkill
- grillingSkill
- grill-with-docsSkill
- ip-designerSkill
- model-optimizeSkill
- model-portSkill
- model-recipeSkill
- plugin-verifySkill
- programming-principlesSkill
- repo-installSkill
- reportSkill
- role-identitySkill
- waveformSkill
- workload-testsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
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
- Very specific: line 8
Use after graph-contract is fixed.
- Very specific: line 12
Read the checked-in Harness type declarations before using an API.
- Distinctive: line 36
Do not add fallback agents, silent retries, empty-success results, automatic takeover, or defensive checks for impossible internal states.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Agent Runtime
Use after graph-contract is fixed. Keep runtime behavior in the agent plugin; do not make the graph or web plugin drive an agent loop.
Harness integration
- Read the checked-in Harness type declarations before using an API. Prefer
ctx.agents.create,ctx.agents.resume,ctx.agents.get,ctx.sessions, and the configured session persistence service. - A created or resumed agent is the exact live identity. Keep its disposer with the owner that created it. Do not infer authority from ambient initiator state alone.
- Attach graph ownership and listeners through Cordis effects so unload removes routes, listeners, timers, and live handles in order.
- Persist agent conversation through the existing session log/persistence path. Do not invent a second session file format.
Router and group rules
- A router is the leader of exactly one group and the group's public endpoint.
- Human input enters the router session. The router may dispatch explicit work to members, create a child group, or create standalone agents for independent exploration and comparison.
- Any agent may spawn another agent. A standalone agent may also continue spawning unless a future contract says otherwise.
- Creating a group makes the creating agent its router immediately. The graph operation must publish the router and group relationship atomically with the successful runtime creation.
- A router can be a member of a parent group. Parent members send to that router as to one ordinary node; the parent never reaches through it to hidden child members.
- A router may finish and become
doneoridle. Later input resumes the same session. Never silently replace it or elect a backup.
Dispatch
- Route a message to one explicit endpoint. Group-internal dispatch is the router's decision; do not broadcast by default.
- A parent-to-child-group message is addressed to the child router. The router may answer the sender directly or dispatch internally according to the runtime contract; preserve sender and receiver ids on the message.
- Temporary cross-group or cross-root messages do not create graph edges. Give them a durable message/session event only when the product contract requires replay.
- Handoff records the brief and changes responsibility to the child. The parent may summarize but must not continue the handed-off work.
Failure and lifecycle
- Boundary schema errors, missing live identities, duplicate ids, invalid transitions, persistence failures, and child-loop failures are errors. Propagate them to the caller and surface them in the UI.
- Do not add fallback agents, silent retries, empty-success results, automatic takeover, or defensive checks for impossible internal states.
- Make creation, graph publication, and session attachment one explicit ordered transaction. Never leave a graph node that has no live session or a live session that is not represented by the graph.
- Dispose in reverse ownership order: stop/drain the agent loop, flush the session, remove runtime registration, then remove graph ownership. Do not delete persisted history as a recovery shortcut.
Runtime tests
Cover one root, multiple roots, router-as-parent-member, nested group routing, standalone fan-out, handoff, same-session resume after done, explicit message routing, and failure propagation. Assert that no hidden member is reachable through a child router and that no temporary message creates a durable edge.
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.

