본문으로 건너뛰기
Skillpedia
에이전트29k · #9531

hub-init

하는 일

이 스킬은 같은 작업을 여러 에이전트가 시도하는 새 세션을 설정합니다. 명확한 규칙으로 병렬 에이전트 경쟁을 시작하고 싶은 사람에게 맞습니다.

사용하는 경우

  • ✓여러 에이전트가 겨루는 새 경쟁을 시작하고 싶을 때.
  • ✓작업이 있고 몇 개의 에이전트가 시도할지 정하고 싶을 때.
  • ✓에이전트가 일을 시작하기 전에 결과를 어떻게 평가할지 정하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/hub-init/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 인증 모듈을 리팩터링하도록 에이전트 두 개로 AgentHub 세션을 시작해 주세요. 측정 기준은 두지 말고 AI 심사위원이 우승자를 고르게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 세션 폴더를 만들고 세션 ID를 생성한 뒤, 작업, 에이전트 수, 평가 설정을 저장합니다. 자세한 내용을 주지 않으면 항목마다 차례로 질문합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

/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:

  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 /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:

  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: /agenthub:spawn to launch agents
  • Or /agenthub:spawn {session-id} if multiple sessions exist
자주 묻는 질문

평가 명령이 없으면 어떻게 하나요?

건너뛸 수 있습니다. 그러면 세션이 AI 심사위원 모드로 우승자를 고릅니다.

기본 에이전트 수는 몇 개인가요?

다른 수를 고르지 않으면 세 개입니다.

어떤 기준 브랜치를 사용하나요?

다른 브랜치를 고르지 않으면 현재 브랜치를 사용합니다.

상세 정보

작성자의 원본 설명

Use for /hub-init, or to start an AgentHub competition: task, agent count and evaluation criteria.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9531
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬