Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add khalilbenaz/claude-skills-collection --skill result-aggregatorgit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/result-aggregator)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/result-aggregator"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/result-aggregator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/result-aggregator"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/result-aggregator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01902 |
| Opus 5 | $0.00043 | $0.00951 |
| Sonnet 5 | $0.00017 | $0.00380 |
| Haiku 4.5 | $0.00009 | $0.00190 |
Grade A, and why
result-aggregator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Result Aggregator
Quand l'utiliser
| Situation | Pattern recommandé |
|---|---|
| Chaque agent couvre une partie distincte | Fusion complémentaire |
| Plusieurs agents traitent la même question | Déduplication + ranking |
| Les agents aboutissent à des conclusions différentes | Résolution de conflits |
| Un agent a échoué / timeout | Fallback sur résultats partiels |
Workflow en 7 étapes
1. Définir le schéma de sortie avant tout
Spécifier le contrat du résultat final avant de lancer les sous-agents.
from pydantic import BaseModel
from typing import Any
class AggregatedResult(BaseModel):
summary: str
details: dict[str, Any]
sources: list[dict] # {agent_id, confidence, status}
confidence: float # min des confidences individuelles, pas la moyenne
conflicts_resolved: list[dict]
metadata: dict # nb_agents, success_rate, duration_ms
Critère de décision : si le schéma change après l'agrégation, l'étape est trop tardive.
2. Collecter en parallèle avec timeout strict
import asyncio
async def collect(agents: list, timeout: int = 60) -> list:
tasks = [asyncio.wait_for(a.get_result(), timeout=timeout) for a in agents]
raw = await asyncio.gather(*tasks, return_exceptions=True)
return [
{"agent_id": agents[i].id, "status": "failed", "data": None, "confidence": 0.0}
if isinstance(r, Exception)
else {"agent_id": agents[i].id, "status": "complete", "data": r, "confidence": r.confidence}
for i, r in enumerate(raw)
]
Règle : ne jamais bloquer sur un agent lent. Timeout = SLA de l'agent le plus lent × 1,5.
3. Valider et scorer chaque résultat
Catégories : valid · partial · invalid · empty
def validate(result: dict, required_fields: list[str]) -> dict:
if result["status"] == "failed":
return {"category": "empty", "score": 0.0}
data = result.get("data") or {}
missing = [f for f in required_fields if f not in data]
if missing:
return {"category": "partial", "score": 0.4, "missing": missing}
confidence_bonus = result.get("confidence", 0) * 0.3
return {"category": "valid", "score": 0.7 + confidence_bonus}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 219 lines · 85 tokens per session scan A 33ce225aa0a0
result-aggregator is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (22 stars, last pushed 18d ago), licensed MIT. It adds 85 tokens to every session and 1,902 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
git-mastery
Advanced Git: rebase, bisect, reflog, cherry-pick, worktrees, LFS. Triggers: rebase, bisect, cherry-pick, reflog, force push, merge conflict, worktree.
pr
Creates GitHub PR after pre-flight checks (lint/typecheck/tests), structured summary from commits. Triggers: pr, pull request, create PR, ready to merge.
rollback
Rolls back git commit, DB migration, or deploy to known-good with safety + health checks. Triggers: rollback, revert deploy, revert migration, rollback commit, git revert.
explain
Explains code/architecture with Mermaid diagrams and sequence flows. Triggers: what does X do, how does Y work, explain code, sequence diagram.
deploy
Deploys with pre-flight checks and health verification. Triggers: deploy, deployment, ship, release, push to prod.
commit
Creates Conventional Commits with pre-commit validation. Triggers: commit, conventional commit, git commit, message.