harbor-exec
БесплатноБез исполняемых скриптовНе проверенUse when working with Harbor's `harbor exec` CLI workflow: compiling files, directories, or globs into Harbor tasks; running map jobs; configuring artifacts…
от Arize-ai★ 12 510 звёзд на GitHubОб этом скилле
Harbor Exec
Overview
Use this skill to operate Harbor's harbor exec command. Treat harbor exec as agentic map-reduce: it turns loose inputs into Harbor tasks, runs Harbor jobs over those tasks, and optionally aggregates the results.
First Checks
Assume the user is running an installed Harbor CLI. Check the installed command surface before making claims:
harbor --version
harbor exec --help
Require Harbor >=0.17.1 for harbor exec. If harbor --version reports an older version, ask the user to upgrade before continuing.
Use --print-config when debugging config resolution, inferred artifacts, task/job directories, or defaults. Do not treat it as a substitute for showing the final launch command.
If the installed harbor command is not available, ask the user how they installed Harbor before guessing a command path.
Run Parameter Questions
Before running a Harbor Exec job, ask the user to confirm any unspecified run parameters:
- Inputs: exact paths/globs and whether to
--scanor--no-scan. - Artifact contract: output file paths the agent must write.
- Artifact schemas: required JSON or structured schema for each artifact.
- Environment provider: recommend cloud sandboxing over local
docker; suggestmodal,daytona, ore2b. - Agent and model for the map step.
- Concurrency count.
- Whether to include a reduce step, and if so which reduce agent and model to use.
- Final command: show the exact launch command before running it.
Usage Workflow
Prefer flags for one-off runs and --config for repeatable or map-reduce workflows.
Make artifacts explicit when correctness depends on generated files:
harbor exec -p ./input -i "Write /app/answer.json" -f /app/answer.json
Prefer explicit artifacts over auto-inferred artifacts. Auto-inference only reads inline instructions, not instruction files.
Do not persist compiled tasks by default. Omit --tasks-dir unless the user wants to inspect or reuse compiled tasks; when omitted, compiled tasks are ephemeral and cleaned up after execution.
Leave the job output location unset by default. Use --jobs-dir only when the user wants a specific output path; default is jobs.
Specify --scan or --no-scan when task cardinality matters. Current flags mode scans a single directory or glob by default, but multiple paths are grouped unless --scan is explicit.
Do not combine --config with flags mode options. Build the full ExecConfig in the file instead.
Map And Reduce
Map phase:
map.compiledefines task synthesis: instructions, copied paths, Docker image/workdir, artifacts, templates, and compile-time verifier generation.map.jobdefines execution: agent, model, environment provider, retries, attempts, concurrency, metrics, and job directory.
Reduce phase:
- Requires
map.compile.artifacts; the reducer consumes prior map trial artifacts staged underenvironment/artifacts. - Compiles exactly one reducer task.
- Inherits map job settings unless reducer-specific flags/config override them in flags mode.
- Should usually define reducer artifacts explicitly, then verify them.
Examples
Read references/examples.md when writing concrete commands, config files, or map-reduce examples.
Установить harbor-exec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл harbor-exec?
Use when working with Harbor's `harbor exec` CLI workflow: compiling files, directories, or globs into Harbor tasks; running map jobs; configuring artifacts and existence-only verification; using map-reduce; writing or reviewing ExecConfig YAML/JSON/TOML; or debugging command behavior, config validation, and job outputs.
Как установить скилл harbor-exec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл harbor-exec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic