Skip to content

About

Example skills repo for Loadout: skill manager for Claude and Codex.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

loadout-example-skills

A sample skills repo for Loadout, a skill manager for Claude and Codex.

This repo is for demonstrating structure and metadata patterns, not for acting as a serious starter library. The examples are intentionally playful and framed as an adventuring kit so the repo matches Loadout's inventory language.

Directory structure

skills/
  debugging-compass/
    skill.json          # Skill metadata and target config
    SKILL.md            # Skill instructions (installed to target)
  bardic-review/
    skill.json
    SKILL.md
  field-rations/
    skill.json
    SKILL.md
  loadout-smith/
    skill.json
    SKILL.md
  signal-flare/
    skill.json
    SKILL.md
  warden-manual/
    skill.json
    SKILL.md
  watchfire-briefing/
    skill.json
    SKILL.md
  shakedown-run/
    skill.json
    SKILL.md

Every skill lives in skills/<name>/ and must contain both skill.json and SKILL.md. name is the canonical identifier and must match the directory name.

skill.json format

{
  "name": "debugging-compass",
  "description": "A shared example skill with per-target metadata for tracing bugs through unfamiliar code.",
  "tags": ["demo", "debugging", "navigation"],
  "targets": ["claude", "codex"],
  "claude": {
    "allowed-tools": "Read Grep Bash",
    "compass-mode": "survey"
  },
  "codex": {
    "approval-mode": "suggest"
  }
}

Required fields

Field Type Rules
name string Canonical identifier. Must match ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$, be at most 64 characters, and match the directory name under skills/.
description string Short description of what the skill does.
targets array Non-empty list. Valid values: "claude", "codex".

Optional fields

Field Type Description
tags array Freeform tags for categorization.
claude object Target-specific config for Claude (see below).
codex object Target-specific config for Codex (see below).

Target-specific config

The claude and codex objects contain key-value pairs that become YAML frontmatter when the skill is installed. For example, given this skill.json:

{
  "name": "bardic-review",
  "targets": ["claude"],
  "claude": {
    "allowed-tools": "Read, Grep",
    "disable-model-invocation": true
  }
}

Loadout strips any frontmatter in the source SKILL.md and rebuilds it per target, so this skill installs with:

---
name: bardic-review
description: An intentional Claude-only example that demonstrates a single-target skill with Claude metadata.
allowed-tools: Read, Grep
disable-model-invocation: true
---

# Bardic Review
...

If a target has no config object (or an empty {}), only name and description appear in the frontmatter.

Codex invocation policy

Codex decides whether to invoke a skill on its own ("implicit invocation"). You control this from the codex block in skill.json. The native, preferred shape is:

{
  "name": "signal-flare",
  "targets": ["codex"],
  "codex": {
    "policy": { "allow_implicit_invocation": false }
  }
}

disable-model-invocation: true is also accepted as a Claude-style compatibility alias (it maps to allow_implicit_invocation: false); when both are present, the native policy wins.

Unlike other metadata, the policy is not written into the installed SKILL.md frontmatter. Loadout materializes it into <skill>/agents/openai.yaml on every Codex install and in shared codex-build/ output, leaving any author-written fields in that file intact. See signal-flare, which disables implicit invocation while keeping a normal approval-mode frontmatter key.

What This Repo Demonstrates

This repo intentionally centers three core structural patterns:

Pattern Example Why it exists
Shared skill, no target metadata field-rations Demonstrates the simplest happy path
Shared skill, per-target metadata debugging-compass Demonstrates one skill with target-specific config
Intentional single-target skill bardic-review Demonstrates that targets are explicit source truth and may be single-target
Codex invocation policy signal-flare Demonstrates disabling Codex implicit invocation, materialized to agents/openai.yaml

Preferred authoring pattern:

  • Default to both targets when the skill is portable
  • Use per-target metadata inside one skill before splitting skills
  • Use single-target only when compatibility or metadata is genuinely target-specific
  • Importers should preserve declared targets rather than silently broadening compatibility

Additional examples in the repo extend those patterns without introducing a new format:

  • watchfire-briefing is another simple shared skill
  • warden-manual shows that one target can have metadata while the other relies on default frontmatter
  • signal-flare demonstrates the reverse single-target case with a Codex-only skill, and disables Codex implicit invocation via codex.policy.allow_implicit_invocation (materialized to agents/openai.yaml on install)
  • loadout-smith demonstrates the preferred in-repo authoring workflow for creating a new Loadout skill and is useful in practice when you want an agent to scaffold one correctly

loadout-smith and shakedown-run are also genuinely useful skills, not just demos. loadout-smith helps an agent author a valid new skill in-repo, while shakedown-run runs a full end-to-end validation of the Loadout CLI itself, exercising every command and fixing issues found along the way.

SKILL.md format

Plain markdown containing the skill instructions. This is the file that gets installed into the target's skills directory (~/.claude/skills/ or ~/.codex/skills/). Write it as instructions for the AI agent.

Example skills

Skill Targets Config Description
field-rations claude, codex No target config Simplest shared skill example
debugging-compass claude, codex Both targets have metadata blocks Shared skill with per-target metadata
bardic-review claude Claude-only metadata example Intentional single-target skill
watchfire-briefing claude, codex No target config Another shared item in the same theme
warden-manual claude, codex Claude metadata only Shared skill where only one target has extra config
signal-flare codex Codex-only metadata + invocation policy Reverse single-target case; disables Codex implicit invocation
loadout-smith claude, codex No target config Useful in-repo authoring example for new Loadout-compatible skills
shakedown-run claude, codex Both targets have allowed-tools; implicit invocation disabled on both End-to-end validation of the Loadout CLI

Usage with Loadout

# Point Loadout at this repo
loadout init --repo /path/to/loadout-example-skills

# List available skills
loadout inventory

# Install a skill for Claude
loadout equip debugging-compass --target claude

# Open the TUI
loadout

Authoring vs. Import

Use the patterns in this repo, especially loadout-smith, when creating a new managed skill directly inside skills/<name>/.

Use import when a skill already exists outside the repo and you want Loadout to copy it into the managed skills/ inventory, either through loadout import or from the TUI with i.

About

Example skills repo for Loadout: skill manager for Claude and Codex.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors