AgentStack
MCP verified MIT Self-run

Swe Harness

mcp-andrey-learning-machines-swe-harness · by andrey-learning-machines

Portable SWE harness plugin for Codex and Claude Code

No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add mcp-andrey-learning-machines-swe-harness

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Swe Harness? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

SWE Harness

Software Engineering (SWE) Harness is a portable agent-harness package for people who want a production-grade coding-assistant operating loop in Codex or Claude Code.

It packages reusable skills, specialized agents, Model Context Protocol (MCP) guidance, install templates, acceptance harness templates, and safety checks. The goal is not to make an agent louder. The goal is to make the work loop clearer: understand the code, shape the specification, delegate bounded work, verify with evidence, and avoid leaking private configuration.

flowchart LR
  A["User request"] --> B{"Small local fix?"}
  B -- "Yes" --> C["Handle locally with targeted validation"]
  B -- "No" --> D["Specify intent and constraints"]
  D --> E["Route to specialist skill or agent"]
  E --> F["Implement or review with bounded ownership"]
  F --> G["Run deterministic checks"]
  G --> H["Return result, evidence, risks, and next step"]

What Is Included

  • A Codex plugin at plugins/swe-harness/ with .codex-plugin/plugin.json.
  • A Claude Code plugin at the same path with .claude-plugin/plugin.json.
  • A Codex marketplace catalog at .agents/plugins/marketplace.json.
  • A Claude Code marketplace catalog at .claude-plugin/marketplace.json.
  • Twenty-two reusable skills covering orchestration, code reading, testing,

security, frontend work, Playwright, Gherkin, Google Agent Development Kit work, Linear story creation, and Model Context Protocol (MCP) server design.

  • A first-class Specification Kit (Spec Kit) acceptance harness pattern that

connects feature specifications, Gherkin .feature files, Playwright tests, and story_matrix.py route or capability checks.

  • A Linear workflow that turns reviewed Gherkin scenarios into Linear user

stories through the official Linear MCP server.

  • Eight specialist agent definitions for architecture, development, quality and

security, DevOps, polyglot ramp-up, user interface design, frontend building, and user experience auditing.

  • Eight Codex custom-agent templates under templates/codex/agents/ with

OpenAI model routing for Codex subagents.

  • Local install and validation scripts.

Quick Install: Claude Code

claude plugin marketplace add andrey-learning-machines/swe-harness
claude plugin install swe-harness@swe-harness

For local development before a release:

claude --plugin-dir ./plugins/swe-harness

Quick Install: Codex

Clone the repository, then run:

./scripts/install-codex-local.py

That copies plugins/swe-harness to ~/plugins/swe-harness, installs Codex custom agents into ~/.codex/agents/, and adds a sanitized entry to ~/.agents/plugins/marketplace.json.

Validate

./scripts/validate-package.sh

The validator checks JSON manifests, required plugin files, skill frontmatter, secret patterns, private path leaks, and marketplace shape.

Attribution

The Unicorn Team orchestration concept and original Claude Code plugin are by AJ Geddes: . This repository credits that work in ATTRIBUTION.md and NOTICE.

Research Basis

  • Claude Code plugins use .claude-plugin/plugin.json and can contain

skills/, agents/, hooks, and Model Context Protocol (MCP) configuration.

  • Claude Code marketplaces are distributed from repositories with a root

.claude-plugin/marketplace.json.

  • Codex plugins use plugins//.codex-plugin/plugin.json plus optional

companion surfaces such as skills/, .app.json, .mcp.json, agents/, commands, and assets.

See docs/research.md for links and notes.

Acceptance Harness

The reusable acceptance workflow lives in docs/spec-kit-acceptance-harness.md. It includes templates under templates/harness/ for:

  • Gherkin feature files
  • Playwright acceptance tests
  • story_matrix.py route or capability checks
  • Linear story draft generation

Linear Workflow

The reusable Linear workflow lives in docs/linear-gherkin-workflow.md. It includes:

  • Linear Model Context Protocol (MCP) setup for Codex and Claude Code
  • Gherkin-to-Linear story draft generation
  • review-first and idempotent create-or-update rules
  • private credential and OAuth cache hygiene

Model Routing

Codex custom agents use OpenAI model identifiers in TOML files. Claude Code plugin agents use Markdown agent files and may use Claude model aliases. The current Codex model matrix and fallback policy live in docs/model-routing.md.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.