Universal Skill Builder
Use this skill to build native skills that match current guidance for the specific target platform (Gemini, Codex, or Claude Code). You MUST determine or ask the user which platform the skill is for before scaffolding.
Core Standard
Default to repo-scoped skills in .agents/skills/<skill-name>.
Build skills around one repeatable job. Keep the description exhaustive about when the skill should and should not trigger. Move deep material into references/, reusable templates into assets/, and deterministic helper logic into scripts/.
Platform-Specific Knowledge
Before scaffolding or modifying a skill, adapt your workflow to the specific platform requirements:
- Codex CLI:
- Heavily relies on
agents/openai.yaml metadata files for discovery, UI metadata, and tool dependencies.
- Skills start from metadata first.
- Claude Code:
- Skills are placed in
.claude/skills/ (or global ~/.claude/skills/) or within plugins.
- Claude Code relies on YAML frontmatter in
SKILL.md (e.g., name, description, allowed-tools, context: fork).
- Supports dynamic bash context injection using
!`command` syntax directly in Markdown.
- Gemini CLI:
- Skills are typically located in
.gemini/skills/ or .agents/skills/.
- Supports advanced
assistant.toml command files with zero-latency injection (e.g., @{file} and !{bash script}).
Decision Tree: Standard vs. Maestro Architecture
Decide what architecture the skill needs:
- Standard Architecture
A repeatable workflow or specialized expertise for one clear job. Driven by a single
SKILL.md.
- Maestro-Class Super Skill
If the skill requires complex terminal orchestration, external tool CLI usage, zero-latency dashboards, or extensive diagnostic checks. A Maestro skill leverages a multi-directory ecosystem (
references/, scripts/, templates/), pre-computed bash scripts, auto-healing, and auto-backups.
Authoring Workflow
- Determine the target platform (Gemini, Codex, Claude Code) and architecture (Standard, Maestro).
- Scaffold the skill:
- Run
./.agents/skills/universal-skill-builder/scripts/scaffold-skill.sh <skill-name> --platform <gemini|codex|claude> [--arch maestro]
- Write
SKILL.md with sharp boundaries and imperative steps. Tailor the YAML frontmatter and formatting to the chosen platform.
- Add
references/ only for material the AI should load on demand.
- Add
scripts/ for deterministic helper logic (e.g., health checks, validations).
- Validate the structure and trigger behavior.
Validation Standard
Every skill change should verify:
- Structure is compatible with the target platform.
name and description exist in frontmatter.
- Trigger wording is specific enough for implicit invocation.
- The skill is scoped to one job.
Assets
Standard Assets
assets/skill-template.md
assets/openai.yaml.template
assets/reference-template.md
Maestro Assets (Super Skill Factory)
assets/maestro/SKILL.md.template
assets/maestro/command.toml.template
assets/maestro/doctor.sh.template
assets/maestro/auto-backup.sh.template
assets/maestro/log-action.sh.template
assets/maestro/KNOWLEDGE_MAP.md.template
Source: wtyler2505/ProtoPulse — distributed by TomeVault.
1---2name: universal-skill-builder3description: Autonomously design, research, construct, and validate new capabilities (Skills) for Gemini CLI, Codex CLI, and Claude Code. Use when creating a new skill, improving a SKILL.md file, scaffolding reusable skill folders, or deciding between architectures. Triggers on skill builder, SKILL.md, .agents/skills, skill triggers, and improve this skill. Use when this capability is needed.4---56# Universal Skill Builder78Use this skill to build native skills that match current guidance for the specific target platform (Gemini, Codex, or Claude Code). **You MUST determine or ask the user which platform the skill is for before scaffolding.**910## Core Standard1112Default to repo-scoped skills in `.agents/skills/<skill-name>`.1314Build skills around one repeatable job. Keep the `description` exhaustive about when the skill should and should not trigger. Move deep material into `references/`, reusable templates into `assets/`, and deterministic helper logic into `scripts/`.1516## Platform-Specific Knowledge1718Before scaffolding or modifying a skill, adapt your workflow to the specific platform requirements:19201. **Codex CLI**:21 - Heavily relies on `agents/openai.yaml` metadata files for discovery, UI metadata, and tool dependencies.22 - Skills start from metadata first.232. **Claude Code**:24 - Skills are placed in `.claude/skills/` (or global `~/.claude/skills/`) or within plugins.25 - Claude Code relies on YAML frontmatter in `SKILL.md` (e.g., `name`, `description`, `allowed-tools`, `context: fork`).26 - Supports dynamic bash context injection using `` !`command` `` syntax directly in Markdown.273. **Gemini CLI**:28 - Skills are typically located in `.gemini/skills/` or `.agents/skills/`.29 - Supports advanced `assistant.toml` command files with zero-latency injection (e.g., `@{file}` and `!{bash script}`).3031## Decision Tree: Standard vs. Maestro Architecture3233Decide what architecture the skill needs:34351. **Standard Architecture**36 A repeatable workflow or specialized expertise for one clear job. Driven by a single `SKILL.md`.372. **Maestro-Class Super Skill**38 If the skill requires complex terminal orchestration, external tool CLI usage, zero-latency dashboards, or extensive diagnostic checks. A Maestro skill leverages a multi-directory ecosystem (`references/`, `scripts/`, `templates/`), pre-computed bash scripts, auto-healing, and auto-backups.3940## Authoring Workflow41421. Determine the target platform (Gemini, Codex, Claude Code) and architecture (Standard, Maestro).432. Scaffold the skill:44 - Run `./.agents/skills/universal-skill-builder/scripts/scaffold-skill.sh <skill-name> --platform <gemini|codex|claude> [--arch maestro]`453. Write `SKILL.md` with sharp boundaries and imperative steps. Tailor the YAML frontmatter and formatting to the chosen platform.464. Add `references/` only for material the AI should load on demand.475. Add `scripts/` for deterministic helper logic (e.g., health checks, validations).486. Validate the structure and trigger behavior.4950## Validation Standard5152Every skill change should verify:53- Structure is compatible with the target platform.54- `name` and `description` exist in frontmatter.55- Trigger wording is specific enough for implicit invocation.56- The skill is scoped to one job.5758## Assets5960### Standard Assets61- `assets/skill-template.md`62- `assets/openai.yaml.template`63- `assets/reference-template.md`6465### Maestro Assets (Super Skill Factory)66- `assets/maestro/SKILL.md.template`67- `assets/maestro/command.toml.template`68- `assets/maestro/doctor.sh.template`69- `assets/maestro/auto-backup.sh.template`70- `assets/maestro/log-action.sh.template`71- `assets/maestro/KNOWLEDGE_MAP.md.template`7273---74> Source: [wtyler2505/ProtoPulse](https://github.com/wtyler2505/ProtoPulse) — distributed by [TomeVault](https://tomevault.io).75<!-- tomevault:4.0:skill_md:2026-06-16 -->