pretty-skills-creator

pretty-skills-creator is a skill for Codex from huangrichao2020/pretty-skills. It costs 122 tokens per session (1,478 once invoked), scanned A, original, MIT.

A starter workflow for creating a new coding-agent skill, including its required files and a placeholder for a PDF guide. A skill is a reusable set of instructions that teaches an agent how to handle a particular task.

In plain words
What is it for?
It creates the skill skeleton, validates the title, description, and trigger words, links it into the local skill store, and supports building the guide PDF and preparing a contribution.
Why use it?
It avoids manually creating and checking the same folder structure for every new skill. It also provides a defined path from an initial draft to a contributed change.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is python3 ../../tools/build_case_pdf.py "my-new-skill".

Good fit It creates the skill skeleton, validates the title, description, and trigger words, links it into the local skill store, and supports building the guide PDF and preparing a contribution.

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/huangrichao2020/pretty-skills
agentmods
npx agentmods add skills/huangrichao2020/pretty-skills/pretty-skills-creator

Made for: Codex.

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 pretty-skills-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/pretty-skills-creator/github.svg)](https://agentmods.dev/skills/huangrichao2020/pretty-skills/pretty-skills-creator)
Your own site
<a href="https://agentmods.dev/skills/huangrichao2020/pretty-skills/pretty-skills-creator"><img src="https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/pretty-skills-creator/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 pretty-skills-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/huangrichao2020/pretty-skills/pretty-skills-creator"><img src="https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/pretty-skills-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 66
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 66
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 129
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.1 $0.00122 $0.01478
Opus 5 $0.00061 $0.00739
Sonnet 5 $0.00024 $0.00296
Haiku 4.5 $0.00012 $0.00148

Measured 12d ago against content hash 01771ea04098, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pretty-skills-creator 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/create_skill.py, scripts/push.sh), 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.

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.

tools/pretty-skills-creator/SKILL.md · 145 lines

How it starts

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

pretty-skills-creator

— 让创建新 skill 像"填一个表"一样简单。

一句话

pretty-skills-creator = 创建 skill 的 5 步流水线。

ps create <name>  --title "..." --description "..." --triggers a b c
  → 校验输入(name / title / description / triggers)
  → 生成 4 件套:xxx讲解.pdf.placeholder.md + manifest.yaml + SKILL.md + CHANGELOG.md
  → 装到本地 store(ps create 自动软链 5 agent)
  → 你填细节 + 准备图 → 跑 build_case_pdf.py → ps contribute → 提 PR

v3.20 改造

改动 原因
❌ 删 web.html GitHub 不能预览 + PPT 时代已废
❌ 删 4 风格 HTML 模板 替代方案 = xxx讲解.pdf(GitHub 原生预览)
❌ 删 --style 参数 PPT 风格 picker 没了,PDF 是统一的 PIL 合并
✅ 加 xxx讲解.pdf.placeholder.md 占位说明,告诉用户怎么跑 build_case_pdf.py

必备参数

参数 校验 说明
--title ≥ 5 字 Skill 标题(中文 / 英文都行)
--description ≥ 100 字 一句话定位 + 详细说明(多行用 |\n
--triggers ≥ 3 个 触发词(用户自然语言)

可选参数

参数 默认 说明
--contributor @anonymous 你的标识
--tags (无) 标签列表
--related (无) 关联资源描述
--out-dir (必填) 输出目录
--dry-run false 只看输出,不写文件
--created 2026-07-10 创建日期 YYYY-MM-DD

完整流程

Step 1 · 写参数

ps create my-new-skill \
  --title "我的新 skill 标题" \
  --description "$(cat <<EOF
这是一个非常厉害的新 skill,解决了 XXX 问题。
它的核心思路是 YYY,用法是 ZZZ。
适用场景:AAA / BBB / CCC。
EOF
)" \
  --triggers 触发词1 触发词2 触发词3 触发词4 \
  --contributor "huangrichao2020" \
  --tags "tag1" "tag2" \
  --related "knowhub 路径 / 关联 skill" \
  --out-dir "$HOME/.pretty-skills/store"

Step 2 · 校验

脚本会自动校验:

  • ✅ name 合法(kebab-case,2-64 字符)
  • ✅ title ≥ 5 字
  • ✅ description ≥ 100 字
  • ✅ triggers ≥ 3 个

Step 3 · 生成 4 件套

~/.pretty-skills/store/my-new-skill/
├── xxx讲解.pdf.placeholder.md   # 怎么跑 build_case_pdf.py 的说明
├── manifest.yaml                # 符合 pretty-skills manifest schema
├── SKILL.md                     # agent 加载入口
└── CHANGELOG.md                 # 变更记录

Step 4 · 准备图 + 跑 build_case_pdf.py

cd ~/.pretty-skills/store/my-new-skill

# 1. 准备 AI 出图(每页 1 张)
# 用 matrix / DALL-E / 即梦 任意工具
mkdir images
# 把 PNG 放到 images/slide-01.png / slide-02.png / ...

# 2. 跑 PIL 合并 → xxx讲解.pdf
python3 ../../tools/build_case_pdf.py "my-new-skill"
# 工具路径:pretty-skill/tools/build_case_pdf.py · v3.20 极简版(5 行核心)

Read the full file on GitHub · 145 lines

Files

What ships with it

5 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.

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. 12d ago First seen · 145 lines · 122 tokens per session scan A 01771ea04098

Subscribe to this mod's changes

pretty-skills-creator is a skill published in the GitHub repository huangrichao2020/pretty-skills (54 stars, last pushed today), licensed MIT. It adds 122 tokens to every session and 1,478 once invoked, about $0.0006 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.