Debugging Streamlit
Automatically identifies and suggests fixes for common errors in Streamlit applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add debugging-streamlit npx -- -y @trustedskills/debugging-streamlit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"debugging-streamlit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/debugging-streamlit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to interact with Streamlit applications directly, allowing them to inspect state, modify variables, and trigger reruns within a live app session. It bridges the gap between code execution and UI interaction for debugging purposes.
When to use it
- Debugging complex state management issues in Streamlit dashboards where variable changes aren't immediately visible.
- Simulating user interactions to verify how an app behaves under specific input conditions without manual testing.
- Isolating logic errors by programmatically resetting app state and re-executing specific parts of the script.
- Validating data flow between different widgets in a multi-step Streamlit form or application.
Key capabilities
- Direct inspection of current application state and variable values.
- Programmatic modification of existing variables to test conditional logic.
- Triggering app reruns to observe immediate effects of state changes.
- Integration with the Streamlit runtime environment for real-time feedback.
Example prompts
- "Inspect the current value of the
user_datavariable in this running Streamlit app." - "Set the
is_logged_inflag to false and rerun the app to see how the dashboard updates." - "Trigger a rerun of the script after modifying the
filter_criteriainput to check for errors."
Tips & gotchas
Ensure the target Streamlit application is running in an environment accessible to the AI agent's execution context. This skill is specifically designed for debugging; do not use it to alter production data or persist changes outside the session scope.
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 |
🏢 Official
Published by the company or team that built the technology.