subagent-result-merge
Skill0 starsChanged 5 months agoMITView on GitHub
Merges agent or review outputs into one deduplicated, evidence-linked, severity-ranked actionable report.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-ui-reviewSkill
- agent-retrospectiveSkill
- agents-md-retrospectiveSkill
- agent-squadSkill
- architecture-mapSkill
- architecture-normalizerSkill
- architecture-principlesSkill
- authz-boundary-reviewSkill
- c-cppSkill
- code-qualitySkill
- code-reviewSkill
- code-to-figmaSkill
- code-wiki-ruSkill
- context-packSkill
- core-engineeringSkill
- debuggingSkill
- dependency-advisory-auditSkill
- deserialization-parser-reviewSkill
- design-system-extractorSkill
- documentationSkill
- engineering-standardsSkill
- esp32Skill
- esphomeSkill
- external-agent-pack-auditSkill
- fastSkill
- figma-to-codeSkill
- fix-security-findingSkill
- goSkill
- homeassistantSkill
- mcp-tool-routerSkill
- migration-plannerSkill
- mobile-qaSkill
- multi-agent-pr-reviewSkill
- performanceSkill
- playwright-visual-qaSkill
- pythonSkill
- quality-gatesSkill
- refactoringSkill
- responsive-breakpoint-checkSkill
- review-routerSkill
- rustSkill
- secrets-and-config-reviewSkill
- security-diff-reviewSkill
- security-routerSkill
- securitySkill
- session-memorySkill
- specialist-dispatchSkill
- supply-chain-reviewSkill
- tdd-guardSkill
- testing-tddSkill
- threat-modelSkill
- typescriptSkill
- ui-buildSkill
- ui-business-appsSkill
- ui-concept-firstSkill
- ui-figmaSkill
- ui-qaSkill
- ui-researchSkill
- ui-routerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 97
Only when /quorum is active for this task, keep these original worker records and use the separately bound target, fixed roster and ballots …
- Distinctive: line 108
Do not average confidence across reviewers.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Subagent Result Merge
Normalize parallel findings into one decision-ready report.
Worker Result Contract
Extend this contract for native and external workers; do not introduce a parallel report format. The launcher records execution facts independently of the worker's prose. This minimal blocked example is a shape example, not evidence of an installed or active integration:
{
"task_id": "example-task",
"goal": "Review the allowed synthetic snapshot",
"base_commit": "unknown",
"snapshot": {"state": "not_created", "sha256": "unknown", "files": []},
"requested": {"provider": "explicit-local-mapping", "model": "explicit-local-mapping"},
"observed": {"provider": "unknown", "model": "unknown", "source": "unknown", "verification": "unknown"},
"status": "blocked",
"findings": [],
"checks": [],
"artifacts": [],
"open_questions": ["Runtime capability has not been verified"],
"usage": "unknown"
}Required fields:
task_id,goal,base_commit, andsnapshot: capture the base revision, uncommitted state, exact allowed files and content hash of the transferred snapshot. Missing revision or hash isunknown, never a fabricated value.requested: provider and model selected before launch, separately fromobservedprovider/model returned by runtime or provider metadata.observed.source: identify the raw artifact and metadata field;observed.verification:runtime_metadata,provider_response, orunknown. Missing metadata remainsunknown; a configured model is only requested.status: completed / blocked / failed. Include a reason for blocked or failed results. Completion is not proof that every check passed.findings: each hasfile_line, severity, evidence, limitations, and source reviewer. Link to raw artifacts; identify snapshot-relative locations.checks: each has the exactcommand, actual integerexit_codeor null when not run,raw_artifact, and outcome (PASS,FAIL,SKIP,BLOCKED). A nonzero test exit cannot become PASS after output processing. Identify scanner errors separately from violations; do not infer scanner success solely from a summary. Skipped checks include a reason.artifacts: local paths to original safe output, findings, and proposed changes;open_questions: unresolved issues;usage: observed token/cost metadata with its source orunknown. Separate parent and worker usage.
Self-description such as “I am the requested model” is not route evidence. Runtime or provider metadata is not independent proof of a provider's internal execution. Preserve that limitation when reporting verification.
The portable scripts/worker-evidence.py helper implements consistency checks
for this contract; see Worker Evidence. Captured
snapshot entries use path, sha256, and bytes; findings use the string key
source_reviewer. Artifact paths are relative to an explicit private artifact
root. Usage is unknown or {duration_ms, tokens, cost_usd, method, source} with
null for each unknown metric. Preserve contract_status separately from the
result outcome, and filesystem SKIP when source/artifact roots were not checked.
The helper checks recorded consistency, not metadata authenticity or sandboxing;
the launcher remains responsible for independently recording execution facts.
Workflow
- Validate result scope, snapshot freshness, requested versus observed route, and raw checks; quarantine malformed or contradictory records as failed.
- Group findings by severity and affected behavior.
- Deduplicate overlapping findings.
- Preserve the strongest evidence and confidence level.
- Separate confirmed issues from plausible/unverified risks.
- Convert repeated themes into concrete follow-up actions. The main agent reviews proposed artifacts and owns applying changes.
Output
- findings ordered by severity
- duplicates collapsed with source reviewers noted
- open questions
- recommended minimal fixes
- validation gaps
- next skill to use, if any
Return a concise summary and artifact pointers, initially targeting at most 1500 tokens when material findings fit. Keep original event streams and logs outside tracked files; do not discard critical errors to meet the target.
Rule
Only when /quorum is active for this task, keep these original worker records and
use the separately bound target, fixed roster and ballots described in
Worker Quorum. Verify current source/artifact
roots; preserve disagreement and veto evidence instead of averaging confidence.
Unknown execution facts or missing verification cannot become an approval.
Without /quorum, merge findings without votes or majority decisions.
/multimodel alone does not enable voting; ordinary same-model parallel work
activates neither mode. Follow the task-scoped
command contract.
Do not average confidence across reviewers. Prefer the most concrete evidence and mark disagreement explicitly.
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.

