Agent Skill Kit

Skill Creator

A meta-skill that teaches AI agents how to create skills for Agent Skill Kit.

Purpose

This skill enables AI agents to autonomously create new skills directly within the Agent Skill Kit repository. When you’re working inside an AI agent (Antigravity, Claude Code, Gemini CLI, Codex), you can ask the agent to create a skill and it will follow this workflow.

Key Insight: AI-assisted skill creation happens inside the AI agent environment, not via external API calls. The AI reads this skill and generates the skill files directly.

How to Use

Inside an AI Agent Environment

Simply ask your AI agent:

Create a new skill called "git-workflow" that teaches best practices for Git branching and commits.

The AI agent will:

  1. Read this skill-creator workflow
  2. Generate appropriate skill.yaml, README.md, and SKILL.md
  3. Write them to the correct location in skills/
  4. Update the main README.md to include the new skill in the tables

Via CLI (Interactive)

ask create skill

This starts an interactive prompt for manual skill creation.


Skill Creation Workflow

Step 1: Understand Requirements

When asked to create a skill, clarify:

Step 2: Choose a Name

Skill names must follow these rules:

[!IMPORTANT] All skills MUST have the ask- prefix. This is a mandatory naming convention.

✓ Good: ask-python-refactor, ask-git-workflow, ask-code-review, ask-api-design
✗ Bad:  python-refactor, MySkill, skill_1, 1st-skill, x

Step 3: Determine Category

Category Use For
coding Programming techniques, languages, refactoring
reasoning Problem-solving, analysis, decision-making
tooling Tools, workflows, automation, meta-skills
other Everything else

Step 4: Generate skill.yaml

Create the metadata file:

name: skill-name
version: 1.0.0
category: coding|reasoning|tooling|other
description: Brief one-line description (max 100 chars)
tags:
  - relevant
  - descriptive
  - tags
agents:
  - codex
  - gemini
  - claude
  - antigravity

Step 5: Generate README.md

Write comprehensive documentation:

# Skill Title

Brief description of what this skill does and why it's useful.

## Purpose

Explain the problem this skill solves and its goals.

## Usage

How to apply this skill effectively. Include:
- Step-by-step instructions
- Key principles
- Decision criteria

## Examples

Concrete examples demonstrating the skill:
- Before/after code samples
- Common scenarios
- Edge cases

## Best Practices

- Important tips
- Common pitfalls to avoid
- Performance considerations

## Notes

Additional context, limitations, or related skills.

Step 6: Generate SKILL.md

Create the agent-consumable file that combines metadata and instructions:

---
name: skill-name
description: Brief description
---

# Skill Title

(Full content from README.md goes here)

[!IMPORTANT] SKILL.md MUST include the YAML frontmatter at the top.

Step 7: Write Files

Create the skill directory structure:

skills/<category>/<skill-name>/
skills/<category>/<skill-name>/
├── skill.yaml    # Metadata
├── README.md     # Documentation
└── SKILL.md      # Protocol for Agent (Metadata + Content)

Location: /path/to/agent-skill-kit/skills/<category>/<skill-name>/

Step 8: Update Main README

You MUST update the root README.md of the repository:

  1. Find the “Available Skills” section.
  2. Locate the correct category table (Coding, Planning, Tooling).
  3. Add a new row to the table with your new skill.

Step 9: Verify

Check that:


Quality Guidelines

Do

Don’t


Example: Creating a Skill

User Request: “Create a skill for writing clean Python docstrings”

AI Response:

  1. Name: ask-python-docstrings
  2. Category: coding
  3. Files created:

skills/coding/ask-python-docstrings/skill.yaml:

name: ask-python-docstrings
version: 1.0.0
category: coding
description: Guidelines for writing clear, consistent Python docstrings
tags:
  - python
  - documentation
  - docstrings
  - clean-code
agents:
  - codex
  - gemini
  - claude
  - antigravity

skills/coding/ask-python-docstrings/README.md:

# Python Docstrings

Guidelines for writing clear, consistent Python docstrings.

## Purpose
...

Distributing This Skill

Copy this skill to your AI agents:

# Copy to all agents
ask copy codex --skill skill-creator
ask copy gemini --skill skill-creator
ask copy claude --skill skill-creator
ask copy antigravity --skill skill-creator

# Or sync all at once
ask sync all

Once copied, your AI agents will have this workflow available and can create new skills autonomously!