aif-skill-generator

aif-skill-generator is a skill for Claude Code from lee-to/ai-factory. It costs 54 tokens per session (5,769 once invoked), scanned D, original, no licence file.

A generator for Agent Skills, which are reusable instruction packages that give AI agents a defined capability or workflow. It creates the package files and checks them against the Agent Skills specification.

In plain words
What is it for?
Use it to create skills, custom slash commands, or other reusable AI capabilities, including references, scripts, and templates.
Why use it?
It removes the need to design the required skill structure and supporting files by hand.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 ~/{{skills_dir}}/aif-skill-generator/scripts/security-scan.py ./skill-name/.

Good fit Use it to create skills, custom slash commands, or other reusable AI capabilities, including references, scripts, and templates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lee-to/ai-factory
agentmods
npx agentmods add skills/lee-to/ai-factory/aif-skill-generator

Made for: Claude Code.

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 aif-skill-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/lee-to/ai-factory/aif-skill-generator/github.svg)](https://agentmods.dev/skills/lee-to/ai-factory/aif-skill-generator)
Your own site
<a href="https://agentmods.dev/skills/lee-to/ai-factory/aif-skill-generator"><img src="https://agentmods.dev/badge/skills/lee-to/ai-factory/aif-skill-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aif-skill-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/lee-to/ai-factory/aif-skill-generator"><img src="https://agentmods.dev/badge/skills/lee-to/ai-factory/aif-skill-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,769 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00054 $0.05769
Opus 5 $0.00027 $0.02884
Sonnet 5 $0.00011 $0.01154
Haiku 4.5 $0.00005 $0.00577

Measured 11d ago against content hash 58b0cad4ccfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade D, and why

aif-skill-generator scanned grade D with 3 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 11d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/cleanup-blocked-skill.py, scripts/search-skills.py, scripts/security-scan.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

- Override agent behavior via prompt injection ("ignore previous instructions")

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Execute destructive commands (`rm -rf`, force push, disk format)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- "These patterns are needed for the skill to work" — if a linter needs `curl` to an external server, that IS the problem.
skills/aif-skill-generator/SKILL.md · 554 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 11d ago First seen · 554 lines · 54 tokens per session scan D 58b0cad4ccfe

Subscribe to this mod's changes

aif-skill-generator is a skill published in the GitHub repository lee-to/ai-factory (1,082 stars, last pushed today), with no licence file. It adds 54 tokens to every session and 5,769 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it D with 3 findings (instruction-override phrasing, recursive force delete, makes network calls). 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

happiness-skill

A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.

kangarooking/cangjie-skill · 136 tokens

gsd-audit-milestone

Audit milestone completion against original intent before archiving.

open-gsd/gsd-core · 17 tokens

docx-comment-reply

Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.

foryourhealth111-pixel/Vibe-Skills · 39 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

influence-psychology

Apply the seven principles of ethical persuasion (reciprocity, commitment, social proof, authority, liking, scarcity, unity) to product design, copy, and sales. Use when the user mentions "social proof", "persuasive copy", "why users dont convert", "ethical persuasion", "reciprocity", "scarcity tactics", "commitment…

wondelai/skills · 156 tokens