rsc-harness
You build the product. rsc-harness builds its harness.

Keep your project knowledge, skills and working rules together across the assistants you already use.
Start with your goal. Review what rsc proposes to install. Accept the plan before it changes your project.
MIT licensed · project-local setup · 19 assistant targets
Give this URL to your agent and paste the request in the chat:
Read https://ericrisco.github.io/rsc-harness/ and set up rsc for this project.
Ask me the onboarding questions, show me the exact plan, and wait for my acceptance before writing.
Or start from the terminal:
npx @ericrisco/rsc@latest onboard
Your project has a way of working. Give it to your agent.
A new chat should not make you reconstruct the stack, explain yesterday's decision and remember which
files must stay untouched. Putting every instruction into one giant prompt creates a different problem:
the important details compete with rules that have nothing to do with today's task.
Hand-built setups can become a Frankenstein harness: duplicated instructions, unrelated skills,
premature hooks and unnecessary MCP connections. Open standards cover individual pieces
(Agent Skills, MCP,
AGENTS.md). Your project still needs someone to choose and maintain the right pieces.
rsc-harness makes that choice explicit. It reads evidence within your project root, asks about your goal
and assistants, and prepares a plan you can inspect before applying it.
See the plan before you install
Every component has a disposition:
| In your plan |
What it means |
| Selected |
There is a reason to install it for this project now. |
| Deferred |
It may become useful; the plan records what evidence would justify adding it. |
| Excluded |
It does not belong in the proposed setup. |
You accept the exact plan. If project evidence changes before acceptance, rsc asks you to review a
fresh plan. Later, rsc reassess reports new needs without silently installing them.
Why documentation comes first
The decisions your agent needs should have a place to live outside the chat.
| Part of the harness |
What you get |
| Knowledge |
A local 02-DOCS/ wiki for project context, decisions and evidence. |
| Tools |
A 01-TOOLS/ convention for documenting real connections and their checks. |
| Skills |
A selection from 273 available skills, loaded progressively when relevant. |
| Controls |
Working rules and provider-specific hooks, with explicit support limits. |
The mechanism is practical: keep the decision, make it discoverable, and have the next task consult it.
That gives the agent a maintained source to work from. It does not make an outdated note correct or
remove the need to check the result.
A day with rsc
- Describe the project. Choose the assistants you use and how technical the conversation should be.
- Review the setup. See each proposed component and its reason, then accept the plan you want applied.
- Ask for the work. The agent names the appropriate lane: an answer, a focused change (FTD), or the
specification-led chain (ASDD) for decisions that affect each other.
- Keep the result and its evidence. Project knowledge goes into
02-DOCS/; implementation stays in
your code. Future sessions can consult both.
Is this for your project?
Use rsc when you already work with an assistant and want a coherent project setup you can inspect,
share and maintain. It can equip software projects and business workflows; the catalog includes both.
You keep your editor, model and existing project. rsc supplies the harness around them. Provider
features differ: check supported assistants before relying on a particular
hook or memory feature. Model and external-service costs remain with their providers.
For a one-off question, a maintained project harness may be unnecessary. You can also install an
individual skill into an existing rsc project rather than adopt a whole workflow.
Install in one minute
npx @ericrisco/rsc@latest onboard
The first run asks one question about conversation (technical, or with analogies), then what the
project is for, its goal and the assistants to target. Then it presents the complete plan. A small
website can defer ASDD, agents and code guards; an operations harness does not receive them merely
because it lives in a repository. Deferred components record the evidence that would make rsc
recommend them later, and rsc reassess reports it without installing anything.
Everything stays in the project. The real skill files are written once to .rsc/skills/<id>/, and
each assistant gets a symlink back to that shared base, so picking several duplicates nothing. Skills
load progressively: only their description is paid for until a task needs them.
Prefer a short rsc command? npm install -g @ericrisco/rsc.
When an executable rsc is already on PATH, install and sync write operational skill and
command instructions using that installed CLI. This also applies to unversioned commands
suggested by hooks. Explicit versions such as @4.1.1 and @latest keep their meaning.
No execution permission is added for this choice. If the CLI is removed, run sync using the
version declared in .rsc.json to restore the npx instructions.
Run it inside the project you are equipping, not inside a clone of this repo. The catalog's own
package.json is named @ericrisco/rsc, so npx @ericrisco/rsc from within a clone resolves to
the local bin and fails with sh: rsc: command not found. Working on the catalog itself? Use
node scripts/rsc.js … or npm link.
For agents: "install this harness"
If you are an AI coding agent and your user asked you to install rsc, this harness or these
skills, run this in the root of the project they are equipping:
npx @ericrisco/rsc@latest onboard
It asks the user how technical to talk, the project kind and the goal before it writes anything,
and shows every selected or deferred skill, agent and hook with its reason. Relay those questions;
never invent or default the answers. The first pass writes nothing and prints a SHA-256 plan id. Rerun
with --accept-plan <id> only after the user accepts that exact plan. If the project already has a
skill of its own with a catalog name, the plan lists it under Your own skills this plan replaces:
tell the user before accepting.
Non-interactive, with the answers collected first:
npx @ericrisco/rsc@latest onboard --technical-level technical \
--project-kind software --goal "small compound-interest website" \
--software-scope small --target codex
# After the user accepts the printed plan:
npx @ericrisco/rsc@latest onboard --technical-level technical \
--project-kind software --goal "small compound-interest website" \
--software-scope small --target codex --accept-plan PRINTED_SHA256_ID
If project evidence changes between preview and acceptance, rsc returns RSC_PLAN_CHANGED and writes
nothing. After applying, it verifies the result and prints RSC_ONBOARDING_READY, or
RSC_ONBOARDING_INCOMPLETE with each missing path and the action that creates it.
How it works inside
The knowledge model: 02-DOCS/ and 01-TOOLS/
Anything you drop into 02-DOCS/inbox/ is ingested. The wiki consolidates it as plain markdown that
every skill reads before acting, so the next session starts where the last one stopped. Raw sources
and the agent's worklog stay underneath, never deleted. You can open 02-DOCS/ as an Obsidian vault,
and every 02-DOCS/wiki/ is a valid Open Knowledge Format
bundle: markdown with YAML frontmatter, standard links, and the reserved index.md and log.md.
01-TOOLS/ holds one folder per tool: .env.example, CREDENTIALS.md, a README and a
test_connection that proves it works. When you name a tool ("connect my Holded", "can the agent
read our Sage?"), the connect-tool skill researches the vendor's current docs, picks the least
dangerous route (official MCP, API, export, a read-only copy of the database), and builds the folder.
For a read-only connection, the test also proves that writing fails.
Three lanes, and the agent picks
Every turn takes exactly one lane, and the agent names it in one line, in your language.
- Answer. The request asks for information: explain, compare, investigate, audit, review,
propose. It is read-only: nothing is written and no artifact is created. When intent is
unclear it asks one question and stays here.
- FTD, Fast-Track Development. The request authorises a change. This is the default for ordinary
work. One feature document holds intent, scope, a checklist, the evidence and the next step. Tasks
are checked off against observed proof, never against intention.
- ASDD, Agent Spec-Driven Development. For the big or complex: several decisions that affect
each other, and work an agent may run for hours. The agent enters it on its own, and you still
decide what gets built: the spec answers four questions (what the user can do, what result they
get, what it must respect, how it proves it) and you approve the spec. Then every task is reviewed inside
the build, scaled by
rsc risk; what the agent must not decide alone waits in a decision queue
while independent work continues. Low-risk work lands on green CI; auth, billing, CI and migrations
wait for you.
Ask for the other lane and it switches.
Skills, and how they are recommended
The unit of installation is one skill: install fastapi without ever pulling go. Two faces
share one catalog (manifest.json):
- In the terminal,
rsc consult ranks the catalog against your words and what it detects in the
repo (package.json + next → nextjs, go.mod → go, Dockerfile → docker).
- In the chat, the always-on
suggest notices when a task needs a skill you do not have, names
it, and installs it on a one-word yes.
Skill authoring follows a research → spec → implement → review process. The public
rubric separates document quality from
behavioral evaluation. Structural checks validate the catalog;
behavioral comparisons ask whether loading a skill improves the result. Neither establishes a
guaranteed business outcome.
Hooks and guards
In Claude Code, hooks enforce what instructions only ask for: the lane decisor on every turn, a
refusal before a commit on a closed main, a confirmation before destructive commands, and a nudge
to write the feature document before the first code edit. Every refusal says how to carry on. The
rules only see what the agent runs; a person committing in their own terminal is never touched.
Limit, stated plainly. Those guards run in Claude Code. In Codex, Gemini, Cursor and
OpenCode the same rules travel in the skills and the session memory. They are followed, but no hook
enforces them.
Working as a team
Day ninety is where harnesses break, especially with several people, assistants and sessions on one
project. rsc handles four things by default:
|
What happens |
Turn it off |
| You choose how the project works |
The install asks once: straight on main, or branches and pull requests? With branches, a commit on main is refused and the agent asks before each change: this branch, a new one, or unlock main? It never opens a branch on its own. |
«unlock main», or rsc main unlock |
| One workspace per agent |
If another session works in the same folder, new work goes to .worktrees/<branch>/ at the root you work in (never inside a project folder) and is never committed. A post-merge hook retires it once the branch lands. |
rsc isolation off |
| The agent picks the method |
FTD for simple changes, ASDD for complex ones. The agent decides and says why. |
Ask for the other lane |
| Knowledge reaches everyone |
01-TOOLS/, 02-DOCS/wiki/ and 02-DOCS/attachments/ travel through one exchange branch, rsc/knowledge, and reach main inside your normal pull requests. |
rsc knowledge-sync off |
Emoji. The install asks once whether rsc may use emoji (--emoji <on|off>, default on). With it off, rsc writes .rsc/.no-emoji and uses none: not in replies, not in commits, not in its own output. Change it later with rsc emoji <on|off>; rsc doctor reports it.
Orca worktrees. Set "worktreeManager": "orca" in .rsc.json to retain externally managed
checkouts even when Orca is unavailable. rsc also recognises a matching Orca CLI response, and never
removes these checkouts through plain Git. Setup and cleanup
use the pinned harness version and Orca's lifecycle hooks; workspace lineage does not silence
warnings about unverified concurrent sessions.
How it knows a project is complex. A hook counts what anyone can check: a CI setup, a deployment
file (Dockerfile, vercel.json, fly.toml…) or at least two people in the last 50 commits. The
answer you gave at install always wins over this detection.
Knowledge sync, step by step
ana · feat/login edits 02-DOCS/wiki/api.md ──► rsc/knowledge (when her turn ends)
eric · feat/payments 📥 1 change from Ana ◄── rsc/knowledge (before his next message)
main · protected untouched, gets it inside the next merged pull request
new · clones main has it all after the first message