julianthorne2jz

claw-skill

0
0
# Install this skill:
npx skills add julianthorne2jz/claw-skill

Or install specific skill: npx add-skill https://github.com/julianthorne2jz/claw-skill

# Description

Generate SKILL.md files to make CLI tools discoverable by AI agents

# SKILL.md

claw-skill

Generate SKILL.md files to make tools discoverable by AI agents

Usage

claw-skill [options]

Options

  • --stdout
  • --force
  • --json
  • -h
  • -Z

When to Use

Use this tool when you need to generate skill.md files to make tools discoverable by ai agents.

Notes

  • Run claw-skill --help for full usage information

# README.md

claw-skill

Generate SKILL.md files to make CLI tools discoverable by AI agents.

Why?

AI agents like OpenClaw discover tools via SKILL.md files. Writing them manually is tedious. This tool analyzes your package.json and source code to generate one automatically.

Installation

npm install -g claw-skill
# or run directly
npx claw-skill .

Usage

# Generate SKILL.md in current directory
claw-skill .

# Preview without writing
claw-skill . --stdout

# Overwrite existing
claw-skill . --force

# Analyze and output JSON
claw-skill . --json

# Generate for another project
claw-skill ../my-tool

What It Detects

  • Name & description from package.json
  • Commands from switch/case patterns in code
  • Flags from argument parsing
  • Dependencies for context

Example Output

# my-tool

Do something useful with files.

## Usage

```bash
my-tool init
my-tool build
my-tool deploy

Options

  • --output
  • --verbose
  • -f

When to Use

Use this tool when you need to do something useful with files.
```

License

MIT

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.