runtime-log-forensics

Correlate timestamped logs, state files, and code to debug CryptoMaster runtime anomalies.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/Sanchez-78/crypto-trading-bot --skill runtime-log-forensics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: runtime-log-forensics
Source: https://github.com/Sanchez-78/crypto-trading-bot/tree/main/.claude/skills/runtime-log-forensics
Command: npx skills add https://github.com/Sanchez-78/crypto-trading-bot --skill runtime-log-forensics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates guesswork when debugging runtime anomalies in the CryptoMaster cryptocurrency trading bot, requiring all claims to be tied to concrete log lines, state snapshots, and code execution paths to avoid incorrect root cause assumptions.

Core Features & Use Cases

  • Evidence Collection: Pulls timestamped data from journalctl systemd logs, JSON position snapshots, SQLite trade records, and relevant source code paths for the trading bot.
  • Timeline Reconstruction: Builds precise UTC timelines of trading events to pinpoint exactly when anomalies like unexpected position closures or state corruption occurred.
  • Fact/Hypothesis Separation: Strictly distinguishes verified observable facts from unproven inferences to ensure forensic findings are accurate and actionable.
  • Use Case: If your paper trading positions are closing earlier than their configured timeout, this Skill can correlate log timestamps, position state files, and trade executor code to identify if the wrong timeout variable is being used.

Quick Start

Use the runtime-log-forensics skill to investigate why my CryptoMaster paper positions are closing 10 minutes earlier than their configured 30-minute timeout, pulling journalctl logs, position snapshots, and the relevant trade executor code to find the exact root cause.

Frequently Asked Questions about runtime-log-forensics

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

FAQPage Schema
How do I debug unexpected position timeouts in a crypto trading bot using journalctl and SQLite logs?

To debug unexpected position timeouts in a crypto trading bot, you can extract and correlate timestamped evidence from journalctl logs, SQLite trade records, and position state files. This process builds precise UTC timelines to pinpoint exactly when anomalies like early position closures occur.

What is log forensics for investigating cryptocurrency trading bot state corruption?

Log forensics for investigating cryptocurrency trading bot state corruption is the process of correlating runtime logs, JSON state snapshots, and source code execution paths. It strictly separates verified observable facts from unproven inferences to ensure forensic findings are accurate and actionable.

Why does my paper trading bot close positions earlier than the configured timeout?

Paper trading bot positions closing earlier than the configured timeout often happen when the wrong timeout variable is used in the trade executor code. Correlating log timestamps with position state files and source code paths identifies the exact root cause of the mismatch.

Can I investigate Firebase quota overruns and signal quality degradation using systemd logs?

Yes, you can investigate Firebase quota overruns and signal quality degradation using systemd logs. The forensic process pulls timestamped runtime evidence from journalctl to track unplanned runtime behaviors across both paper and live trading deployments.

How to find the root cause of runtime anomalies by correlating source code with trade execution logs?

To find the root cause of runtime anomalies by correlating source code with trade execution logs, generate evidence-based forensic reports that cite exact log lines, file:line code references, and state snapshots. This eliminates guesswork by tying all claims to concrete execution paths.