harnesses

harnesses is a command for Claude Code from akka/ai-marketplace. It costs 44 tokens per session (2,082 once invoked), scanned A, original, Apache-2.0.

A generator for project-specific enterprise configuration, such as continuous-integration workflows, security scanner settings, software-supply-chain checks, and content rules.

In plain words
What is it for?
Use it to create configuration under the harnesses directory, record it in the lock file, and submit each item for approval.
Why use it?
It removes the need to create these setup files by hand and records each generated item so it can be reviewed and checked.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the akka plugin — 12 skills, 9 commands, 1 MCP server shipped together

Good fit Use it to create configuration under the harnesses directory, record it in the lock file, and submit each item for approval.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/akka/ai-marketplace/harnesses
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/akka/ai-marketplace

Made for: Claude Code.

Or install akka, the plugin that ships this one along with the rest of its 12 skills, 9 commands, 1 MCP server.

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 harnesses

README.md
[![agentmods](https://agentmods.dev/badge/commands/akka/ai-marketplace/harnesses/github.svg)](https://agentmods.dev/commands/akka/ai-marketplace/harnesses)
Your own site
<a href="https://agentmods.dev/commands/akka/ai-marketplace/harnesses"><img src="https://agentmods.dev/badge/commands/akka/ai-marketplace/harnesses/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 harnesses

Your own site · 80×15
<a href="https://agentmods.dev/commands/akka/ai-marketplace/harnesses"><img src="https://agentmods.dev/badge/commands/akka/ai-marketplace/harnesses.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,082 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.00044 $0.02082
Opus 5 $0.00022 $0.01041
Sonnet 5 $0.00009 $0.00416
Haiku 4.5 $0.00004 $0.00208

Measured 9d ago against content hash ff161ae05516, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

harnesses 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 9d 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/akka/commands/harnesses.md · 140 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Purpose

/akka:harnesses is a generator. It writes the enterprise-configuration assets a project needs — CI workflows, scanner configs, supply-chain steps, content style packages — into /harnesses/<surface>/, records what it generated in .akka/harnesses.lock, and surfaces each asset for approval. The engine does not generate anything and does not call a model: generation lives here in the assistant; the engine detects surfaces, verifies the generated assets deterministically, and records attestations you submit. This command is paired with the harness exit-condition family (activated / configured / attested), the same way /akka:specify is paired with the functional and data-integrity family.

The three auditor kinds

Every required surface resolves as one of three kinds. Which one it is decides whether you generate an asset and how the engine verifies it.

Kind Where the check runs Asset generated How it resolves
Introspective the project's own tree (a compiler, test runner, linter, prose linter over docs/) none verified locally — green or red
Provisioned a generated asset (a CI workflow, scanner config, IaC module, style package) wired to an external system yes — one per surface under /harnesses/<surface>/ verified where inspectable — present, correct, and enforcing — otherwise open with the tool or environment gap named
Delegated a check that runs only in an external system, or needs a judgment the engine cannot make a config stub, optional resolved by an attestation you submit; otherwise stays open with needs-user-action until the receipt is recorded

Outline

  1. Detect the required surfaces. Read the policy's required_surfaces (the enterprise-mandated set: SAST, secret scanning, SBOM, signing, identity, and so on). Detect the project's own surfaces from tree markers (a GitHub directory, pom.xml, package.json, go.mod). The gap is the set of required surfaces with no covering harness. Introspective surfaces (a coverage gate a local tool already runs) need no asset — note them and move on.

Read the full file on GitHub · 140 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. 9d ago First seen · 140 lines · 44 tokens per session scan A ff161ae05516

Subscribe to this mod's changes

harnesses is a command published in the GitHub repository akka/ai-marketplace (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 2,082 once invoked, about $0.0002 per session on Opus 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-08-31.