MCPInstall

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.

Installs
87
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/harbor-framework/harbor --skill harbor-exec
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads harbor-exec automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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 --scan or --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; suggest modal, daytona, or e2b.
  • 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.compile defines task synthesis: instructions, copied paths, Docker image/workdir, artifacts, templates, and compile-time verifier generation.
  • map.job defines 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 under environment/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.

FAQ

What does the harbor-exec skill do?

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.

How do I install harbor-exec?

Run npx skills add https://github.com/harbor-framework/harbor --skill harbor-exec in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/harbor-exec/ (personal) or .claude/skills/harbor-exec/ (project).

Which AI agents can use harbor-exec?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is harbor-exec safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains harbor-exec?

It is published by harbor-framework in harbor-framework/harbor. It has 87 recorded installs.

More from harbor-framework/harbor

View all →

rewardkit

harbor-framework/harbor

Write Harbor task verifiers using Reward Kit. Use when creating or editing a task's tests/ directory, adding grading criteria, setting up LLM/agent judges, or designing verifiers that produce a reward score.

create-task

harbor-framework/harbor

Create a new Harbor task for evaluating agents. Use when the user wants to scaffold, build, or design a new task, benchmark problem, or eval. Guides through instruction writing, environment setup, verifier design (pytest vs Reward Kit vs custom), and solution scripting.

publish

harbor-framework/harbor

Open the skill to read its SKILL.md instructions.

195 installs

create-adapter

harbor-framework/harbor

Open the skill to read its SKILL.md instructions.

103 installs

upload-parity-experiments

harbor-framework/harbor

Open the skill to read its SKILL.md instructions.

64 installs

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.