Export
Extract your persona into CLAUDE.md or AGENTS.md for use in any AI agentFrom its SKILL.md
npx -y skills add LilMGenius/polysona --skill exportAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.9 KB, as published. Nobody here has run it
!ACTIVE=$(cat personas/_active.md 2>/dev/null || echo "default"); cat "personas/$ACTIVE/persona.md" 2>/dev/null && cat "personas/$ACTIVE/nuance.md" 2>/dev/null || echo "No persona. Run /interview first."
Export Skill Protocol
$ARGUMENTS:
target—claude,agents, orboth
Parse target first:
claude→ write onlypersonas/{active}/generated/CLAUDE.generated.mdagents→ write onlypersonas/{active}/generated/AGENTS.generated.mdbothor empty → write both generated files
Export to CLAUDE.md template (target=claude or both)
Build personas/{active}/generated/CLAUDE.generated.md from persona + nuance sources:
- Work philosophy section: infer priority, approach, and risk stance from
persona.md - Decision-making priorities: infer ordering + energy bias from
persona.md - Tone rules: map
nuance.mdvoice into register rules and avoid-list - Context loading protocol: derive startup context from
persona.mdcore tags - Anti-patterns to avoid: convert
persona.mdanti field into explicit do-not rules - Add a header note that this file was generated and should be reviewed before copying into a project root.
Export to AGENTS.md template (target=agents or both)
Build Codex/OpenCode-compatible agent definitions:
- Include agent name, description, and invocation method
- Ground role split in persona domain expertise from
persona.mdcore tags - Keep entries portable across Codex/OpenCode style
AGENTS.md - Write the result to
personas/{active}/generated/AGENTS.generated.mdand add a generated-file header note.
Output
Write generated files to personas/{active}/generated/:
CLAUDE.generated.mdAGENTS.generated.md- Create the directory first if it does not exist.
- Re-read the saved file(s) and return the confirmed generated path(s).
Note: This persona is now portable. Drop it into any project.