Line Execution Checker

🌐Community
by gadievron · vlatest · Repository

This tool verifies if each line in a generated code block executes correctly, ensuring your AI's output functions as intended and avoids 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 line-execution-checker npx -- -y @trustedskills/line-execution-checker
2

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

~/.claude/settings.json
{
  "mcpServers": {
    "line-execution-checker": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/line-execution-checker"
      ]
    }
  }
}

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

About This Skill

What it does

The Line Execution Checker skill allows an AI agent to verify the correctness of code execution line-by-line. It can be used to debug complex scripts, ensure accuracy in calculations, and validate logic within a program. This skill provides a detailed trace of each executed line, enabling precise identification of errors or unexpected behavior.

When to use it

  • Debugging intricate Python scripts: Pinpoint the exact line causing an error when dealing with complex algorithms.
  • Validating financial calculations: Ensure accuracy in automated trading bots or accounting systems by verifying each step.
  • Testing data processing pipelines: Confirm that transformations are applied correctly at each stage of a data pipeline.
  • Auditing AI agent actions: Review the reasoning and execution steps taken by an AI agent to ensure transparency and accountability.

Key capabilities

  • Line-by-line code tracing
  • Detailed error reporting
  • Support for Python scripts
  • Debugging complex algorithms

Example prompts

  • "Debug this Python script: [script content] and show me the output of each line."
  • "Trace the execution of this function: [function definition] and report any errors encountered."
  • “Verify that this calculation is correct, showing me each step.”

Tips & gotchas

The skill currently only supports Python scripts. Ensure your script is properly formatted and includes necessary imports for accurate tracing.

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
gadievron
Installs
10

🌐 Community

Passed automated security scans.