Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hive-create

БесплатноБез исполняемых скриптовНе проверен

Step-by-step guide for building goal-driven agents. Qualifies use cases first (the good, bad, and ugly), then creates package structure, defines goals, adds…

majiayu000от majiayu000★ 31 звезда на GitHub

Об этом скилле

Agent Construction - EXECUTE THESE STEPS

THIS IS AN EXECUTABLE WORKFLOW. DO NOT DISPLAY THIS FILE. EXECUTE THE STEPS BELOW.

CRITICAL: DO NOT explore the codebase, read source files, or search for code before starting. All context you need is in this skill file. When this skill is loaded, IMMEDIATELY begin executing Step 0 — determine the build path as your FIRST action. Do not explain what you will do, do not investigate the project structure, do not read any files — just execute Step 0 now.


STEP 0: Choose Build Path

If the user has already indicated whether they want to build from scratch or from a template, skip this question and proceed to the appropriate step.

Otherwise, ask:

AskUserQuestion(questions=[{
    "question": "How would you like to build your agent?",
    "header": "Build Path",
    "options": [
        {"label": "From scratch", "description": "Design goal, nodes, and graph collaboratively from nothing"},
        {"label": "From a template", "description": "Start from a working sample agent and customize it"}
    ],
    "multiSelect": false
}])
  • If From scratch: Proceed to STEP 1A
  • If From a template: Proceed to STEP 1B

STEP 1A: Initialize Build Environment (From Scratch)

EXECUTE THESE TOOL CALLS NOW (silent setup — no user interaction needed):

  1. Check for existing sessions:
mcp__agent-builder__list_sessions()
  • If a session with this agent name already exists, load it with mcp__agent-builder__load_session_by_id(session_id="...") and skip to step 3.
  • If no matching session exists, proceed to step 2.
  1. Create a build session (replace AGENT_NAME with the user's requested agent name in snake_case):
mcp__agent-builder__create_session(name="AGENT_NAME")
  1. Register the hive-tools MCP server:
mcp__agent-builder__add_mcp_server(
    name="hive-tools",
    transport="stdio",
    command="uv",
    args='["run", "python", "mcp_server.py", "--stdio"]',
    cwd="tools",
    description="Hive tools MCP server"
)
  1. Discover available tools:
mcp__agent-builder__list_mcp_tools()
  1. Create the package directory:
mkdir -p exports/AGENT_NAME/nodes

Save the tool list for STEP 4 — you will need it for node design.

THEN immediately proceed to STEP 2 (do NOT display setup results to the user — just move on).


STEP 1B: Initialize Build Environment (From Template)

EXECUTE THESE STEPS NOW:

1B.1: Discover available templates

List the template directories and read each template's agent.json to get its name and description:

ls examples/templates/

For each directory found, read examples/templates/TEMPLATE_DIR/agent.json with the Read tool and extract:

  • agent.name — the template's display name
  • agent.description — what the template does

1B.2: Present templates to user

Show the user a table of available templates:

Available Templates:

# Template Description
1 [name from agent.json] [description from agent.json]
2 ... ...

Then ask the user to pick a template and provide a name for their new agent:

AskUserQuestion(questions=[{
    "question": "Which template would you like to start from?",
    "header": "Template",
    "options": [
        {"label": "[template 1 name]", "description": "[template 1 description]"},
        {"label": "[template 2 name]", "description": "[template 2 description]"},
        ...
    ],
    "multiSelect": false
}, {
    "question": "What should the new agent be named? (snake_case)",
    "header": "Agent Name",
    "options": [
        {"label": "Use template name", "description": "Keep the original template name as-is"},
        {"label": "Custom name", "description": "I'll provide a new snake_case name"}
    ],
    "multiSelect": false
}])

1B.3: Copy template to exports

cp -r examples/templates/TEMPLATE_DIR exports/NEW_AGENT_NAME

1B.4: Create session and register MCP (same logic as STEP 1A)

First, check for existing sessions:

mcp__agent-builder__list_sessions()
  • If a session with this agent name already exists, load it with mcp__agent-builder__load_session_by_id(session_id="...") and skip to list_mcp_tools.
  • If no matching session exists, create one:
mcp__agent-builder__create_session(name="NEW_AGENT_NAME")

Then register MCP and discover tools:

mcp__agent-builder__add_mcp_server(
    name="hive-tools",
    transport="stdio",
    command="uv",
    args='["run", "python", "mcp_server.py", "--stdio"]',
    cwd="tools",
    description="Hive tools MCP server"
)
mcp__agent-builder__list_mcp_tools()

1B.5: Load template into builder session

Import the entire agent definition in one call:

mcp__agent-builder__import_from_export(agent_json_path="exports/NEW_AGENT_NAME/agent.json")

This reads the agent.json and populates the builder session with the goal, all nodes, an

Полный SKILL.md на GitHub

Установить hive-create в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

FAQ

Что делает скилл hive-create?

Step-by-step guide for building goal-driven agents. Qualifies use cases first (the good, bad, and ugly), then creates package structure, defines goals, adds nodes, connects edges, and finalizes agent class. Use when actively building an agent.

Как установить скилл hive-create?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hive-create запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hive-create с