export

A skill that turns a saved persona—your preferred working style, priorities, tone, and rules—into instruction files for Claude or other AI agents.

In plain words
What is it for?
Use it to create a CLAUDE.md file, an AGENTS.md file, or both from the active persona and its additional notes.
Why use it?
It avoids rewriting your working preferences whenever you start using an agent in a project. It also marks the generated files for review before they are copied into a project.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/lilmgenius/polysona/export
Any agent
npx skills add LilMGenius/polysona --skill export
Clone the repo
git clone --depth 1 https://github.com/LilMGenius/polysona

Made for: Claude Code, Codex.

Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.00488
Opus 5 $0.00010 $0.00244
Sonnet 5 $0.00004 $0.00098
Haiku 4.5 $0.00002 $0.00049

Measured 2d ago against content hash 53e8c9d62160, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

export 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.

skills/export/SKILL.md · 45 lines

What it actually says

!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:

  • targetclaude, agents, or both

Parse target first:

  • claude → write only personas/{active}/generated/CLAUDE.generated.md
  • agents → write only personas/{active}/generated/AGENTS.generated.md
  • both or 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.md voice into register rules and avoid-list
  • Context loading protocol: derive startup context from persona.md core tags
  • Anti-patterns to avoid: convert persona.md anti 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.md core tags
  • Keep entries portable across Codex/OpenCode style AGENTS.md
  • Write the result to personas/{active}/generated/AGENTS.generated.md and add a generated-file header note.

Output

Write generated files to personas/{active}/generated/:

  • CLAUDE.generated.md
  • AGENTS.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.

Changes

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.

  1. 2d ago First seen · 45 lines · 20 tokens per session scan A 53e8c9d62160

Subscribe to this mod's changes

export is a skill published in the GitHub repository LilMGenius/polysona (160 stars, last pushed 13d ago), licensed MIT. It adds 20 tokens to every session and 488 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

self-improvement

บันทึกการเรียนรู้ ข้อผิดพลาด และการแก้ไขเพื่อการปรับปรุงอย่างต่อเนื่อง ใช้เมื่อ: (1) คำสั่งหรือการทำงานล้มเหลว (2) ผู้ใช้แก้ไขข้อมูล (3) ผู้ใช้ร้องขอความสามารถที่ไม่มี (4) API หรือเครื่องมือภายนอกล้มเหลว (5) พบแนวทางที่ดีกว่าสำหรับงานที่ทำซ้ำ หรือต้องการทบทวนการเรียนรู้ก่อนเริ่มงานสำคัญ.

bl1nk-bot/bl1nk-agents-manager · 122 tokens

rust-testing

Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.

bl1nk-bot/bl1nk-agents-manager · 31 tokens

plugin-development

This skill should be used when creating plugins, writing skills, building commands, developing agents, or asking about "plugin development", "create skill", "write command", "build agent", "SKILL.md", "plugin structure", "progressive disclosure".

bl1nk-bot/bl1nk-agents-manager · 54 tokens

html-ppt-xhs-pastel-card

A personal manifesto: a year of saying yes — the premise, the scenes, the turn, and the meaning that lands. Built as a decision-grade story deck for community, talk audience.

linyeping/Metis · 48 tokens

html-ppt-xhs-white-editorial

A staff-engineer promotion packet — scope, the proof moments, the artifacts, and the impact that clears the bar. Built as a decision-grade career deck for manager, calibration committee.

linyeping/Metis · 46 tokens

html-ppt-zhangzara-8-bit-orbit

A gamer's journey building a retro-arcade collection — the obsession, the hunt, and what the machines came to mean. Built as a decision-grade story deck for friends, hobby community.

linyeping/Metis · 53 tokens