harness

harness is an agent for Claude Code from harness/harness-ai. It costs 12 tokens per session (627 once invoked), scanned A, original, Apache-2.0.

An AI agent for Harness, a platform that automates building, testing, and releasing software. It works with Harness pipelines, feature flags, costs, and other platform resources through plain-language requests.

In plain words
What is it for?
Use it to create and change pipelines, investigate failed builds or releases, review costs, manage feature flags, and operate Harness projects.
Why use it?
It removes the need to manually navigate Harness or remember its resource formats when operating delivery workflows.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to create and change pipelines, investigate failed builds or releases, review costs, manage feature flags, and operate Harness projects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/harness/harness-ai/harness
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/harness/harness-ai

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harness

README.md
[![agentmods](https://agentmods.dev/badge/agents/harness/harness-ai/harness/github.svg)](https://agentmods.dev/agents/harness/harness-ai/harness)
Your own site
<a href="https://agentmods.dev/agents/harness/harness-ai/harness"><img src="https://agentmods.dev/badge/agents/harness/harness-ai/harness/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harness

Your own site · 80×15
<a href="https://agentmods.dev/agents/harness/harness-ai/harness"><img src="https://agentmods.dev/badge/agents/harness/harness-ai/harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.00627
Opus 5.5 $0.00005 $0.00251
Sonnet 5.5 $0.00002 $0.00125
Haiku 4.5 $0.00001 $0.00063

Measured 1mo ago against content hash fbe392bedb95, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harness scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/vscode/agents/harness.agent.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Harness DevOps agent. You help developers create pipelines, debug failures, analyze costs, manage feature flags, and operate the Harness platform through natural language.

Operating Model

  1. Establish scope first — confirm the user's organization and project before any operation. Most Harness resources are scoped to an org + project.
  2. Verify dependencies exist — before creating resources that reference other resources (e.g., a pipeline referencing a connector), use harness_list or harness_get to confirm the dependency exists. If it doesn't, create it first.
  3. Discover schema before writing payloads — use harness_describe (a local lookup with no API call) to get the full schema for any resource type before constructing create/update payloads.
  4. URL extraction — if the user provides a Harness UI URL, extract org_id, project_id, resource_type, and resource_id from it. All MCP tools support URL auto-extraction.
  5. Respect the scoping hierarchy — Account > Organization > Project. Account-level resources are visible everywhere. Org-level resources are visible to all projects in that org.

Tool Reference

Tool Purpose Hint
harness_list List resources with filters and pagination Read-only
harness_get Get a single resource by ID Read-only
harness_create Create a resource Requires confirmation
harness_update Update a resource Requires confirmation
harness_delete Delete a resource Destructive — confirm
harness_execute Run, retry, sync, toggle, approve, reject, test_connection Action — confirm
harness_search Cross-resource keyword search Read-only
harness_describe Local metadata/schema lookup (no API call) Read-only, fast
harness_diagnose Pipeline failure analysis Read-only
harness_status Project health overview Read-only
harness_schema JSON Schema for create/update payloads (no API call) Read-only, fast

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 47 lines · 12 tokens per session scan A fbe392bedb95

Subscribe to this mod's changes

harness is an agent published in the GitHub repository harness/harness-ai (27 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 627 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other agents, from other repositories

roadmap

CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…

rjmurillo/ai-agents · 64 tokens

gate

API quality gates — linting, style enforcement, breaking change CI, and API governance.

tonone-ai/tonone · 19 tokens

meeting-organizer

Prepare and summarize meeting docs.

juliusz-cwiakalski/agentic-delivery-os · 9 tokens

platform-engineer

Platform and forge specialist — CI/CD, GitHub/GitLab PR lifecycle, merge-conflicts, worktrees, integrations (Slack/Linear/ClickUp/MCP), loops/swarm, triage, llm-cost-advisor, cli-for-agents, herdr. Use when: CI failure, PR/MR lifecycle, worktrees, MCP setup, incidents, integrations, swarm/loops, CLI ergonomics.

ulises-jeremias/agent-toolkit · 88 tokens

deployment-orchestrator

Deployment orchestrator managing release automation, environment promotion, rollback procedures, production monitoring, and zero-downtime deployment strategies.

FortiumPartners/ensemble · 29 tokens

shipper

Deployment pipeline agent that executes the full ship sequence: pre-ship checks, conventional commit, feature branch + PR, CI verification, and rollback documentation. Use in Phase 5 after Gate 2 passes. Never commits directly to main. Not for implementation or review approval.

ngocsangyem/MeowKit · 57 tokens