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.
git clone --depth 1 https://github.com/lee-to/ai-factorynpx agentmods add skills/lee-to/ai-factory/aif-skill-generatorWrote 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.
[](https://agentmods.dev/skills/lee-to/ai-factory/aif-skill-generator)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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. 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.
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/BEST-PRACTICES.md 5.3 KB
- references/EXAMPLES.md 5.0 KB
- references/LEARN-MODE.md 7.1 KB
- references/SECURITY-SCANNING.md 4.6 KB
- references/SPECIFICATION.md 3.0 KB
- scripts/cleanup-blocked-skill.py 23 KB runs code
- scripts/search-skills.py 2.9 KB runs code
- scripts/security-scan.py 28 KB runs code
- scripts/validate.sh 5.5 KB runs code
- templates/basic.md 511 B
- templates/dynamic-context.md 1.4 KB
- templates/research.md 956 B
- templates/task.md 807 B
- templates/visual.md 1.9 KB
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.
- 11d ago First seen · 554 lines · 54 tokens per session scan D 58b0cad4ccfe
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.
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.
gsd-audit-milestone
Audit milestone completion against original intent before archiving.
docx-comment-reply
Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.
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.
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…
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…