From Auto-PsyNet
Add a new PsyNet recipe file under skills/psynet/psynet-function/ (a new paradigm or cross-cutting capability) and auto-update the parent index in skills/psynet/SKILL.md. Use when extending the PsyNet knowledge pack with something not yet covered — e.g. a new TrialMaker subclass, a new prescreen, a new asset workflow, or a domain-specific recipe.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apsy:add-recipeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> EXECUTION CONTRACT. Adds a new file under `skills/psynet/psynet-function/` + inserts a row into the
EXECUTION CONTRACT. Adds a new file under
skills/psynet/psynet-function/+ inserts a row into the parent index. Always show the file content + index row before writing. Refuses to overwrite an existing recipe without explicit consent.
Ask via AskUserQuestion:
audio_staircase or multi-arm-bandit.
Must match ^[a-z][a-z0-9_-]{0,39}$.paradigm (new TrialMaker recipe) / cross-cutting (new capability — i18n, payment,
prescreen, asset workflow, …).paradigm only — trial_maker: the PsyNet TrialMaker class name (e.g.
StaticTrialMaker, GibbsTrialMaker). The engine derives the matching Trial base by stripping
Maker.--from <path> to copy an existing .md as the base instead of using the template.Run bin/apsy-add-recipe.py --dry-run with the gathered args. The engine prints:
skills/psynet/SKILL.md.Show the dry-run output and AskUserQuestion to confirm before writing.
Re-run the engine without --dry-run. It:
skills/psynet/psynet-function/<name>.md,## Paradigm recipes or ## Cross-cutting PsyNet functions) in skills/psynet/SKILL.md,Run bash tests/validate-assembly.sh to confirm the new file + index update don't break the plugin's
assembly checks.
Open the new recipe file. If --from was used, the content is the source file and the user can edit
in place. Otherwise the file has TODO placeholders for: archetype/domains, when-to-use, classes,
bot_response (paradigm only), gotchas, worked-example path, data shape (paradigm only), status.
Optional follow-ups for a paradigm recipe:
config/affinity.yaml (which question-archetypes it serves).apsy:design or apsy:implement-paradigm against the new recipe —
the psynet-engineer persona will populate the worked-example pointer against the installed psynet
(located via APSY_PSYNET_PATH).PROHIBITED: silently overwriting an existing recipe; editing the parent index by hand instead of through the engine (the row format must match the existing table style for the parser).
Validation gate: tests/validate-assembly.sh green; new file present; parent index row present.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub haoyu-hu/auto-psynet --plugin apsy