# Repo Harness Assessment

> Use when evaluating an existing repository's agent-readiness, harness maturity, validation surfaces, source-of-truth docs, evidence artifacts, or next smallest harness improvement.

- **Type:** Skill
- **Install:** `agentstack add skill-yfge-agent-harness-skills-repo-harness-assessment`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [yfge](https://agentstack.voostack.com/s/yfge)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [yfge](https://github.com/yfge)
- **Source:** https://github.com/yfge/agent-harness-skills/tree/main/skills/repo-harness-assessment
- **Website:** https://github.com/yfge/agent-harness-skills

## Install

```sh
agentstack add skill-yfge-agent-harness-skills-repo-harness-assessment
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Repo Harness Assessment

## Overview

Assess how well a repository lets an agent understand rules, make safe changes, verify them, and produce reviewable evidence.

Use this skill to diagnose current harness maturity before proposing changes. For shared vocabulary and neutral artifact names, see `../../references/harness-patterns.md`; when expected harness files are missing, use `references/build-when-missing.md`.

## When To Use

- The user asks what harness pieces a repository is missing.
- You need to compare entrypoints, validation commands, runtime evidence, delivery records, or quality gates across repositories.
- You need to decide whether the next smallest improvement is an entrypoint, validation script, artifact bundle, ledger, contract check, or quality gate.

## Inputs Needed

- Repository root path.
- User scope: whole repository, one surface, docs-only work, runtime behavior, CI, or delivery flow.
- Any expected harness shape or maturity target the user names.

## Execution Order

- First: Read repository entrypoints and source-of-truth files, including `AGENTS.md`, README, architecture/reliability docs, indexes, CI, and scripts.
- Then: Check whether validation, evidence, collaboration records, task/design docs, and commit discipline have mechanical entrypoints.
- Finally: Report maturity, gaps, the smallest useful improvement slice, and what not to build yet.

## Step-by-Step Process

1. Use `rg --files` or `find` to list entrypoint files, docs, scripts, CI, and agent ledger locations.
2. Read the nearest agent instruction file and decide whether it is a high-signal navigation entrypoint rather than a project encyclopedia.
3. Search for `check_repo_harness`, `doctor`, `trace_run`, `quality`, `artifacts/runs`, `agent_chats`, and `tasks.md`.
4. Check for a stable validation matrix: docs, contracts, unit/type/lint, runtime, external-dependency, and CI.
5. Check whether failures can be traced through run IDs, request IDs, logs, screenshots, JSON/JUnit output, PRs, or commits.
6. If a layer is absent, define the minimum bootstrap artifact from `references/build-when-missing.md` before recommending broader work.
7. Compress gaps into no more than three next steps, ordered by value and risk.

## Checks

- File facts: entrypoint files exist and point to each other instead of duplicating drifting rules.
- Structure: there is a clear source of truth, directory boundary model, and no-new-drift rule.
- Validation: there is one local minimum command and one CI gate command.
- Evidence: a failure can be connected to logs, traces, screenshots, or runtime artifacts.
- Overbuild: do not recommend a full platform, broad scaffold, or cross-environment deployment system before the minimum slice is justified.

## Output Format

```markdown
# Repo Harness Assessment

## Detected Mapping
- entrypoint:
- work-state:
- ledger:
- validation:
- runtime-evidence:
- quality:

## Current State
- Agent entrypoint:
- Source-of-truth docs:
- Validation surface:
- Runtime evidence:
- Delivery/ledger:

## Gaps
1.
2.
3.

## Recommended Minimum Slice
- First:
- Then:
- Finally:

## Do Not Build Yet
-

## Validation Needed
-
```

## Common Mistakes

- Reducing harness maturity to "there are tests."
- Reading only README while ignoring scripts, CI, and real artifacts.
- Copying environment variables, ports, accounts, or private workflow details from one implementation into another.
- Producing a long wish list instead of a small, implementable improvement slice.

## Example Prompts

- "Assess what harness pieces this repository is missing."
- "Compare this repository against a mature run-artifact pattern."
- "Can an agent safely take over this project as it stands?"

## Source & license

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

- **Author:** [yfge](https://github.com/yfge)
- **Source:** [yfge/agent-harness-skills](https://github.com/yfge/agent-harness-skills)
- **License:** MIT
- **Homepage:** https://github.com/yfge/agent-harness-skills

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-yfge-agent-harness-skills-repo-harness-assessment
- Seller: https://agentstack.voostack.com/s/yfge
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
