Scikit Survival
K-Dense-AI/scientific-agent-skills
Builds, evaluates, and audits right-censored or competing-risk survival workflows with scikit-survival, including leakage-safe preprocessing, model selection, probability prediction, and…
A skill your agent uses when a design has won and its look must survive: codify it into a permanent style skill with measured ratios, bans and tests that can fail, then build new pieces in that…
$ npx skills add ericrisco/rsc-harness --skill design-dna -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ericrisco/rsc-harness design-dna --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/design-dna .claude/skills/design-dna && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "design-dna" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dna into .claude/skills/design-dna/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-dna", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dnaType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ericrisco/rsc-harness --skill design-dna -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ericrisco/rsc-harness design-dna --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/design-dna .agents/skills/design-dna && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "design-dna" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dna into .agents/skills/design-dna/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-dna", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill design-dna -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ericrisco/rsc-harness design-dna --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/design-dna .cursor/skills/design-dna && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "design-dna" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dna into .cursor/skills/design-dna/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-dna", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ericrisco/rsc-harness.git --path skills/design-dna--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ericrisco/rsc-harness --skill design-dna -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ericrisco/rsc-harness design-dna --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/design-dna .gemini/skills/design-dna && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "design-dna" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dna into .gemini/skills/design-dna/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-dna", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ericrisco/rsc-harness design-dnaInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ericrisco/rsc-harness --skill design-dna -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/design-dna .github/skills/design-dna && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "design-dna" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dna into .github/skills/design-dna/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-dna", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ericrisco/rsc-harness --skill design-dna -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ericrisco/rsc-harness design-dna --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/design-dna .opencode/skills/design-dna && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "design-dna" agent skill from https://github.com/ericrisco/rsc-harness/tree/main/skills/design-dna into .opencode/skills/design-dna/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-dna", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
design-dnaA skill your agent uses when a design has won and its look must survive: codify it into a permanent style skill with measured ratios, bans and tests that can fail, then build new pieces in that…
Design Dna is an agent skill from ericrisco/rsc-harness. Use when a design has won and its look must survive: codify it into a permanent style skill with measured ratios, bans and tests that can fail, then build new pieces in that exact look. Fires on 'turn this into a skill', 'keep the same style', 'my output drifted'. NOT finding the winner (that is design-loop), NOT the words (that is marketing).
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `PROMPT.md`, `design-dna.schema.json` and `evals/README.md`).
The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.
10 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e3d5b33. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Design Dna loads about 3k tokens when it runs, and up to ~9.1k if it reads all its reference files. Until then it costs about 90 tokens; SKILL.md has 1,765 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from ericrisco/rsc-harness at commit e3d5b33, republished under its MIT licence (© ericrisco). 1,765 words, ~3,005 tokens.
.claude/skills/design-dna/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.A design loop finds you one beautiful thing. This turns that one thing into a skill you keep forever, so you can make more of it, in any format, without the look drifting.
Not only about "designs". The subject is anything that got built: a website, a landing page, a poster, a motion graphic, a carousel, a deck. Same system, same file, same tests. The format is an output, not the subject.
Nobody wrote down why the winner was beautiful. Next time you ask for "the same style" you get something close, then something a bit off, then something generic. Every rule you do not write down, the model has to guess, and it does not guess randomly: it guesses the average of everything it has ever seen. That average is what people call slop. Slop is the sound of an unwritten rule.
| You say | Mode | What happens |
|---|---|---|
| "codify this", "turn this into a skill", here is the winner | CAPTURE | Run the seven steps below. Output: a new style skill folder. |
"build X in <style>", "another one like the last", /<slug> | REUSE | Load that style's PROMPT.md only, build, then run its self-check before returning. |
If a dna.json already exists for the style named, you are in REUSE. Never re-derive a style that has a record.
To find out which records exist — in either scope, without guessing at paths — run
npx @ericrisco/rsc doctor --json and read designStartingPoint. A record it reports as unreadable
is not a record you can reuse: say what is missing, do not use half of one.
dna.json is the record, any size, and it never enters a prompt. PROMPT.md is the payload, hard cap 2KB, and it is the only thing that does.meta.not_copied with a named substitute.Run PROMPT.md as written. It is the operative artefact and it is self-contained; this section is the map, not a second copy of it.
| Step | Name | Non-negotiable output |
|---|---|---|
| 1 | Observe | Flat inventory of literal measurements. Sampled hexes, coverage estimates, type counts, largest-to-smallest ratio, margins as percentages, texture, and what is absent. No judgements: interpreting here is how you end up specifying a design that is not the one in front of you. |
| 2 | Debate | Loop A argues exhaustive, Loop B argues nine moves and a wall of refusals, then adjudicate each property with one question: if I changed this value, would it stop looking like the reference? Yes is load-bearing, no is trivia, and trivia dilutes attention. Resolve it by splitting documents, not by compromising. |
| 3 | Codify | dna.json against design-dna.schema.json. Descriptive colour names ("dusty plum", never "accent-500": image and video models cannot read token names). Every family gets a fallback. |
| 4 | Tests that can fail | 8 to 12, binary and measurable, each marked auto or human. |
| 5 | Reconstruct and diff | Close the reference. Rebuild it from dna.json alone. Put them side by side and list every difference: each one is a field the spec forgot. Fold them in, record them in reconstruction.gaps_found, go again. Expect two or three passes, and expect the gaps to be things you were sure were obvious. |
| 6 | Emit the skill | The folder below. |
| 7 | Declare uncertainty | Every value inferred rather than measured, and every rule under 70% confidence, into meta.confidence_notes. That is where the style drifts first. |
~/.claude/skills/<slug>/
SKILL.md how to use this style, and when not to
PROMPT.md the 2KB payload. THIS is what enters a context window
dna.json the full record. NEVER pasted into a prompt
design-dna.schema.json -> validated against the parent copy
reference/ the original, kept forever
example/ one worked output, the canonical proof
scripts/check.py the auto tests, exits non-zero on failureThe folder above makes the style reusable. Writing the record into the harness is what makes it this project's identity rather than a loose folder in a global directory:
02-DOCS/wiki/brand/, beside the brand study, and link it
from 02-DOCS/wiki/index.md and the root CLAUDE.md ## Brand & voice section — the same
convention design follows, and the same place marketing, presentations, brand-voice and
content-engine already read.rsc doctor reports whether this harness has an identity, so the rule is not just prose.
Scaffold from templates/ and validate before you claim it works:
python3 ~/.claude/skills/design-dna/scripts/emit.py <slug> # scaffold + validate
python3 ~/.claude/skills/<slug>/scripts/check.py <output-file> # run the auto testsAttention is strongest at the two ends and weakest in the middle, so the order is a mechanism, not a style choice:
soul.one_lineNothing else. If it does not change what the output looks like from three metres away, it belongs in dna.json. To add a tenth signature you must delete one.
Last line of every PROMPT.md, verbatim:
Before returning any output, run every test in the self-check. Name each test and its result. If any fails, repair the output and run them again. Never return output with a failing test and a note explaining it away.
PROMPT.md. Attach reference/. Do not read dna.json into context; read it only to answer a specific measured question or to regenerate the payload.../nextjs/SKILL.md and the words to ../marketing/SKILL.md; the identity stays here.| What you see | Cause | Fix |
|---|---|---|
| Matches every value, still looks generic | Signature moves missing, or too many | Cut to 3-9, rewrite each as a ratio |
| Drifts back to the stock AI look | Not enough bans | Bans should outnumber positive style rules |
| Piece 1 and piece 8 do not match | No named layouts | Add archetypes |
| The accent reads as a theme, not an accent | No coverage percentages | Add them |
| Works on a slide, breaks on a carousel | Pixel values in the spacing | Convert to percentages |
| Obeys some rules, ignores others, differently each run | Payload over the cap | Cut to 2KB |
| Your best rule keeps getting ignored | It is buried in the middle | Move it to the top or the bottom |
| Fine, but forgettable | No weird move | Find the one break in the system |
| Spec feels complete, output is wrong | You skipped Step 5 | Rebuild the original from the spec. Compare. |
| Style | Reads as | Weird move |
|---|---|---|
../cold-press/SKILL.md | newsprint editorial, serif at 8x, one vermilion | section numeral clipped by the right edge |
../night-shift/SKILL.md | near-black instrument panel, one phosphor green | status ribbon severed mid-word by the right edge |
../soft-optics/SKILL.md | warm paper, lowercase display at 6x, one olive | display line crossing a tinted plate's bottom edge |
Each is a finished skill: reference, dna.json, a capped payload, a worked proof, and tests that exit non-zero. Never merge two of them: the average of two good designs is a bad design.
../design-loop/SKILL.md first: it takes a real reference and converges on a piece that beats it. Come back with the winner. Capturing an average of several candidates produces the average, which is the thing you are trying to escape.../marketing/SKILL.md. voice in dna.json constrains them; it does not write them.../nextjs/SKILL.md (App Router, React 19) or ../react/SKILL.md (Vite SPA).../specify/SKILL.md runs first.| File | What it is |
|---|---|
PROMPT.md | The standalone prompt. Paste anywhere, attach the design, done. |
design-dna.schema.json | Every field of dna.json, explained. |
scripts/emit.py | Scaffolds and validates an emitted style skill. |
templates/ | SKILL.md, PROMPT.md and check.py skeletons for the emitted skill. |
references/method.md | The full method and the research each decision traces to. Read once, not per run. |
Why any of this works is not opinion: lost-in-the-middle recovery, instruction-compliance decay under constraint count, style being formally the correlation between features rather than the features, and decoupled image cross-attention. The citations are in references/method.md.
© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references) in skills/design-dna of ericrisco/rsc-harness.
Open the folder on GitHubat commit e3d5b33
Design Dna next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Design Dna this skillericrisco/rsc-harness | 174 | — | ~3k | Automated safety check: Pass | MIT | |
| Scikit SurvivalK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~4.1k | Automated safety check: Notes | MIT | |
| scikit-survival Time-to-Event Modelingdavila7/claude-code-templates | 32k | 11 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Scikit Survivalaipoch/medical-research-skills | 2k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Ads DnaAgriciDaniel/claude-ads | 9.8k | — | ~279 | Automated safety check: Pass | MIT | |
| Design Dnazanwei/design-dna | 1.9k | 1 repos | ~2.1k | Automated safety check: Pass | MIT |
K-Dense-AI/scientific-agent-skills
Builds, evaluates, and audits right-censored or competing-risk survival workflows with scikit-survival, including leakage-safe preprocessing, model selection, probability prediction, and…
davila7/claude-code-templates
Fits and evaluates survival models with scikit-survival: Cox models, Random Survival Forests, boosting, survival SVMs, concordance index, Brier score and competing risks.
aipoch/medical-research-skills
A comprehensive toolkit for survival analysis and time-to-event modeling in Python using scikit-survival; use it when you need to model censored time-to-event outcomes, fit Cox/RSF/GB models or…
AgriciDaniel/claude-ads
Extract a public-safe brand and offer profile for paid advertising from an authorized website and operator input.
zanwei/design-dna
Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects…
aipoch/medical-research-skills
A skill your agent uses when generating Kaplan-Meier survival curves from tabular survival data containing time, event status, and a precomputed risk group.
ericrisco/rsc-harness
A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…
ericrisco/rsc-harness
A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…
ericrisco/rsc-harness
A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…
ericrisco/rsc-harness
A skill your agent uses 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…
ericrisco/rsc-harness
A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…
ericrisco/rsc-harness
A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.
A skill your agent uses when a design has won and its look must survive: codify it into a permanent style skill with measured ratios, bans and tests that can fail, then build new pieces in that…. Design Dna is an agent skill from ericrisco/rsc-harness. Use when a design has won and its look must survive: codify it into a permanent style skill with measured ratios, bans and tests that can fail, then build new pieces in that exact look.
Design Dna fits situations like: A design has won and its look must survive: codify it into a permanent style skill with measured ratios; bans and tests that can fail; then build new pieces in that exact look.
Run `npx skills add ericrisco/rsc-harness --skill design-dna -a claude-code`. Or copy the skill folder (skills/design-dna in ericrisco/rsc-harness) into .claude/skills/design-dna in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ericrisco/rsc-harness --skill design-dna -a codex`. Or copy the skill folder (skills/design-dna in ericrisco/rsc-harness) into .agents/skills/design-dna in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill design-dna -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-dna, .gemini/skills/design-dna, .github/skills/design-dna and .opencode/skills/design-dna in your project.
Going by SKILL.md and its folder, Design Dna needs Python for the scripts in its folder and the command-line tools its instructions call (npx). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Design Dna is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Design Dna: Scikit Survival (K-Dense-AI/scientific-agent-skills, 48k stars), scikit-survival Time-to-Event Modeling (davila7/claude-code-templates, 32k stars), Scikit Survival (aipoch/medical-research-skills, 2k stars) and Ads Dna (AgriciDaniel/claude-ads, 9.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 174 GitHub stars. The repository holds 233 skills in this directory. The repository was last updated on October 7, 2026.
Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.