Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

script-example

БесплатноБез исполняемых скриптовНе проверен

Example skill demonstrating script execution capabilities. Use when you need to demonstrate how to execute shell, Python, or PHP scripts from within a skill.

ComeOnOliverот ComeOnOliver★ 67 звёзд на GitHub

Об этом скилле

Script Example Skill

This skill demonstrates how to execute scripts from within a skill using the executeScript method.

Available Scripts

  • hello.sh - Simple bash script that prints a greeting
  • analyze.py - Python script that performs basic data analysis
  • process.php - PHP script that processes command-line arguments

Usage

To execute a script from this skill:

$tool = new SkillTool($loader, 'script-example');
$result = $tool->executeScript('hello.sh');

To execute a script with arguments:

$result = $tool->executeScript('process.php', ['arg1', 'arg2']);

Script Execution Features

  • Automatic interpreter detection based on file extension
  • Support for bash (.sh), Python (.py), PHP (.php), Node.js (.js), and Ruby (.rb)
  • Capture of both stdout and stderr
  • Configurable timeout (default: 60 seconds)
  • Proper error handling and reporting

Установить script-example в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл script-example?

Example skill demonstrating script execution capabilities. Use when you need to demonstrate how to execute shell, Python, or PHP scripts from within a skill.

Как установить скилл script-example?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл script-example запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить script-example с