/polysona:exportfrom polysona
Exports a persona into CLAUDE.md or AGENTS.md format for use across AI agents. Useful when you want to reuse your persona in other projects or tools.
Ships in polysona. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
!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."
$ARGUMENTS:
target — claude, agents, or bothParse target first:
claude → write only personas/{active}/generated/CLAUDE.generated.mdagents → write only personas/{active}/generated/AGENTS.generated.mdboth or empty → write both generated filesBuild personas/{active}/generated/CLAUDE.generated.md from persona + nuance sources:
persona.mdpersona.mdnuance.md voice into register rules and avoid-listpersona.md core tagspersona.md anti field into explicit do-not rulesBuild Codex/OpenCode-compatible agent definitions:
persona.md core tagsAGENTS.mdpersonas/{active}/generated/AGENTS.generated.md and add a generated-file header note.Write generated files to personas/{active}/generated/:
CLAUDE.generated.mdAGENTS.generated.mdNote: This persona is now portable. Drop it into any project.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.PreToolUse.0.hooks.0: Unknown hook type "bash" — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.PreToolUse.0.hooks.0: Unknown hook type "bash" — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
8 skills in this plugin
/publishOther plugins' skills for the same job