yoshiwatanabe avatar

skill-with-scripts

Demonstrates how skills can include executable scripts for automation, calculations, transformations

提供方 yoshiwatanabe|开源

Skill with Scripts

Description: Demonstrates how skills can include executable scripts for automation.

When to use: When a skill needs to perform calculations, transformations, or system interactions.

Workflow

  1. Identify that a scripted action is needed
  2. Execute the appropriate script from scripts/ directory
  3. Process and present the results

Available Scripts

  • helper.py - A Python helper script demonstrating basic execution

Key Points

  • Scripts can be Python, Bash, Node.js, etc.
  • Skills can execute scripts using appropriate tools
  • Scripts extend skill capabilities beyond text processing
  • Scripts should be simple and focused

Example Usage

User asks: "Run the helper script" Response:

  1. Execute scripts/helper.py
  2. Capture and present the output
  3. Explain what the script did

When to Use Scripts

Use scripts when you need to:

  • Perform complex calculations
  • Interact with system utilities
  • Transform data formats
  • Validate configurations
  • Generate dynamic content