Agentype summarizes a user's local AI-agent history into a persona/archetype and usage overview.
When this skill is triggered, you MUST complete all four steps below. Do not stop after collecting stats, do not skip persona inference, and do not skip delivering the final poster or summary to the user.
Use this skill when the user asks:
/agentypeDo not use it for billing estimates. Agentype reports tokens and local usage signals, not provider invoices.
Agentype collects local session and token metadata from supported agents where available:
AGENTYPE_NANOBOT_ROOTSThe PyPI distribution is agentype-cli because agentype is not available on PyPI. The installed command is still agentype.
Run the CLI with --json-out to collect deterministic usage data and write it to output/agentype.json:
agentype --json-out
If agentype is not installed and there is no source checkout:
uvx --from agentype-cli agentype --json-out
From a source checkout:
uv run agentype --json-out
> The CLI output at this point is raw stats only — it is not the final result. Continue to the next step.
Read output/agentype.json. From the aggregate signals — top projects, agents, models, skill metadata, token shape, and usage rhythm — infer the user's persona yourself. Then write these four top-level fields back into output/agentype.json, preserving all other fields:
archetype: short persona label (e.g. "Polyglot Automator").description: one-line explanation of the archetype.keywords: 3–6 concise keywords.comment: 2–3 evidence-grounded sentences starting with "You are a...".Pass the updated file back to the CLI to produce the final formatted output:
agentype --json-in output/agentype.json
For chat, IM, or gateway environments that can display images, also generate the poster:
agentype --json-in output/agentype.json --png-out
output/agentype.png.Do not expose raw session files, prompts, private transcripts, or full JSON unless the user explicitly asks for debugging data.
If the user's agent history lives outside default locations, configure AGENTYPE_NANOBOT_ROOTS before Step 1:
AGENTYPE_NANOBOT_ROOTS="/path/to/workspace:/path/to/another/root" agentype --json-out
For unsupported agent layouts, the collector paths live in src/agentype/paths.py and source adapters in src/agentype/sources/.
If the user asks for debugging or validation, re-run Step 1 with -v and share the verbose output:
agentype -v --json-out
共 1 个版本