Debug Local
Quickly isolate and resolve local data pipeline errors using Lightdash's debug-local tool.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add debug-local npx -- -y @trustedskills/debug-local
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"debug-local": {
"command": "npx",
"args": [
"-y",
"@trustedskills/debug-local"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The debug-local skill allows an AI agent to execute and inspect local files. This is useful for debugging code, examining configuration files, or interacting with locally stored data that the agent needs to understand. It provides a way for agents to troubleshoot issues without relying on external APIs or services. The skill facilitates more complex reasoning by enabling direct access to local resources.
When to use it
- Debugging Code: An agent is generating incorrect code and you need it to inspect its own source files for errors.
- Configuration Analysis: An agent needs to understand the contents of a local configuration file to perform a task correctly.
- Local Data Inspection: The agent requires access to data stored locally (e.g., a CSV file) to inform its decision-making process.
- Troubleshooting Agent Behavior: When an agent is exhibiting unexpected behavior, you can use this skill to examine the files it's interacting with.
Key capabilities
- Execute local files
- Inspect contents of local files
- Access and analyze locally stored data
Example prompts
- "Can you run
my_script.pyand show me the output?" - "What is the value of
api_keyin my.envfile?" - "Please read the contents of
data.csvand summarize the first 5 rows."
Tips & gotchas
The agent will need appropriate permissions to access and execute files on the local system. Be mindful of security implications when granting these permissions, especially if the agent is running in a shared 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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.