Agent skill

Export

by LilMGenius in LilMGenius/polysona

Extract your persona into CLAUDE.md or AGENTS.md for use in any AI agent

MITAuto-check passedAgent Workflows

Install Export

skills CLI
$ npx skills add LilMGenius/polysona --skill export -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LilMGenius/polysona export --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LilMGenius/polysona.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/export .claude/skills/export && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
export
GitHub stars
164
Token cost
~497 tokens
SKILL.md length
211 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Extract your persona into CLAUDE.md or AGENTS.md for use in any AI agent

  • Tasks that involve Agent instruction files
  • SKILL.md covers Export to CLAUDE.md template…, Export to AGENTS.md template… and Output
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Export is an agent skill from LilMGenius/polysona. Extract your persona into CLAUDE.md or AGENTS.md for use in any AI agent

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: Polygonal Persona: A Persona Layer for AI Agents. Metacognition-driven multi-persona extraction and orchestration system. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent instruction files

Example prompts

  • “/export”

What it can do on your machine

Read from SKILL.md and the folder at commit ad1f263. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Export loads about 497 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 211 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~497

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LilMGenius/polysona at commit ad1f263, republished under its MIT licence (© LilMGenius). 211 words, ~497 tokens.

Download SKILL.mdSave it as .claude/skills/export/SKILL.md (or your agent's skills folder).
name
export
description
Extract your persona into CLAUDE.md or AGENTS.md for use in any AI agent

!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, 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.

© LilMGenius, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/export of LilMGenius/polysona.

Open the folder on GitHubat commit ad1f263

Compare with similar skills

Export next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Export compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Export this skillLilMGenius/polysona164—~497Automated safety check: PassMIT
Using Agent Skillsaddyosmani/agent-skills103k4 repos~2.4kAutomated safety check: PassMIT
Claude ReflectBayramAnnakov/claude-reflect1.7k2 repos~627Automated safety check: PassMIT
Writing For Agentsbestofjs/bestofjs3.1k19 repos~2.7kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Claude Reflect

    BayramAnnakov/claude-reflect

    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

    1.7k GitHub starsUsed in 2 repos~627 tokens
    Agent WorkflowsAuto-check passed
  • Writing For Agents

    bestofjs/bestofjs

    Writing documents for agents. An agent skill from bestofjs/bestofjs.

    3.1k GitHub starsUsed in 19 repos~2.7k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from LilMGenius/polysona

All 8 skills in this repo
  • Interview

    LilMGenius/polysona

    Start a deep psychology-based interview to extract your persona using 10 frameworks

    164 GitHub stars~401 tokensUpdated 11 days ago
    Auto-check passed
  • Status

    LilMGenius/polysona

    Show current persona health and content pipeline status. An agent skill from LilMGenius/polysona.

    164 GitHub stars~434 tokensUpdated 11 days ago
    Auto-check passed
  • Content

    LilMGenius/polysona

    Generate platform-specific content drafts conditioned on your persona

    164 GitHub stars~236 tokensUpdated 11 days ago
    Auto-check passed
  • QA

    LilMGenius/polysona

    Evaluate content drafts with virtual followers and get TOP 5 recommendations

    164 GitHub stars~260 tokensUpdated 11 days ago
    Auto-check passed
  • Trend

    LilMGenius/polysona

    Scan trending topics in your domains and get content recommendations

    164 GitHub stars~239 tokensUpdated 11 days ago
    Auto-check passed
  • Introduce

    LilMGenius/polysona

    Inject your persona into the current session. An agent skill from LilMGenius/polysona.

    164 GitHub stars~152 tokensUpdated 11 days ago
    Auto-check passed

Categories

Questions about Export

What does Export do?

Extract your persona into CLAUDE.md or AGENTS.md for use in any AI agent. Export is an agent skill from LilMGenius/polysona.

When should I use Export?

Export fits situations like: tasks that involve Agent instruction files.

How do I install Export in Claude Code?

Run `npx skills add LilMGenius/polysona --skill export -a claude-code`. Or copy the skill folder (skills/export in LilMGenius/polysona) into .claude/skills/export in your project. Claude Code loads it when a task matches its description.

How do I install Export in Codex?

Run `npx skills add LilMGenius/polysona --skill export -a codex`. Or copy the skill folder (skills/export in LilMGenius/polysona) into .agents/skills/export in your project. Codex loads it when a task matches its description.

Can I use Export in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LilMGenius/polysona --skill export -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/export, .gemini/skills/export, .github/skills/export and .opencode/skills/export in your project.

What does Export need to run?

SKILL.md names no scripts, command-line tools or credentials: Export is instructions for the agent only.

Does Export access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Export safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Export use?

Export is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Export use?

About 497 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Export?

Skills that share tags, products or a category with Export: Using Agent Skills (addyosmani/agent-skills, 103k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Writing For Agents (bestofjs/bestofjs, 3.1k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Export?

LilMGenius (a GitHub user) maintains it in LilMGenius/polysona, which has 164 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 27, 2026.

Source: LilMGenius/polysona on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.