Skip to content
Skill

Script generator

Generates syntax-checked Python, PowerShell or bash scripts for multi-target tasks

Script generator is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
641
Last commit
License
MIT
Listing updated

Similar skills

About Script generator

This skill tells the agent to write standalone scripts on request rather than run them. It is aimed at jobs that have grown past a short snippet, such as work across many hosts, combinations of libraries like impacket with ldap3, or repeated authentication and connection setup.

The workflow starts from a structured request that names the language, task, targets, credentials, available libraries, output format and constraints. The agent then applies a few optimization patterns, including a thread pool for multiple targets, a reusable HTTP session for repeated requests to one host, and a single authentication shared across operations. Scripts are written to an artifacts folder inside an output directory, syntax-checked before being returned, and reported with the path, run command and dependencies.

The guidelines require per-operation error handling without bare except clauses, timeouts on all I/O, and credentials kept as variables at the top of the file rather than hardcoded. The skill ships as a single SKILL.md with no bundled scripts, so it needs an agent that can write files and a Python, PowerShell or bash environment for the user to run the output.

When your agent uses it

Generates optimized, syntax-validated scripts on demand. Never executes — only generates, optimizes, and validates.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/script-generator to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/script-generator &&
cp -R "$tmp/skills/script-generator" ~/.claude/skills/script-generator &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/script-generator inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/script-generator to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/script-generator &&
cp -R "$tmp/skills/script-generator" ~/.agents/skills/script-generator &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/script-generator inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/script-generator to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/script-generator &&
cp -R "$tmp/skills/script-generator" ~/.cursor/skills/script-generator &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/script-generator inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/transilienceai/communitytools.git --path skills/script-generator

Or copy the folder to ~/.gemini/skills/script-generator yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/script-generator:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/script-generator &&
cp -R "$tmp/skills/script-generator" ~/.copilot/skills/script-generator &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/script-generator inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/transilienceai/communitytools.git

Then copy communitytools/skills/script-generator into your agent's skills folder as script-generator. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Structured script requests
Takes a defined request format covering language, targets, credentials, libraries and output expectations.
Concurrent target handling
Switches to a thread pool when one operation has to run across several targets.
Session and auth reuse
Reuses HTTP sessions and tokens so repeated authentication is avoided.
Syntax validation before return
Checks generated code for syntax errors before handing back the script path.
Error handling and timeouts
Requires per-operation error handling and timeouts on all network and file I/O.
Credentials kept as variables
Places secrets in variables at the top of the script instead of hardcoding them.

Good for

  • Write a Python script that checks many hosts in parallel and logs results
  • Build an LDAP and SMB query script combining impacket and ldap3
  • Generate a PowerShell script that connects to several remote machines
  • Create a bash script that calls one API repeatedly with a shared session

Script generator FAQ

Does the skill run the scripts Script generator generates?

No. It only generates, optimizes and validates scripts. The user runs the output themselves.

Which languages does Script generator target?

The request format lists python3, powershell and bash as the supported languages.

When should the skill be used?

It is meant for scripts longer than about 30 lines, multi-target operations, multi-library patterns, and repeated auth or connection setup.

Does Script generator come with bundled scripts or dependencies?

No scripts are bundled. The skill is a single SKILL.md file.

How do I install Script generator in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/script-generator to use it in all your projects, or to .claude/skills/script-generator in one project.

Does Script generator run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Script generator?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Script generator?

The closest alternatives to Script generator are Skill creator, Skill writer, Skill creator, Skill creator and Batch script progress.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from transilienceai/communitytools

  1. Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications

    • Open source
    • 641 GitHub stars
    • Security
  2. Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs

    • Open source
    • 641 GitHub stars
    • Security
  3. Chains confirmed single-asset findings into multi-hop attack paths across an organization

    • Open source
    • 641 GitHub stars
    • Security
  4. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA

    • Open source
    • 641 GitHub stars
    • Security
  5. Guides an agent through Solidity smart contract security testing and blockchain CTF

    • Open source
    • 641 GitHub stars
    • Security