一键导入
turbo-monitor-debug
Monitor and debug Turbo pipelines. Use when viewing logs, inspecting live data, troubleshooting pipeline issues, or checking pipeline health.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Monitor and debug Turbo pipelines. Use when viewing logs, inspecting live data, troubleshooting pipeline issues, or checking pipeline health.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build a custom proposal template for trezu / a SputnikDAO on NEAR — a JSON "manifest" that becomes a reusable form members fill to file a FunctionCall proposal. Use when someone wants a repeatable proposal form (recurring payment, token mint, contract call, set a value) and needs the manifest JSON to paste into trezu. Self-contained; no repo access needed.
Start or restart the E2E test sandbox (NEAR blockchain + Treasury backend + PostgreSQL). Required before running Playwright E2E tests.
Manage Goldsky secrets for pipeline sink credentials. Use when creating secrets for PostgreSQL, ClickHouse, Kafka, or other sinks, or when managing existing secrets.
Manage Turbo pipeline lifecycle - list, delete, pause, resume, restart pipelines. Use when listing pipelines, deleting pipelines, pausing/resuming, restarting, or managing pipeline state.
Create, configure, and update Turbo pipelines. Use for deploying new pipelines, modifying existing ones, understanding YAML syntax, or troubleshooting configuration.
Write and understand SQL transforms for Turbo pipelines. Use when decoding EVM logs, filtering events, casting types, chaining transforms, combining data with UNION ALL, or building complex data processing logic.
| name | turbo-monitor-debug |
| description | Monitor and debug Turbo pipelines. Use when viewing logs, inspecting live data, troubleshooting pipeline issues, or checking pipeline health. |
Monitor pipeline health, view logs, inspect live data, and troubleshoot issues.
Invoke this skill when the user:
/turbo-monitor-debugWhen this skill is invoked, follow this interactive workflow:
Run goldsky project list 2>&1 to check login status.
If output shows projects: User is logged in. Continue to Step 2.
If output contains "Make sure to run 'goldsky login'":
goldsky-auth-setup skillUse AskUserQuestion to ask:
If "I know the pipeline name":
Ask for the pipeline name or YAML file path.
If "Show me my pipelines":
Run goldsky turbo list to show existing pipelines.
Ask which pipeline they want to monitor.
Use AskUserQuestion to ask:
Based on their selection, follow the appropriate workflow below.
goldsky turbo inspect <pipeline-name>
Or with a YAML file:
goldsky turbo inspect <pipeline.yaml>
This opens an interactive TUI (Terminal User Interface) showing live data.
Explain the keyboard shortcuts:
Navigation:
| Key | Action |
|---|---|
Tab / → | Next tab |
Shift+Tab / ← | Previous tab |
1-9 | Jump to tab by number |
j/k / ↑/↓ | Scroll up/down |
g / Home | Jump to top |
G / End | Jump to bottom |
Page Up / Page Down | Scroll by page |
| Mouse wheel | Scroll up/down |
Search:
| Key | Action |
|---|---|
/ | Start search |
Enter | Execute search |
n | Next match |
N | Previous match |
Esc | Clear search |
Actions:
| Key | Action |
|---|---|
d | Toggle pipeline definition view |
w | Open in web dashboard |
e | Open in web editor |
q / Ctrl+C | Quit |
Tip: Hold
Shiftwhile using the mouse to select and copy text from the TUI.
To focus on a specific source or transform:
goldsky turbo inspect <pipeline-name> -n <node-name>
View multiple nodes:
goldsky turbo inspect <pipeline-name> -n source1,transform1
For more history, increase the buffer:
goldsky turbo inspect <pipeline-name> -b 50000
Default is 10,000 records.
goldsky turbo logs <pipeline-name>
Default shows last 10 lines.
Show more lines:
goldsky turbo logs <pipeline-name> --tail 50
Show logs from last hour:
goldsky turbo logs <pipeline-name> --since 3600
Include timestamps:
goldsky turbo logs <pipeline-name> --timestamps
Follow logs in real-time:
goldsky turbo logs <pipeline-name> --follow
Look for these patterns:
Healthy indicators:
Warning indicators:
Error indicators:
Error: or ERROR messagesUse AskUserQuestion to ask:
Based on their selection, follow the appropriate debugging steps.
Check pipeline status:
goldsky turbo list
Verify the pipeline shows as running.
Check the source configuration:
start_at: latest, pipeline only processes new datastart_at: earliest for testing (will process historical data)Check logs for errors:
goldsky turbo logs <pipeline-name> --tail 50
Verify source dataset exists:
goldsky datasets list | grep <dataset-name>
Get detailed logs:
goldsky turbo logs <pipeline-name> --tail 100 --timestamps
Common error patterns:
| Error Pattern | Likely Cause | Fix |
|---|---|---|
connection refused | Database unreachable | Check network/firewall settings |
authentication failed | Wrong credentials | Update secret with correct credentials |
secret not found | Missing secret | Create secret with goldsky-secrets |
SQL syntax error | Invalid transform SQL | Fix SQL in YAML and redeploy |
duplicate key | Primary key collision | Ensure unique primary key in transform |
If SQL error, validate the pipeline:
goldsky turbo validate <pipeline.yaml>
Inspect each stage of the pipeline:
# Check source data
goldsky turbo inspect <pipeline-name> -n <source-name>
# Check transform output
goldsky turbo inspect <pipeline-name> -n <transform-name>
Compare source vs transform:
goldsky turbo inspect <pipeline-name> -n source1,transform1
Common issues:
WHERE clause too restrictive (filtering out all data)Verify the sink configuration:
from field points to correct source/transformsecret_name matches an existing secretCheck secret exists:
goldsky secret list
Verify secret credentials:
goldsky secret reveal <secret-name>
Test the credentials work outside Goldsky (e.g., psql for PostgreSQL).
Check logs for sink errors:
goldsky turbo logs <pipeline-name> --tail 50 | grep -i error
Check logs around restart time:
goldsky turbo logs <pipeline-name> --tail 100 --timestamps
Common causes:
resource_size)Try increasing resources:
Update resource_size: m or resource_size: l in YAML and redeploy.
goldsky turbo list
Check status column for each pipeline.
goldsky turbo logs <pipeline-name> --tail 20
Look for recent errors or warnings.
goldsky turbo inspect <pipeline-name>
Confirm data is flowing through each node.
After checking, provide a summary:
## Pipeline Health Check
**Pipeline:** [name]
**Status:** [running/stopped/error]
**Observations:**
- ✓ Pipeline is running
- ✓ Data flowing through sources
- ✓ Transforms processing correctly
- ✓ Sinks receiving data
**OR**
- ⚠ [Issue found - description]
- Action: [Recommended fix]
goldsky login)| Action | Command |
|---|---|
| List pipelines | goldsky turbo list |
| View live data | goldsky turbo inspect <name> |
| Inspect specific node | goldsky turbo inspect <name> -n <node> |
| View logs | goldsky turbo logs <name> |
| Follow logs | goldsky turbo logs <name> --follow |
| Logs with timestamps | goldsky turbo logs <name> --timestamps |
| Last N lines | goldsky turbo logs <name> --tail N |
| Logs since N seconds ago | goldsky turbo logs <name> --since N |
| Key | Action |
|---|---|
Tab/→, Shift+Tab/← | Next/prev tab |
1-9 | Jump to tab number |
j/k / ↑/↓ | Scroll |
g/Home, G/End | Top/bottom |
Page Up/Page Down | Scroll by page |
/ → Enter | Search |
n / N | Next/prev match |
Esc | Clear search |
d | Toggle definition |
w | Open web dashboard |
e | Open web editor |
q / Ctrl+C | Quit |
Shift + mouse | Select and copy text |
The TUI automatically reconnects when the pipeline is updated, paused, resumed, or temporarily unavailable. It displays "Reconnecting..." and preserves previously received data. The TUI has a 30-minute timeout — if the pipeline remains unreachable for 30 minutes, it closes automatically.
Detailed error patterns and solutions are in the
data/folder.
| File | Contents |
|---|---|
error-patterns.json | All known error patterns with causes and solutions |
Data location: data/ (relative to this skill's directory)
Use the helper script to quickly analyze pipeline logs:
./scripts/analyze-logs.sh <pipeline-name>
./scripts/analyze-logs.sh <pipeline-name> --tail 100
The script checks for common error patterns and reports findings with recommendations.
| Symptom | Likely Cause | Quick Fix |
|---|---|---|
| No data flowing | start_at: latest | Wait for new data or use earliest |
| Auth failed | Wrong credentials | Update secret with correct password |
| Connection refused | Network/firewall | Check host, whitelist Goldsky IPs |
| Storage exceeded | Neon free tier (512MB) | Upgrade plan or clear data |
| SQL error | Bad transform syntax | Validate YAML first |
| Issue | Action |
|---|---|
| Can't connect to inspect | Check pipeline is running with goldsky turbo list |
| Logs are empty | Pipeline may be new; wait for data or check start_at |
| TUI disconnects | Auto-reconnects within 30 min; check pipeline status |
| Can't find pipeline | Verify correct project with goldsky project list |
/goldsky-auth-setup - Invoke this if user is not logged in/goldsky-secrets - Invoke this if credentials need to be updated/turbo-pipelines - Deploy new pipelines or modify configuration/turbo-lifecycle - List or delete pipelines