repoforge: Skill for Claude Code

.claude/skills/main/harness/SKILL.md

add-harness-parent-path is a skill for Claude Code from JNZader/repoforge. It costs 34 tokens per session (451 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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python repoforge/cli.py run.

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/main/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 add-harness-parent-path

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 add-harness-parent-path

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 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 451 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.00034 $0.00451
Opus 5 $0.00017 $0.00226
Sonnet 5 $0.00007 $0.00090
Haiku 4.5 $0.00003 $0.00045

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

Security

Grade A, and why

add-harness-parent-path 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 8d 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/main/harness/SKILL.md · 83 lines

What it actually says

add-harness-parent-path

This skill covers adding the parent directory to the path when running the harness directly.

Trigger: When using the harness module in a standalone context.

Quick Reference

Task Pattern
Create FastAPI CRUD module make_fastapi_crud_module
Create Next.js page module make_nextjs_page_module

Critical Patterns (Summary)

  • Create FastAPI CRUD module: Generates a CRUD module for FastAPI.
  • Create Next.js page module: Generates a page module for Next.js.

Critical Patterns (Detailed)

Create FastAPI CRUD module

Generates a CRUD module for FastAPI, allowing for quick API development.

from eval.harness import make_fastapi_crud_module

module = make_fastapi_crud_module("User")

Create Next.js page module

Generates a page module for Next.js, facilitating frontend development.

from eval.harness import make_nextjs_page_module

module = make_nextjs_page_module("HomePage")

When to Use

  • When developing a new FastAPI service and needing CRUD operations.
  • When creating a new page in a Next.js application.

Commands

python repoforge/cli.py run

Anti-Patterns

Don't: Hardcode paths

Hardcoding paths can lead to issues with portability and maintainability.

# BAD
import sys
sys.path.append('/absolute/path/to/harness')
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. 8d ago First seen · 83 lines · 34 tokens per session scan A 5f3ec37f4e64

Subscribe to this mod's changes

add-harness-parent-path is a skill published in the GitHub repository JNZader/repoforge (5 stars, last pushed 14d ago), licensed MIT. It adds 34 tokens to every session and 451 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.

Related

Other skills, from other repositories

tmux-manual-qa

Run a single manual tmux-based QA scenario for the todo continuation feature against the real CLI (./pi-test.sh) in an interactive TUI. Captures scrollback, asserts deterministic pass/fail count markers, and cleans up test fixtures. Use only for the manual-qa milestone features.

code-yeongyu/senpi · 66 tokens

pi-package-sandbox-test

Use when verifying that published Pi packages install and load for normal users, including pi.dev package compatibility checks, release validation, Daytona sandbox tests, and package installability audits.

spences10/my-pi · 40 tokens

agent-eval

Use when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual recall) or agent trajectories (tool correctness, completion), or picking an eval framework. NOT building the agent loop, tools or RAG…

ericrisco/rsc-harness · 79 tokens

pi-validation-flow

Use when validating Pi monorepo changes after editing TypeScript, Svelte, package manifests, built-in registry, tests, repo tooling, skills, or docs.

spences10/my-pi · 37 tokens

eval

Quality and performance evaluation with baseline comparison. Sub-modes: correctness, performance, quality, regression. Outputs PASS/WARN/FAIL per dimension. Use for pre-ship evaluation or regression checks.

epicsagas/epic-harness · 41 tokens

go

Go phase. Reads the approved SPEC file, maps Requirements to tasks (plan), executes via TDD (build), and integrates results verifying all Acceptance Criteria.

epicsagas/epic-harness · 33 tokens