dotharness/dotcraft/dotcraft-error-diagnosis
Claude Code and agent skill by dotharness/dotcraft
- community
Checking that the SKILL.md file is still in the repository.
Diagnose DotCraft Hub, AppServer, startup, process, request, provider, agent, tool, context, or session failures from operational logs and workspace evidence. Use when DotCraft fails to start or stay running, a request or turn errors, a thread cannot resume, a tool behaves unexpectedly, or logs, rollout, state, and traces must be correlated.
Install
npx vskill@latest install dotharness/dotcraft/dotcraft-error-diagnosisSKILL.md
DotCraft Error Diagnosis
Use persisted evidence to explain a DotCraft failure. Check operational logs first. For thread failures, treat rollout JSONL as the authority for thread history and use state.db for projections, runtime state, and traces.
Safety
- Keep diagnosis read-only. Do not edit logs,
state.db, or rollout files unless the user asks for repair. - Read SQLite with
mode=ro; copy evidence to a temporary directory before using a client that may write. - Do not dump prompts, model output, tool arguments/results, provider history entries, credentials, or raw trace JSON. Use bounded sanitized previews only when necessary.
- Cite log timestamps/categories, rollout lines/items, or trace event IDs for each conclusion.
Workflow
- Set the failure window. Record the approximate local time, workspace, component, and any thread, Turn, request, process, or connection ID.
- Check operational logs. Read the newest files around that window:
- Hub:
~/.craft/logs/dotcraft-hub-*.log - Workspace host:
<workspace>/.craft/logs/dotcraft-*.log - Read the applicable
Logging.Directorysetting before assuminglogs.Logging.Enabled, retention, or a custom directory can explain missing files. - For managed AppServer startup, inspect both the Hub log and the target workspace log.
- Correlate timestamp, severity, PID, category, and scopes such as
Module,WorkspacePath,RequestMethod,RequestId,ThreadId, andTurnId.
- Inspect thread evidence when relevant. Run the bundled summarizer against the matching rollout and database:
- Reconstruct current thread state.
- Apply
turn_state_replacedby Turn ID and let it replace earlier incremental state for that Turn. - Apply
thread_rolled_backbefore reporting Turns; ignore rolled-back tail Turns as current evidence. - Report model and provider history only as schema, boundary, count, source, reason, and validation metadata.
- Correlate state and traces.
- Read
trace_session_bindingsforroot_thread_id = thread_id. The main session often hasbinding_kind = threadMain; subagents and maintenance forks may have different session keys. - Inspect
trace_sessionscounters, duration, finish reason, maintenance forks, and prompt drift. - Query
trace_eventsbysession_keyand timestamp. Prioritize events withtype = 'Error', tool failures, unusual finish reasons, or a failed request immediately before the rolloutErroritem.
- Conclude from the strongest evidence. Separate a confirmed root cause from an inference. Recommend the smallest durable fix and relevant regression test.
Output
- Finding: root cause or most likely failure class.
- Evidence: 3-6 bullets with timestamps, rollout line/item IDs, trace event IDs, and table names.
- Fix: concrete remediation steps.
- Residual risk: what remains uncertain and what extra evidence would settle it.
Security
- Security scanPassed, 95 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 repositoryCheckingdesktop/resources/plugins/dotcraft-bundled/plugins/dotcraft/skills/dotcraft-error-diagnosis/SKILL.md
Popularity
- 7-day trend score
- 5
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/dotharness/dotcraft/dotcraft-error-diagnosis)