claw-skills-creator
v1.0.0
Published
Template for creating Claw AI skill projects
Maintainers
Readme
Claw Skills Creator
A template for creating Claw AI skill projects.
Installation
npm install -g claw-skills-creatorUsage
Create a new Claw skill project:
create-claw-skill <skill-name> --base-url <url> [--x-api-key <key>]Parameters
skill-name(required): The name of your skill/project--base-url(required): The base URL for the API--x-api-key(optional): The API key for authentication (can be empty)
Examples
# Create a skill with API key
create-claw-skill my-skill --base-url https://api.example.com --x-api-key sk-1234567890abcdef
# Create a skill without API key
create-claw-skill my-skill --base-url https://api.example.comWhat's Included
The template creates a TypeScript project with:
- Basic TypeScript configuration
- Axios for HTTP requests
- QS for query string parsing
- Build scripts for development and production
Project Structure
my-skill/
├── src/
│ └── index.ts # Main entry point with configured API settings
├── package.json # Project configuration
├── tsconfig.json # TypeScript configuration
└── .gitignore # Git ignore fileDevelopment
After creating your project:
cd my-skill
npm install
npm run buildAvailable Scripts
npm run dev- Run in development mode with ts-nodenpm run build- Build the projectnpm run dev:watch- Watch mode for developmentnpm run build:watch- Watch mode for buildingnpm start- Run the built project
Publishing to npm
To publish this template to npm:
- Update the version in
package.json - Login to npm:
npm login - Publish:
npm publish
License
ISC
