skillox init

Scaffold a new SKILL.md with secure-by-default frontmatter. Three templates, no network egress by default, scoped reads. The fastest way to start clean.

Usage

# In the current directory (creates ./SKILL.md)
skillox init

# Create a new folder with the skill inside
skillox init my-skill

# Pick a template
skillox init my-skill --template knowledge

# Override the name in the frontmatter
skillox init my-skill --name "@org/my-skill"

# Overwrite an existing SKILL.md (otherwise errors with exit 1)
skillox init --force

Templates

Three opinionated templates, each tuned to a different shape of skill. All declare capabilities explicitly so the scanner has something to audit; none grant network egress by default.

What gets generated

my-skill/
├── SKILL.md                 # frontmatter + body, secure-by-default
└── tests/
    └── prompt-suite.md      # starter prompts for skillox test (coming soon)

Example: the tool template

---
name: my-skill
version: 0.1.0
description: |
  One-line description of what this skill does.
capabilities:
  filesystem:
    read: ["./src/**"]
---

# my-skill

What this skill does. Be specific — agents read this to decide when to invoke you.

## When to use

Describe the trigger conditions: file types, user intents, project shape.

## Behavior

Step-by-step what happens when the agent invokes the skill.

## Out of scope

What this skill explicitly does NOT do. Helps the agent route correctly.

What "secure-by-default" means here

Every template lands clean against the SkillOx scanner — zero findings, grade A. The choices baked in:

Exit codes

Next step

Edit the generated SKILL.md to describe what your skill actually does, then run skillox lint to audit your work before committing.