Scaffolds new Apeiron skills with proper frontmatter, sections, and optional hooks/commands/tests. Use when creating or standardizing a skill.
Ships in delegate-team-scaffolder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Capability skill — wraps the
apeiron-skill-scaffoldCLI. Generates a properly-structured Apeiron skill directory in one shot: frontmatter, sections, optional companion hook/command/tests.
SKILL.md in <5 seconds.--listed, --validated,
and routed to from team-architect / expert-engineer.skill-refiner for editing existing skills.create-agent for new Apeiron agents.MEMORY.md or user.md. Use self-improve for that.apeiron-skill-scaffold [OPTIONS]
Location: ~/.apeiron/bin/apeiron-skill-scaffold (on PATH). Source: 16KB bash script with
set -euo pipefail, color-aware output, and full argument validation.
| Flag | Purpose |
|---|---|
--name <kebab-name> | Required. Skill name (kebab-case). |
--description "<triggers>" | Required. Must include trigger keywords ("Use when...", triggers on 'X'). |
--type <type> | capability (default) | bundle | atomic. |
--with-hooks | Scaffold companion PreToolUse hook at ~/.claude/hooks/<name>-mindset.js. |
--with-tests | Scaffold bash test stub at ~/.apeiron/skills/<name>/test-<name>.sh. |
--with-command | Scaffold /<name> slash command at ~/.claude/commands/<name>.md. |
--update | Preserve existing content; only fill gaps. |
--dry-run | Preview without writing. |
--list | List all skills in --skills-root. |
--validate <name> | Check existing skill against best practices. |
--skills-root <path> | Override default ($HOME/.apeiron/skills). |
-h | --help | Show full usage. |
| Type | When to pick | Sections generated |
|---|---|---|
capability (default) | Workflow-oriented, single domain | What IS / What IS NOT / Workflow / Examples / Cross-refs |
bundle | Orchestrates other skills | Routing table / Architecture / Workflow / Component skills registry |
atomic | Single focused technique | What IS / What IS NOT / Methodology / Examples / Cross-refs |
apeiron-skill-scaffold --name X --description "..." --dry-run to preview.--dry-run. Confirm files created.SKILL.md to replace ... placeholders with real content.apeiron-skill-scaffold --validate X to confirm structure passes.--with-hooks was used, edit ~/.claude/settings.json PreToolUse.--with-tests was used, add real assertions and run the script.Input: "اعمل skill للـ rate limiting في الـ APIs"
Behavior:
apeiron-skill-scaffold --name api-rate-limiter \
--description "Rate limiting for APIs. Use when implementing request throttling, token bucket,
or leaky bucket algorithms in HTTP handlers. Triggers on 'rate limit', 'throttle', 'API quota'." \
--type atomic --with-tests
Output:
~/.apeiron/skills/api-rate-limiter/SKILL.md — atomic-type template with Methodology section~/.apeiron/skills/api-rate-limiter/test-api-rate-limiter.sh — bash test stubThen edit SKILL.md to document token bucket algorithm, leaky bucket variants, Redis vs in-memory storage.
Input: "عايز skill للـ security audit"
Behavior:
apeiron-skill-scaffold --name security-audit \
--description "Security audit workflow for authentication, authorization, and input handling code.
Use when reviewing auth flows, adding new endpoints, or hardening existing routes. Triggers on
'security audit', 'auth review', 'penetration test'." \
--type capability --with-tests
Output: capability-type template with Workflow section (audit steps) + test stub.
Input: "اعمل bundle skill للـ API design كامل"
Behavior:
apeiron-skill-scaffold --name api-design-master \
--description "Full API design workflow covering REST, GraphQL, and gRPC. Use when designing
new APIs or refactoring existing ones. Triggers on 'API design', 'REST API', 'GraphQL schema'." \
--type bundle --with-hooks --with-command
Output:
~/.apeiron/skills/api-design-master/SKILL.md — bundle-type template with routing table~/.claude/hooks/api-design-master-mindset.js — PreToolUse reminder hook~/.claude/commands/api-design-master.md — /api-design-master slash commandThen wire the hook into ~/.claude/settings.json PreToolUse matcher Edit|Write|MultiEdit.
Input: "اعمل validate للـ expert-engineer"
Behavior:
# For agent-specific skills
apeiron-skill-scaffold --validate expert-engineer \
--skills-root ${HOME}/.apeiron/agents/apeiron/skills
# For global Apeiron skills (default location)
apeiron-skill-scaffold --validate team-architect
Output: Checks frontmatter exists, name: matches directory, description: present (50+ chars),
≥3 ## sections, trigger keywords detected.
Input: "ورّيني كل الـ skills الموجودة"
Behavior:
apeiron-skill-scaffold --list
Output: Table of all skill names + first line of description.
--validate checks)| Check | Severity |
|---|---|
Frontmatter starts with --- | Error |
name: matches directory name | Error |
description: field present | Error |
description: length ≥ 50 chars | Warning |
≥ 3 ## sections | Warning |
| Trigger keywords detected ("use when", "trigger on", etc.) | Warning |
If any error → exit 1. If only warnings → exit 0 with warnings printed.
team-architect, quality-guard, self-improve, and expert-engineer. Repeated work
= automation opportunity.set -euo pipefail, color-aware, exits cleanly on every error path.--validate. The "fill the
placeholders" step is human/model work, not the tool's job.~/.apeiron/bin/apeiron-skill-scaffold (this file's backing script)~/.apeiron/agents/apeiron/harness/GLOBAL.md §3 Workflow + §6 Security Arsenal~/.apeiron/agents/apeiron/memory/MEMORY.mdskill-creator — higher-level skill authoring workflow (meta-skill for skill design)skill-refiner — for editing/improving existing skillsself-improve — for capturing lessons learned into the right memory layercreate-agent — for creating new Apeiron agents (parallel to this for skills)~/.apeiron/skills/ (35 skills as of 2026-06-30):
team-architect, quality-guard, self-improve — the three Apeiron-native capability skillsmcp-* (5 skills) — MCP server capability adaptersLast updated: 2026-06-30 — created by Mamdouh + Apeiron after building the vertex-coder inspiration. Maintained by: Mamdouh + Apeiron (collaboratively).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/delegate-team-scaffolder:skill-scaffoldfrom delegate-team-scaffolder
npx claudepluginhub immamdouhaboammar/delegate-team --plugin delegate-team-scaffolder2 plugins in one repository ship this exact skill · first indexed Jul 17, 2026