hub-init
Use for /hub-init, or to start an AgentHub competition: task, agent count and evaluation criteria.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install alirezarezvani-hub-initManual setup by platform
Claude Code
~/.claude/skills/alirezarezvani-hub-init/SKILL.md
Instructions
/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-init # Interactive mode
/hub-init --task "Optimize API" --agents 3 --eval "pytest bench.py" --metric p50_ms --direction lower
/hub-init --task "Refactor auth" --agents 2 # No eval (LLM judge mode)
What It Does
If arguments provided
Pass them to the init script:
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:
- Task β What should the agents do? (required)
- Agent count β How many parallel agents? (default: 3)
- Eval command β Command to measure results (optional β skip for LLM judge mode)
- Metric name β What metric to extract from eval output (required if eval command given)
- Direction β Is lower or higher better? (required if metric given)
- 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 /agenthub: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 /agenthub:spawn to launch 3 agents
Baseline Capture
If --eval was provided, capture a baseline measurement after session creation:
- Run the eval command in the current working directory
- Extract the metric value from stdout
- Append
baseline: {value}to.agenthub/sessions/{session-id}/config.yaml - 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:
/agenthub:spawnto launch agents - Or
/agenthub:spawn {session-id}if multiple sessions exist
Security
Reviews (0)
Related skills
Browse all βMore from Multi-Domain Skills
View source βMore Build skills
Browse category βFrequently asked questions about hub-init
What does the hub-init skill do?
Use for /hub-init, or to start an AgentHub competition: task, agent count and evaluation criteria. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the hub-init skill?
Run `npx @skills-hub-ai/cli install alirezarezvani-hub-init` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/alirezarezvani-hub-init/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does hub-init work with?
hub-init runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the hub-init skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use hub-init after installing it?
In Claude Code, type `/alirezarezvani-hub-init` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the hub-init skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.