repoforge: Skill for Claude Code

.claude/skills/build_modules/harness/SKILL.md

extend-harness-module is a skill for Claude Code from JNZader/repoforge. It costs 28 tokens per session (863 once invoked), scanned A, original, MIT.

A guide for running the harness module directly by adding its parent directory to the program's search path. A harness is code that runs or supports tests and evaluations.

In plain words
What is it for?
Use it when running the harness directly or generating FastAPI CRUD modules and Next.js page modules.
Why use it?
It helps standalone harness runs find the modules they need without depending on the current working directory.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is JNZader/repoforge's own configuration. It tells Claude Code how to work on repoforge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything repoforge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JNZader/repoforge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JNZader/repoforge/main/.claude/skills/build_modules/harness/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JNZader/repoforge

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 extend-harness-module

README.md
[![agentmods](https://agentmods.dev/badge/skills/jnzader/repoforge/harness/github.svg)](https://agentmods.dev/skills/jnzader/repoforge/harness)
Your own site
<a href="https://agentmods.dev/skills/jnzader/repoforge/harness"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/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 extend-harness-module

Your own site · 80×15
<a href="https://agentmods.dev/skills/jnzader/repoforge/harness"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 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.00028 $0.00863
Opus 5.5 $0.00011 $0.00345
Sonnet 5.5 $0.00006 $0.00173
Haiku 4.5 $0.00003 $0.00086

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

Security

Grade A, and why

extend-harness-module 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 2mo 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.

.claude/skills/build_modules/harness/SKILL.md · 106 lines

How it starts

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

extend-harness-module

Add parent directory to path when running eval scripts directly.

Trigger: executing eval/harness.py as main script or importing from repoforge/cli.py

Quick Reference

Task Pattern
Add parent to sys.path sys.path.insert(0, '..')
Run eval harness python -m eval.harness
Execute scenario python -m eval.harness run_scenario --scenario model --verbose

Critical Patterns (Summary)

  • Add parent to path: Insert '..' into sys.path before importing harness modules when running scripts directly
  • Use run_scenario: Call run_scenario() with scenario name to execute evaluation with optional LLM and verbose output

Critical Patterns (Detailed)

Add parent to path

When running eval/harness.py directly, the module's parent directory must be added to sys.path to resolve sibling imports. This pattern uses pathlib.Path to dynamically resolve the project root and insert it into the path, ensuring all harness exports (make_fastapi_crud_module, score_trigger_precision, etc.) are accessible.

import sys
from pathlib import Path

# Add parent directory to path for direct script execution
project_root = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(project_root))

# Now imports from the module work
from eval.harness import make_fastapi_crud_module, run_scenario

Use run_scenario to execute evaluations

The run_scenario function orchestrates a single evaluation run with optional LLM integration. It accepts a scenario name, optional LLM instance, verbose flag, and facts dictionary. The function returns an EvalResult containing scores for trigger precision, code concreteness, pattern detection, and multilang coverage, enabling automated evaluation of LLM outputs against expected module patterns.

from eval.harness import run_scenario

result = run_scenario(
    scenario_name="model",
    verbose=True,
    facts=["extracted_fact_1", "extracted_fact_2"]
)
print(f"Trigger precision: {result.score_trigger_precision}")
print(f"Code concreteness: {result.score_code_concreteness}")

Read the full file on GitHub · 106 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. 2mo ago Changed · +7 lines · -9 tokens per session 4eebdf6fc3ea
  2. 2mo ago Changed · +16 lines · +3 tokens per session 1c9853132caa
  3. 3mo ago First seen · 83 lines · 34 tokens per session scan A 5f3ec37f4e64

Subscribe to this mod's changes

extend-harness-module is a skill published in the GitHub repository JNZader/repoforge (4 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 863 once invoked, about $0.0001 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-08-31.

Related

extend-harness-module compared with skills from other repositories

extend-harness-module next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extend-harness-moduleJNZader/repoforgeSkill42mo agoMITA28Claude Code
datamolsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A67Claude Code, Codex
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex
esmsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A86Claude Code, Codex
openalex-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
glycoengineeringsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A75Claude Code, Codex
pysamsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex