Polysona ships a Claude Code plugin manifest inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/LilMGenius/polysona/llms.txt
Use this file to discover all available pages before exploring further.
.claude-plugin/. Rather than relying on file auto-discovery, you register a local marketplace entry and install the plugin explicitly — after that, all eight persona commands are available as /slash commands in any Claude Code session you start in the repo directory.
Plugin Manifest
The plugin is defined in.claude-plugin/plugin.json. It declares the plugin name, version, the eight skill paths, and the five agent definition files:
.claude-plugin/plugin.json
.claude-plugin/marketplace.json points Claude Code’s plugin installer to the local source:
.claude-plugin/marketplace.json
Setup
Start a Claude Code session
Open Claude Code in the repo directory. The plugin skills and agents are now loaded.
Command Reference
| Command | Agent | Purpose |
|---|---|---|
/interview | profiler | Run the 10-framework psychology interview to extract persona data |
/introduce | — | Inject the active persona into the current session context |
/trend | trendsetter | Scan for domain trend topics relevant to your persona |
/content [platform] | content-writer | Generate platform-specific drafts conditioned on your persona |
/qa | virtual-follower | Simulate virtual followers and surface the TOP 5 draft recommendations |
/publish | admin | Publish selected content and record engagement metadata |
/status | — | Display the active persona and current pipeline state |
/export | — | Export persona-derived instructions into generated files for another workspace |
Lifecycle Hooks
Polysona declares three lifecycle hooks inhooks/hooks.json. Whether these are executed automatically depends on your Claude Code host version’s support for hook manifests.
hooks/hooks.json
SessionStart
hooks/session-start.sh — Reads personas/_active.md to find the active persona, prints the first 10 lines of persona.md, and echoes the four core PLOON rules. If no persona exists, it prompts you to run /interview.PreToolUse
hooks/pre-tool-use.sh — When the Write tool targets personas/*, prints a warning to read the file first and to append to the interview-log section only — never overwrite the compressed PLOON core.PostToolUse
hooks/post-tool-use.sh — Scans tool output for AI verbosity patterns (certainly, absolutely, as an AI, etc.) and warns when they are detected.Codex vs Claude Code
The two integrations use different installation mechanisms and command prefixes, but expose identical pipeline capabilities.- Codex
- Claude Code
How it loads: Setup steps:
AGENTS.md is auto-recognized by Codex in the repo root. Skills are discovered automatically from .agents/skills/ (kept in sync via scripts/sync-codex-skills.mjs).Command prefix: $- Clone the repo and run
bun install - Run
bun run codex:skills:sync(ornode ./scripts/sync-codex-skills.mjs) to mirrorskills/into.agents/skills/ - Open Codex in the repo directory —
AGENTS.mdand skills are auto-loaded
skills/. Restart Codex if an updated skill does not appear.