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.
npx agentmods add skills/deepractice/rolex/prototype-authoringnpx skills add Deepractice/RoleX --skill prototype-authoringgit clone --depth 1 https://github.com/Deepractice/RoleXWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00036 | $0.01541 |
| Opus 5 | $0.00018 | $0.00771 |
| Sonnet 5 | $0.00007 | $0.00308 |
| Haiku 4.5 | $0.00004 | $0.00154 |
Grade A, and why
prototype-authoring 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Feature: Prototype Directory Structure A prototype is a directory containing an instruction set and content files. When settled, each instruction is executed against the RoleX runtime in order.
Scenario: Required files Given a prototype directory (e.g. ./prototypes/my-prototype) Then it must contain: """ resource.json — ResourceX manifest (name, type, author, description) prototype.json — Instruction set (JSON array of ops) *.feature — Gherkin content files referenced by @filename in prototype.json """
Scenario: resource.json format Given the resource manifest identifies this as a prototype Then it looks like: """json { "name": "my-prototype", "type": "prototype", "author": "deepractice", "description": "Short description of what this prototype creates" } """ And "name" becomes the prototype id used in the registry And "type" must be "prototype"
Feature: Instruction Set — prototype.json The instruction set is a JSON array of operations. Each operation has an "op" (the RoleX command) and "args" (named parameters). Content args use @filename references to .feature files in the same directory.
Scenario: Instruction format Given each instruction is an object with op and args Then the format is: """json { "op": "!namespace.method", "args": { "key": "value", "content": "@filename.feature" } } """ And "op" is a RoleX command prefixed with "!" And args starting with "@" are resolved to file contents at settle time
Scenario: Available operations for prototypes Given prototypes can use any runtime operation Then common operations are: """ !individual.born — Create an individual (id, alias?, content?) !individual.train — Train a procedure (individual, id, content) !individual.teach — Teach a principle (individual, id, content) !org.found — Found an organization (id, alias?, content?) !org.charter — Set organization charter (org, id, content) !org.hire — Hire individual into org (org, individual) !position.establish — Establish a position (id, content?) !position.charge — Add a duty to position (position, id, content) !position.require — Add a skill requirement (position, id, content) !position.appoint — Appoint individual to pos (position, individual) """
Scenario: Instruction ordering matters Given instructions execute in array order Then follow this order: """ 1. Born individuals (they must exist before being trained, hired, or appointed) 2. Train/teach individuals 3. Found organizations 4. Charter organizations 5. Hire individuals into organizations 6. Establish positions 7. Charge duties and require skills on positions 8. Appoint individuals to positions """
Feature: Content Files — .feature format Content files are Gherkin Feature files referenced by @filename in prototype.json.
Scenario: Naming convention Given content files live in the prototype directory root Then use this naming pattern: """ {id}.individual.feature — Individual identity {id}.organization.feature — Organization description {id}.procedure.feature — Procedure (skill metadata) {id}.charter.feature — Organization charter {id}.position.feature — Position description {id}.duty.feature — Position duty {id}.requirement.feature — Position skill requirement """
Scenario: File content is Gherkin Given each file describes one concern as a Gherkin Feature Then the Feature title names the concern And Scenarios describe specific aspects And the content is what gets stored as node information in runtime
Feature: Example — Individual Prototype A minimal prototype that creates a single individual with skills.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 164 lines · 36 tokens per session scan A 28ed0867b91b
prototype-authoring is a skill published in the GitHub repository Deepractice/RoleX (35 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 1,541 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-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…