Line Execution Checker
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.
Run in terminal (recommended)
claude mcp add line-execution-checker npx -- -y @trustedskills/line-execution-checker
Or manually add to ~/.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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.