unity-skillify

unity-skillify is a command for Claude Code from XeldarAlz/everything-claude-unity. It costs 28 tokens per session (609 once invoked), scanned A, original, MIT.

A command that creates a new coding-agent skill from patterns recorded during earlier sessions.

In plain words
What is it for?
It is for reading stored learnings, drafting a SKILL.md file, validating its structure, and optionally installing the generated skill.
Why use it?
It turns repeated project lessons into reusable instructions and checks whether an existing skill already covers the same topic.

Command for Claude Code

Part of the everything-claude-unity plugin — 10 skills, 27 commands, 20 agents, 5 hooks shipped together

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 commands/xeldaralz/everything-claude-unity/unity-skillify
Clone the repo
git clone --depth 1 https://github.com/XeldarAlz/everything-claude-unity

Made for: Claude Code.

Or install everything-claude-unity, the plugin that ships this one along with the rest of its 10 skills, 27 commands, 20 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unity-skillify

README.md
[![agentmods](https://agentmods.dev/badge/commands/xeldaralz/everything-claude-unity/unity-skillify.svg)](https://agentmods.dev/commands/xeldaralz/everything-claude-unity/unity-skillify)
Your own site
<a href="https://agentmods.dev/commands/xeldaralz/everything-claude-unity/unity-skillify"><img src="https://agentmods.dev/badge/commands/xeldaralz/everything-claude-unity/unity-skillify.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 609 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.00028 $0.00609
Opus 5 $0.00014 $0.00304
Sonnet 5 $0.00006 $0.00122
Haiku 4.5 $0.00003 $0.00061

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

Security

Grade A, and why

unity-skillify 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 3d 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.

.claude/commands/unity-skillify.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/unity-skillify — Generate Skills from Learnings

Generate a new skill from accumulated session data: $ARGUMENTS

Parse $ARGUMENTS:

  • If it starts with --install, the generated skill will be auto-placed in the correct directory
  • The remaining text is the topic to generate a skill for

Workflow

Step 1: Load Learnings

Read .claude/state/learnings.jsonl (or .claude/learnings.jsonl as fallback for pre-v1.3.0 projects).

If the file doesn't exist or is empty, report that no learnings are available and suggest running sessions with UNITY_HOOK_PROFILE=strict to start collecting data.

Step 2: Filter by Topic

Filter learning entries where:

  • The category field matches the topic
  • File paths in patterns relate to the topic
  • The branch name contains the topic keyword
  • Tool usage patterns suggest the topic area

Step 3: Cross-Reference Existing Skills

Read all existing skills in .claude/skills/ to avoid generating a duplicate. If a skill already covers this topic, report it and suggest updating the existing skill instead.

Step 4: Synthesize Skill

Generate a complete SKILL.md with:

---
name: [topic-kebab-case]
description: "[synthesized from learning patterns]"
globs: ["[derived from file patterns in learnings]"]
---

Content sections:

  • Overview — what this skill covers (derived from learning patterns)
  • Patterns — code patterns observed across sessions (with C# examples)
  • Common Mistakes — issues that triggered hook warnings (from warnings data)
  • Best Practices — patterns that appeared in successful sessions

Step 5: Output

If --install flag:

  1. Determine category (core/gameplay/systems/platform/genre/third-party) based on topic
  2. Create directory .claude/skills/[category]/[name]/
  3. Write SKILL.md there
  4. Report: "Skill installed at .claude/skills/[category]/[name]/SKILL.md"

If no --install flag:

  1. Output the complete SKILL.md content
  2. Report: "Draft skill generated. To install, run: /unity-skillify --install [topic]"

Read the full file on GitHub · 73 lines

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. 3d ago First seen · 73 lines · 28 tokens per session scan A 2e68f812411f

Subscribe to this mod's changes

unity-skillify is a command published in the GitHub repository XeldarAlz/everything-claude-unity (21 stars, last pushed 4mo ago), licensed MIT. It adds 28 tokens to every session and 609 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.