ChatTwo Debug

Analyze ChatTwo debug logs from the SND plugin's SQLite database for bug evidence.

1|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/vaoan/SND --skill chattwo-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ChatTwo Debug
Source: https://github.com/vaoan/SND/tree/main/.claude/skills/chattwo-debug
Command: npx skills add https://github.com/vaoan/SND --skill chattwo-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables reading and analyzing debug output from the ChatTwo plugin's SQLite database, turning raw binary log data into readable evidence for bug analysis.

Core Features & Use Cases

  • Read and filter Echo channel messages (Code 56) to see script output.
  • Identify complete script runs by header/footer patterns and group related messages.
  • Retrieve complete runs for offline examination and bug reproduction, including extracting headers like [CosmicLeveling] === ... and associated DEBUG lines.

Quick Start

Run a basic query to fetch recent Echo messages and locate script run headers, then pull all messages for a chosen run for analysis.

Frequently Asked Questions about ChatTwo Debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read ChatTwo logs to debug SND scripts?

You can read ChatTwo logs to debug SND scripts by querying the plugin's SQLite database to filter Echo channel messages (Code 56) and identify script output. This extracts raw binary log data and converts it into readable evidence for bug analysis.

How do I extract complete script runs from a ChatTwo SQLite database?

Extract complete script runs from a ChatTwo SQLite database by locating header and footer patterns like [CosmicLeveling] === ... and grouping associated DEBUG lines. This structures the raw messages into complete runs for offline examination and bug reproduction.

What is the Code 56 message in ChatTwo log analysis?

Code 56 in ChatTwo log analysis identifies Echo channel messages that contain script output. Filtering for Code 56 allows you to isolate SND script text from other database entries and handle binary BLOB prefixes to read the actual debug data.

Can I use this approach to analyze binary BLOB prefixes in ChatTwo logs?

Yes, you can analyze binary BLOB prefixes in ChatTwo logs by applying specific handling logic during the SQLite database query. This process strips the binary prefix from Code 56 messages, structuring the raw data into readable text for bug analysis.

Do I need any external dependencies to query the ChatTwo SQLite database?

No external dependencies are required to query the ChatTwo SQLite database for bug analysis. The process relies on standard database querying techniques to locate script run headers and assemble complete runs for review without additional libraries.