hillstreet-ph/open-connect/debug-mining-engine
Claude Code and agent skill by hillstreet-ph/open-connect
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install hillstreet-ph/open-connect/debug-mining-engineSKILL.md
The same SKILL.md was published earlier as evezart/evez-skills/debug-mining-engine.
Debug Mining Engine
"The answer lies in the darkness" - Transform every debugging session into reusable skills
Overview
The Debug Mining Engine automatically captures debugging sessions and transforms them into three reusable assets:
- Full Skills - Comprehensive methodologies with scripts and templates
- Code Snippets - Quick copy/paste solutions
- Pattern Guides - Conceptual understanding documents
Every bug you fix becomes a permanent asset in your skill arsenal.
When to Use This Skill
Use the Debug Mining Engine when you want to:
- Preserve debugging knowledge instead of losing it
- Build reusable solutions from errors you've fixed
- Create a growing library of debugging patterns
- Reduce time spent on similar issues in the future
- Transform failures into assets
The Philosophy
Traditional debugging:
- Fix the bug → Move on → Forget the solution
- Repeat the same debugging process later
- Knowledge lost, time wasted
Debug Mining:
- Fix the bug → Capture the session → Generate skills
- Reuse the solution next time
- Knowledge preserved, time saved
ROI: Every debugging session becomes an investment that pays dividends forever.
How It Works
Hybrid Detection System
AI Auto-Detection (Passive):
- Monitors shell for error patterns
- Detects failures automatically
- Starts background capture
- Prompts you after detecting a fix
Manual Override (Active):
Smart Prompts:
What Gets Captured
- Error Context: Full error message, stack trace, exit code
- Solution Journey: All attempts (including failures)
- Final Solution: The code/command that worked
- Environment: Working directory, relevant files
- Metadata: Duration, timestamps, tags
What Gets Generated
1. Full Skill (/home/ubuntu/skills/skills/debugging-patterns/[skill-name]/)
2. Code Snippet (/home/ubuntu/debug-snippets/[category]/[name].sh)
3. Pattern Guide (/home/ubuntu/debug-patterns/[name].md)
Setup
Step 1: Install the Monitoring System
This adds debug monitoring to your shell environment.
Step 2: Create Storage Directories
Step 3: Test the System
Usage Examples
Example 1: Automatic Capture
Example 2: Manual Capture
Example 3: Using Generated Skills
Intelligence Features
Pattern Recognition
The system learns from your debugging history:
Proactive Suggestions
Learning Metrics
Scripts Reference
Core Scripts
`setup_monitor.sh` - Install shell monitoring system
`monitor.py` - Error detection and session capture
`analyzer.py` - Pattern analysis and extraction
`generator.py` - Multi-format skill generation
Utility Scripts
`list_sessions.py` - List captured debugging sessions
`stats.py` - Show debug mining statistics
`search_patterns.py` - Search for similar patterns
Templates Reference
`skill_template/` - Template for generated full skills `snippet_template.sh` - Template for code snippets `pattern_template.md` - Template for pattern guides
Best Practices
1. Add Context When Starting Manual Capture
2. Review Generated Skills
Always review generated skills before adding to arsenal:
3. Tag Your Sessions
Add tags to make skills discoverable:
4. Update Existing Skills
If you find a better solution, update the skill:
5. Share Patterns
Export patterns to share with team:
Troubleshooting
Monitor Not Detecting Errors
Problem: Errors not being captured automatically
Solution:
- Check if monitor is installed:
which debug_monitor_command - Reload shell:
source ~/.bashrc - Test manually:
/debug-start "test"
Sessions Not Saving
Problem: Debug sessions not appearing in /home/ubuntu/debug-sessions/
Solution:
- Check directory permissions:
ls -la /home/ubuntu/debug-sessions/ - Check monitor logs:
tail -f /home/ubuntu/debug-mining/monitor.log - Run monitor manually:
python3 scripts/monitor.py --test
Generated Skills Have Errors
Problem: Generated skills contain incorrect code
Solution:
- Review the captured session:
cat /home/ubuntu/debug-sessions/[date]/[session-id].json - Regenerate with corrections:
python3 scripts/generator.py --session [id] --review - Edit manually and mark as reviewed
Success Metrics
Capture Quality
- Accuracy: 95%+ of debugging sessions correctly detected
- Completeness: 90%+ of sessions with full context
- False Positives: <5% non-debugging sessions captured
Skill Quality
- Reusability: Generated skills used 3+ times on average
- Time Saved: 2-5 hours saved per reused skill
- Pattern Coverage: 80%+ of errors have matching patterns
System Impact
- Debugging Time Reduction: 50-75% decrease
- Knowledge Retention: 100% of debugging knowledge preserved
- Arsenal Growth: 10-20 new skills per month
Advanced Features
Custom Analyzers
Create custom pattern analyzers for your specific domain:
Integration with Skill Arsenal
Generated skills automatically integrate with your unified skill arsenal:
Workflow Automation
Chain debugging skills with other skills:
Future Enhancements
- AI-powered root cause analysis using LLMs
- Cross-project pattern recognition
- Team collaboration (share debugging patterns)
- Visual debugging timeline
- Integration with systematic-debugging skill
Related Skills
- systematic-debugging - Methodical debugging approach
- skill-arsenal-builder - Build unified skill collections
- skill-creator - Create new skills from scratch
- feature-verification - Verify fixes work correctly
Time Investment
- Setup: 15 minutes (one-time)
- Per debugging session: 0 minutes (automatic)
- Reviewing generated skills: 5-10 minutes
- ROI: 50-75% reduction in debugging time
Key Takeaway
Every bug you fix becomes a permanent asset.
Stop losing debugging knowledge. Start building a library of solutions that grows with every error you encounter.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/vendor/manus-skills/utility-skills/debug-mining-engine/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hillstreet-ph/open-connect/debug-mining-engine)