hub-init
/hub-init
Tworzy nową sesję współpracy AgentHub z zadaniem, liczbą agentów i kryteriami oceny, przy rozpoczynaniu rywalizacji wielu agentów nad zadaniem.
- Autor
- alirezarezvani ↗
- Repozytorium
- claude-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 23.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy nową sesję współpracy AgentHub z zadaniem, liczbą agentów i kryteriami oceny, przy rozpoczynaniu rywalizacji wielu agentów nad zadaniem.
Oryginalny opis (EN)
Create a new AgentHub collaboration session with task, agent count, and evaluation criteria. Use when the user runs /hub:hub-init or asks to start a multi-agent competition on a task.
Jak działa
- Usage
- What It Does
- Baseline Capture
- After Init
Podgląd SKILL.md
---
name: "hub-init"
description: "Create a new AgentHub collaboration session with task, agent count, and evaluation criteria. Use when the user runs /hub:hub-init or asks to start a multi-agent competition on a task."
metadata:
command: /hub:hub-init
---
# /hub:hub-init — Create New Session
Initialize an AgentHub collaboration session. Creates the `.agenthub/` directory structure, generates a session ID, and configures evaluation criteria.
## Usage
```
/hub:hub-init # Interactive mode
/hub:hub-init --task "Optimize API" --agents 3 --eval "pytest bench.py" --metric p50_ms --direction lower
/hub:hub-init --task "Refactor auth" --agents 2 # No eval (LLM judge mode)
```
## What It Does
### If arguments provided
Pass them to the init script:
```bash
python {skill_path}/scripts/hub_init.py \
--task "{task}" --agents {N} \
[--eval "{eval_cmd}"] [--metric {metric}] [--direction {direction}] \
[--base-branch {branch}]
```
### If no arguments (interactive mode)
Collect each parameter:
1. **Task** — What should the agents do? (required)
2. **Agent count** — How many parallel agents? (default: 3)
3. **Eval command** — Command to measure results (optional — skip for LLM judge mode)
4. **Metric name** — What metric to extract from eval output (required if eval command given)
5. **Direction** — Is lower or higher better? (required if metric given)
6. **Base branch** — Branch to fork from (default: current branch)
### Output
```
AgentHub session initialized
Session ID: 20260317-143022
Task: Optimize API response time below 100ms
Agents: 3
Eval: pytest bench.py --json
Metric: p50_ms (lower is better)
Base branch: dev
State: init
Next step: Run /hub:spawn to launch 3 agents
```
For content or research tasks (no eval command → LLM judge mode):
```
AgentHub session initialized
Session ID: 20260317-151200
Task: Draft 3 competing taglines for product launch
Agents: 3
Eval: LLM judge (no eval command)
Base branch: dev
State: init
Next step: Run /hub:spawn to launch 3 agents
```
## Baseline Capture
If `--eval` was provided, capture a baseline measurement after session creation:
1. Run the eval command in the current working directory
2. Extract the metric value from stdout
3. Append `baseline: {value}` to `.agenthub/sessions/{session-id}/config.yaml`
4. Display: `Baseline captured: {metric} = {value}`
This baseline is used by `result_ranker.py --baseline` during evaluation to show deltas. If the eval command fails at this stage, warn the user but continue — baseline is optional.
## After Init
Tell the user:
- Session created with ID `{session-id}`
- Baseline metric (if captured)
- Next step: `/hub:spawn` to launch agents
- Or `/hub:spawn {session-id}` if multiple sessions exist
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · alirezarezvani/claude-skills | 100 | MIT |
| chanukawijeratna-ai/claude-session-hub | 96 | MIT |
| Rafid-Bin-Sadeque/de-agent | 90 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki ae79f238b6b8 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100init
Tworzy nową sesję współpracy AgentHub z zadaniem, liczbą agentów i kryteriami oceny, do rywalizacji wielu agentów nad jednym zadaniem. - 100hub-run
Łączy w jedno wywołanie cały cykl AgentHub: inicjalizację, bazę, uruchomienie agentów, ocenę i scalenie, do pełnej rywalizacji agentów od początku do końca. - 100hub-status
Pokazuje stan grafu DAG, postęp agentów i status gałęzi sesji AgentHub, gdy trzeba sprawdzić, jak idzie agentom. - 100run
Uruchamia cały cykl konkursu AgentHub jednym poleceniem: inicjalizację, bazę, start agentów, ewaluację i scalenie wyników. - 90agent-hub-init
Tworzy profil agent-hub dla bieżącego projektu, żeby zespół agentów mógł się do niego dostroić. - 100agenthub
Uruchamia N równoległych subagentów konkurujących nad tym samym zadaniem w izolowanych git worktree, ocenia wyniki metryką lub sędzią LLM i scala zwycięską gałąź.