skills$openclaw/script-gen
lxgicstudios6.4k

by lxgicstudios

script-gen – OpenClaw Skill

script-gen is an OpenClaw Skills integration for devops workflows. Generate package.json scripts with AI. Use when setting up npm scripts.

6.4k stars9.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026devops

Skill Snapshot

namescript-gen
descriptionGenerate package.json scripts with AI. Use when setting up npm scripts. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/npm-script-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/npm-script-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains script-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
470 B
SKILL.md
2.0 KB
SKILL.md

name: script-gen description: Generate package.json scripts with AI. Use when setting up npm scripts.

Script Generator

Package.json scripts are powerful but writing them is tedious. Describe what you need and get proper npm scripts.

One command. Zero config. Just works.

Quick Start

npx ai-script "lint, test, build, deploy"

What It Does

  • Generates npm scripts for your workflow
  • Handles complex script chains
  • Includes pre/post hooks
  • Works with any tooling

Usage Examples

# Basic workflow
npx ai-script "lint, test, build, deploy"

# Docker workflow
npx ai-script "docker build, docker push, k8s deploy"

# Full CI
npx ai-script "typecheck, lint, test:unit, test:e2e, build, deploy:staging"

Best Practices

  • Use pre/post hooks - run lint before test
  • Keep them composable - small scripts that chain
  • Document complex ones - add comments
  • Test locally - before CI runs them

When to Use This

  • Setting up new project scripts
  • Adding CI/CD commands
  • Standardizing workflow
  • Learning npm script patterns

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.

npx ai-script --help

How It Works

Takes your workflow description and generates proper npm scripts with correct syntax. Understands common patterns and generates scripts that work together.

License

MIT. Free forever. Use it however you want.


Built by LXGIC Studios

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable. ```bash npx ai-script --help ```

FAQ

How do I install script-gen?

Run openclaw add @lxgicstudios/npm-script-gen in your terminal. This installs script-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/npm-script-gen. Review commits and README documentation before installing.