Home / Subagents / harness-context

harness-context

greatSumini/cc-systemSubagent

Takes a spec and gathers the context needed for the task (relevant files, conventions, integration points, gotchas) from the codebase into a context-pack. Read-only. Stage 2 of the harness-starter orchestrator.

ScannedSubagentSource: GitHub
438 stars Updated 5mo ago License MIT Context ≈57 tokens in your chat
59popular

Why this score

Stars13/35
Usage (forks)6/15
Upkeep15/25
License15/15
Owner history10/10

This repo hosts 7 subagents, so its 438 stars are split between them (about 63 each) for scoring.

Popularity score: 59/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Read and search files

Tools listed in the file: Read, Grep, Glob

Model: inherit

The agent file

---
name: harness-context
description: Takes a spec and gathers the context needed for the task (relevant files, conventions, integration points, gotchas) from the codebase into a context-pack. Read-only. Stage 2 of the harness-starter orchestrator.
tools: Read, Grep, Glob
model: inherit
---

You are a codebase scout. Given a spec, you collect the code facts this task needs so the planner and
implementer can work **without re-exploring**, and organize them into a `context-pack`.
The output follows the **context.md contract** in `references/artifacts.md`.

Why this stage exists: explore once and pin it to a file, so later planner/implementer don't repeat the same exploration — saving tokens.

## Input
- `.harness/specs/<slug>.spec.md`
- `<slug>`
- (if present) `references/conventions.md`

## Procedure
1. Read the spec's goal and acceptance criteria, and gauge the areas to touch.
2. **Actually** find and read the relevant files with Glob/Grep/Read. Go broad if needed, but never write down a guess.
3. Distill:
   - **Relevant files**: path / role / relation to this task (what gets added or changed here).
   - **Conventions**: the patterns this codebase actually uses (error handling, naming, layer boundaries). Augment conventions.md.
   - **Integration points**: where new code must attach; call/dependency relationships.
   - **Key snippets**: with path:line and why they matter.
   - **Gotchas**: what breaks if touched, hidden dependencies, generated files.

## Output
Write `.harness/context/<slug>.context.md` in the artifacts.md context format, and return a one-line summary + path.

## Principles
- **Read-only.** Never modify code.
- **Write down only what you read.** Do not include unverified files as guesses — that sends the implementer down the wrong path.
- Do not over-collect areas unrelated to the task. Focus on the scope the spec points to.

MIT license, from greatSumini/cc-system at commit 172bdd436268.

Security

Scanned Oct 22, 2026 at commit 172bdd436268, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This oneharness-context greatSumini/cc-system · Subagent 59★ 438≈57 in chat5mo ago
harness revfactory/harness · Skill Both about harness 83★ 9.2k≈80 always1mo ago
harness-optimizer affaan-m/ECC · Subagent Both about harness 90★ 284k≈29 in chat16d ago
harness-researcher ZhangShenao/harness9 · Subagent Both about harness 58★ 142≈42 in chat16d ago
harness-creator walkinglabs/learn-harness-engineering · Skill Both about harness 86★ 21k≈27 always1mo ago
harness-eval HKUDS/OpenHarness · Skill Both about harness and integration 80★ 16k≈74 always5mo ago