Script Evaluator

🌐Community
by gonglingrui · vlatest · Repository

This tool analyzes scripts for potential issues and suggests improvements, boosting code quality and reducing errors.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add gonglingrui-script-evaluator npx -- -y @trustedskills/gonglingrui-script-evaluator
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "gonglingrui-script-evaluator": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/gonglingrui-script-evaluator"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill allows an AI agent to execute and evaluate Python scripts provided as input. It can parse the script, run it in a sandboxed environment, and return the output or results of the execution. This enables agents to perform calculations, data manipulation, and other programmatic tasks directly within their workflow.

When to use it

  • Performing complex calculations: When you need an agent to calculate something beyond simple arithmetic, like financial modeling or statistical analysis.
  • Data transformation: Use it to manipulate structured data (e.g., lists, dictionaries) based on a set of rules defined in Python code.
  • Automated reporting: Generate reports by running scripts that pull data from various sources and format it into a desired output.
  • Simple simulations: Execute short simulation scripts to explore different scenarios or test hypotheses.

Key capabilities

  • Python script execution
  • Sandboxed environment for security
  • Output retrieval of script results

Example prompts

  • "Calculate the factorial of 10 using a Python script."
  • "Run this Python code: print(2 + 2) and tell me the result."
  • "Evaluate this script to determine the average of these numbers: [1, 2, 3, 4, 5]."

Tips & gotchas

The skill requires a basic understanding of Python syntax. Complex scripts or those requiring external libraries may not function correctly within the sandboxed environment.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
gonglingrui
Installs
9

🌐 Community

Passed automated security scans.