मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट29k · #9532

hub-run

यह क्या करती है

यह स्किल पूरी बहु-एजेंट प्रक्रिया एक बार में चलाती है। यह उन लोगों के लिए है जो चाहते हैं कि कई एजेंट एक काम आज़माएँ और सबसे अच्छा नतीजा अपने-आप मर्ज हो जाए।

कब इस्तेमाल करें

  • ✓जब आप हर चरण में रुके बिना पूरी प्रतियोगिता चलाना चाहते हों।
  • ✓जब आप चाहते हों कि बहु-एजेंट काम कम मैन्युअल सेटअप के साथ पूरा हो।
  • ✓जब आपको मापने योग्य काम के लिए शुरू से मर्ज तक एक तय प्रक्रिया चाहिए।

Skill का लिंक

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/hub-run/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/hub-run/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“ऑप्टिमाइज़र टेम्पलेट से तीन एजेंट के साथ हमारी p50 लेटेंसी घटाइए, और सबसे तेज़ नतीजे को मर्ज कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट सत्र शुरू करता है, बेसलाइन दर्ज करता है, एजेंट लॉन्च करता है, उनके नतीजों का मूल्यांकन करता है और विजेता को मर्ज करता है। इनपुट के रूप में वह काम, एजेंट की संख्या, eval कमांड, मेट्रिक, दिशा और टेम्पलेट लेता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

/hub-run — One-Shot Lifecycle

Run the full AgentHub lifecycle in one command: initialize, capture baseline, spawn agents, evaluate results, and merge the winner.

Usage

/hub-run --task "Reduce p50 latency" --agents 3 \
  --eval "pytest bench.py --json" --metric p50_ms --direction lower \
  --template optimizer

/hub-run --task "Refactor auth module" --agents 2 --template refactorer

/hub-run --task "Cover untested utils" --agents 3 \
  --eval "pytest --cov=utils --cov-report=json" --metric coverage_pct --direction higher \
  --template test-writer

/hub-run --task "Write 3 email subject lines for spring sale campaign" --agents 3 --judge

Parameters

Parameter Required Description
--task Yes Task description for agents
--agents No Number of parallel agents (default: 3)
--eval No Eval command to measure results (skip for LLM judge mode)
--metric No Metric name to extract from eval output (required if --eval given)
--direction No lower or higher — which direction is better (required if --metric given)
--template No Agent template: optimizer, refactorer, test-writer, bug-fixer

What It Does

Execute these steps sequentially:

Step 1: Initialize

Run /hub-init with the provided arguments:

python {skill_path}/scripts/hub_init.py \
  --task "{task}" --agents {N} \
  [--eval "{eval_cmd}"] [--metric {metric}] [--direction {direction}]

Display the session ID to the user.

Step 2: Capture Baseline

If --eval was provided:

  1. Run the eval command in the current working directory
  2. Extract the metric value from stdout
  3. Display: Baseline captured: {metric} = {value}
  4. Append baseline: {value} to .agenthub/sessions/{session-id}/config.yaml

If no --eval was provided, skip this step.

Step 3: Spawn Agents

Run /agenthub:spawn with the session ID.

If --template was provided, use the template dispatch prompt from ../agenthub/references/agent-templates.md instead of the default dispatch prompt. Pass the eval command, metric, and baseline to the template variables.

Launch all agents in a single message with multiple Agent tool calls (true parallelism).

Step 4: Wait and Monitor

After spawning, inform the user that agents are running. When all agents complete (Agent tool returns results):

  1. Display a brief summary of each agent's work
  2. Proceed to evaluation

Step 5: Evaluate

Run /agenthub:eval with the session ID:

  • If --eval was provided: metric-based ranking with result_ranker.py
  • If no --eval: LLM judge mode (coordinator reads diffs and ranks)

If baseline was captured, pass --baseline {value} to result_ranker.py so deltas are shown.

Display the ranked results table.

Step 6: Confirm and Merge

Present the results to the user and ask for confirmation:

Agent-2 is the winner (128ms, -52ms from baseline).
Merge agent-2's branch? [Y/n]

If confirmed, run /agenthub:merge. If declined, inform the user they can:

  • /agenthub:merge --agent agent-{N} to pick a different winner
  • /agenthub:eval --judge to re-evaluate with LLM judge
  • Inspect branches manually

Critical Rules

  • Sequential execution — each step depends on the previous
  • Stop on failure — if any step fails, report the error and stop
  • User confirms merge — never auto-merge without asking
  • Template is optional — without --template, agents use the default dispatch prompt from /agenthub:spawn
अक्सर पूछे जाने वाले सवाल

कौन से टेम्पलेट उपलब्ध हैं?

Optimizer, refactorer, test writer और bug fixer, हर एक का अपना काम करने का पैटर्न है।

क्या इसके लिए eval कमांड चाहिए?

नहीं। इसके बिना यह नतीजों की तुलना के लिए LLM जज मोड इस्तेमाल करता है।

मापे जाने वाले काम के लिए मुझे क्या देना होगा?

मेट्रिक का नाम और यह कि कम बेहतर है या ज़्यादा।

जानकारी

लेखक का मूल विवरण

Use for /hub-run, or to run a whole AgentHub competition end to end: init, baseline, spawn, eval and merge.

repo: alirezarezvani/claude-skills

लोकप्रियता

GitHub स्टार
29k
रैंकिंग में स्थान
#9532
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-launcher-orchestrator

29k

आपके एजेंट को एक साफ़ लक्ष्य से शुरू करके, अपने खाते में Claude मैनेज्ड एजेंट की योजना बनाने, बनाने, जांचने और शेड्यूल करने में चरण-दर-चरण मदद करती है।

AI और एजेंटएजेंट

grade-iterate

29k

आपके एजेंट को किसी मैनेज्ड AI एजेंट के काम को रूब्रिक से आंकने और तय संख्या के दौरों में सुधारने देती है, ताकि वह कभी अनंत चक्र में न फंसे।

AI और एजेंटएजेंट

interview

29k

आपके एजेंट को AI एजेंट के विचार पर आपसे इंटरव्यू लेने और कुछ भी लॉन्च होने से पहले आपके जवाबों को सरल निर्माण योजना में बदलने देती है।

AI और एजेंटएजेंट

run-without-you

29k

आपके एजेंट को मैनेज्ड AI एजेंट शेड्यूल पर या किसी घटना पर चलाने में मदद करती है, लॉन्च से पहले cron समय की जांच के साथ।

प्रोडक्टिविटीऑटोमेशन

मिलती-जुलती skills