/work-automation:harness-automationfrom work-automation
Automates Harness platform operations including CI/CD pipelines, PR workflows, deployments, feature flags, GitOps, and IaCM. Uses MCP tools or hc CLI.
Ships in work-automation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Universal patterns for Harness platform operations. Project-agnostic — all account/org/project IDs come from environment or explicit arguments.
mcp__harness__* tools (if MCP harness is installed — preferred).hc CLI (fallback for local dev).curl (last resort).mcp__harness__harness_list # List resources (pipelines, PRs, deployments, repos)
mcp__harness__harness_get # Get specific resource
mcp__harness__harness_describe # Detailed description
mcp__harness__harness_execute # Trigger pipeline
mcp__harness__harness_status # Execution status
mcp__harness__harness_search # Cross-resource search
mcp__harness__harness_create # Create resource
mcp__harness__harness_update # Modify
mcp__harness__harness_delete # Remove
mcp__harness__harness_diagnose # Troubleshoot failures
mcp__harness__harness_schema # Pull schemas for YAML authoring
Harness resource identifiers:
account — tenant-wide (env HARNESS_ACCOUNT).org — organization (env HARNESS_ORG, default default).project — logical grouping (passed per-call).identifier — resource ID inside project.Never hard-code these in scripts. Read from env or parameters.
For services emitting container images:
{service}-{version}-{sanitized-branch}-{short-sha}-{YYYYMMDDHHMMSS}
Immutable. Never :latest. Tag is computed by CI template, not by the caller.
repos/*/harness/templates/ (or equivalent shared-templates repo) for an existing template.template: include — do not inline.mcp__harness__harness_execute
project: <project>
pipeline: <identifier>
inputs: { branch: "feature/foo" }
# Poll status
mcp__harness__harness_status
execution-id: <from previous>
mcp__harness__harness_list
resource: executions
project: <project>
pipeline: <identifier>
limit: 10
mcp__harness__harness_create
resource: pull-request
repo: <repo-identifier>
source: <branch>
target: main
title: "..."
body: "Refs <JIRA-KEY>"
git checkout -b <type>/<jira-key>-<slug>.Refs <JIRA-KEY> in body.git push -u origin <branch>.harness_create or hc pr create.harness_status.For PowerShell-based projects (e.g., tenant-management-kit):
steps:
- step:
type: Run
name: Run all tests
spec:
command: pwsh -File tools/run-all-tests.ps1
- step:
type: Run
name: Validate policies
spec:
command: pwsh -File tools/validate-all-policies.ps1
--no-verify.main / master.mcp__harness__harness_diagnose
execution-id: <failed execution>
Returns structured failure analysis. For connector failures, check mcp__harness__harness_get resource: connectors — credentials expire silently.
skills/claude-code-automation — headless mode for CI gatekeepers.skills/work-unit-protocol — Section 20 verification includes pipeline green.plugin: harness-platform — installed separately, provides richer operations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/claude-code-automationUniversal reference for Claude Code automation surface — hooks, skills, plugins, sub-agents, agent teams, MCP, scheduled tasks, channels, routines, headless/SDK, checkpointing, permissions. Invoke when designing automations that leverage Claude Code features or when user asks "how do I automate X with Claude Code"./work-unit-protocolUse when starting, tracking, or closing a discrete unit of work. Enforces ULTRA §13 reporting contract — what/why/tests/deps/reuse/risks/follow-ups/completion table. Invoke when user says "start work unit", "close work unit", "work unit report", or when a multi-step implementation task begins.npx claudepluginhub thelobbi/claude --plugin work-automationOther plugins' skills for the same job