harness

harness is a skill for Claude Code from ericrisco/rsc-harness. It costs 94 tokens per session (6,005 once invoked), scanned B, original, MIT.

A workspace operating system for keeping tools, documents, credentials, and knowledge organized and usable. It also processes incoming files into a linked, searchable wiki.

In plain words
What is it for?
Use it to organize provider tools, migrate old folders, ingest documents, maintain workspace guidance files, and track missing or processed knowledge.
Why use it?
It prevents operational files and notes from becoming scattered, outdated, or difficult to understand.

Skill for Claude Code

Written for Claude Code: PreCompact hook event. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ericrisco/rsc-harness/harness
Any agent
npx skills add ericrisco/rsc-harness --skill harness
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

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 harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericrisco/rsc-harness/harness.svg)](https://agentmods.dev/skills/ericrisco/rsc-harness/harness)
Your own site
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/harness"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/harness.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,005 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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.00094 $0.06005
Opus 5 $0.00047 $0.03002
Sonnet 5 $0.00019 $0.01201
Haiku 4.5 $0.00009 $0.00600

Measured 2d ago against content hash 71f94b665a8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

harness scanned grade B with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/_TEMPLATE/test_connection.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

echo " Debian/Ubuntu: sudo apt install python3"
skills/harness/SKILL.md · 302 lines

How it starts

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

Harness — the workspace control plane

The harness is the control plane of a workspace. A workspace need not be code: it can be a company, an ops desk, a legal archive, a personal knowledge vault. Whatever it is, the harness is the durable apparatus that keeps it operable and legible, made of three parts:

  • 01-TOOLS/<PROVIDER>/ — the operational tooling layer. One folder per external provider, co-locating credentials (.env) with the scripts that consume them. Each tool ships a working test_connection against the real API.

  • 02-DOCS/ — the Karpathy chaos→knowledge engine: a domain-agnostic LLM wiki (inbox/, raw/, raw/worklog/, wiki/ with its index.md / log.md / gaps.md / scores.json and .base views), embedded in this skill — no external sub-skill required.

    Two on-ramps feed it. Ingest: the user drops any file in any format into inbox/, and the Auto-Ingest Sweep extracts, classifies, cross-links and compiles it — then goes for a walk, discovering un-ingested documents anywhere in the workspace, bounded by .rscignore (baseline: references/ingest-ignore-defaults.md) and de-duplicated through the wiki/.ingested.json ledger. Worklog: every meaningful session of work is itself a raw source in raw/worklog/, captured on PreCompact/SessionEnd, at a commit milestone, or by the daily curation pass.

    Ingest relocates, never deletes: a loose file at the workspace root moves into raw/; a file inside a folder the user maintains is copied, and consolidating that folder needs explicit consent.

    The wiki/ is simultaneously an OKF-v0.1 bundle (Open Knowledge Format) and an Obsidian-native vault: markdown links, YAML frontmatter, readable filenames, .base views giving a real graph and live tables. Structure, not vector DB / embeddings / RAG. The agent writes it; the human reads it in Obsidian. Topics are inferred from content (finanzas/, legal/, crm/…), never hardcoded.

    It compounds on its own: every Ingest, Sweep and Query triggers a Maintenance Pass (lint, score recomputation, gap detection, Related sweep), a Micro-Improve runs every N interactions, and Deep Improve runs on request or on the daily schedule (references/daily-curation-automation.md — on Claude Code, wire it via the schedule skill). Protocol → references/wiki-protocol.md; formats → references/ingest-formats.md; capture → references/wiki-worklog-template.md; vault → references/obsidian-scaffolding.md.

  • The Knowledge map — the ## Knowledge map section of the root CLAUDE.md that indexes the wiki (including the harness/ topic) and is read by every other skill before it works in its area.

harness is the protagonist concept. init is the bootstrap front door — it gauges the user, drafts the profile, and hands off the first scaffold. THIS skill (harness) is the ongoing control: it audits, migrates, scaffolds, sweeps the inbox, and keeps the wiki, the tooling and the Knowledge map honest over the life of the workspace. It also generates root CLAUDE.md and AGENTS.md, and migrates legacy XX-* numbered folders into the canonical layout.

Read the full file on GitHub · 302 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. 2d ago First seen · 302 lines · 94 tokens per session scan B 71f94b665a8c

Subscribe to this mod's changes

harness is a skill published in the GitHub repository ericrisco/rsc-harness (65 stars, last pushed today), licensed MIT. It adds 94 tokens to every session and 6,005 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

confluence

Operational skill for Confluence: spaces, page trees, macros, labels, permissions, and REST content updates.

alivirgo/Major-AI-Skills · 25 tokens

moai-workflow-spec

SPEC workflow orchestration with EARS format requirements, acceptance criteria, and Plan-Run-Sync integration for MoAI-ADK development. Use when creating SPEC documents or defining acceptance criteria.

modu-ai/moai-adk · 44 tokens

moai-workflow-worktree

Git worktree management for parallel SPEC development with isolated workspaces, automatic branch registration, and seamless MoAI-ADK integration. Use when setting up parallel development environments.

modu-ai/moai-adk · 41 tokens

moai-kanban-foreman

One unattended kanban foreman iteration: watch the backlog queue, dispatch the next operator-picked card to an isolated worker, collect completion evidence on read (not on claims), and report. This is the body the project's loop.md driver invokes each iteration of a bare /loop; it can also be invoked directly to test…

modu-ai/moai-adk · 76 tokens

starting-a-new-project

Use when the workspace is empty — no code yet — and the user brings a raw idea: the brand-new branch of setting-up-a-project, normally reached via that dispatcher, directly only when the situation is unmistakable. Not for features in an existing project — use brainstorming instead.

JetBrains/thinkrail · 61 tokens

moai-workflow-templates

Template management system for code boilerplates, feedback templates, scaffolding, and project optimization workflows. Use when creating templates, generating boilerplate files, or managing scaffolding.

modu-ai/moai-adk · 41 tokens