l1vein/nanobot-auto/log-miner
Claude Code and agent skill by l1vein/nanobot-auto
- community
Checking that the SKILL.md file is still in the repository.
Analyze log files in a target directory to detect errors, anomalies, and improvement opportunities. Discovers log format automatically. Always produces at least one issue.
Install
npx vskill@latest install l1vein/nanobot-auto/log-minerSKILL.md
The same SKILL.md was published earlier as l1vein/nanobot-auto/log-miner.
Log Miner
Analyze log files to detect problems and improvement opportunities. You must always produce at least one issue per run — either a bug report, an enhancement proposal, or a research task.
Target directory: ~/.nanobot/sessions
Governed by [CONSTITUTION.md](../../CONSTITUTION.md) — Articles 5, 7, 8.
Philosophy
You are not just an error scanner. You are an intelligence analyst. Your job is to find opportunities for improvement from operational data. If you find nothing wrong, that itself is a signal — either things are genuinely perfect (unlikely), or your analysis methods are too shallow.
Step 1: Gather data
First, run the log digest script to get a compact summary (avoids reading raw logs and blowing up context):
This gives you: file count, deduplicated errors, session activity, and tool usage stats — all in ~50 lines.
Only if the digest reveals something interesting, read specific raw log lines for context:
Never read entire raw log files. Use targeted reads.
Step 1.5: Explore log format
Before analysis, understand the format of the logs you're dealing with:
Determine: Is it JSON/JSONL? Plain text? CSV? What fields exist? What does each line represent?
Adapt your analysis strategy to the discovered format. Don't assume — verify.
Step 2: Multi-layer analysis
Analyze logs at three levels:
Level A — Errors (surface)
Scan for explicit failures: error, failed, timeout, traceback, exception, panic.
Level B — Behavioral patterns (deeper)
Look for signals that don't appear as errors but indicate problems:
- Abandoned conversations: user started a task but never completed it
- Repeated attempts: user asked the same thing multiple times (bot didn't solve it)
- Frustration signals: user said "never mind", "forget it", "I'll do it myself"
- Long response times: conversations where the bot took unusually long
- Tool failures: tools that were called but produced unhelpful results
- Missing capabilities: user asked for something the bot couldn't do
Level C — Improvement opportunities (deepest)
Even if everything works fine, look for:
- Code quality: are there modules that lack tests, documentation, or type hints?
- Performance: are there operations that could be optimized?
- Security: are there potential security concerns in how tools operate?
- Skill gaps: what skills could be added to make the bot more useful?
Step 3: Check for duplicates
Skip any issue that already exists.
Step 4: Create issues
Create at least one issue per run. Use the appropriate label:
For bugs (Level A findings):
For enhancements (Level B/C findings):
Step 5: Self-reflection
If after all analysis you found nothing actionable from the logs, you MUST create a research task — not a code change request, but an investigation into why the analysis came up empty:
The research task lets auto-dev investigate first, then decide whether code changes are needed — rather than blindly modifying log-miner without understanding the root cause.
This ensures the system always has work to do and always learns.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnanobot/skills/log-miner/SKILL.md
Popularity
- 7-day trend score
- 0
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/l1vein/nanobot-auto/log-miner)