vm-infrastructure-ops — community vm-infrastructure-ops, gapless-network-data, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Cloud Management Agents requiring advanced GCP VM troubleshooting and management capabilities. Multi-chain blockchain network metrics collection with zero-gap guarantee (Ethereum, Bitcoin, Solana)

terrylica terrylica
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The vm-infrastructure-ops skill by terrylica is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Cloud Management Agents requiring advanced GCP VM troubleshooting and management capabilities.

Core Value

Empowers agents to troubleshoot and manage GCP e2-micro VMs running eth-realtime-collector, leveraging systemd, journalctl, and gcloud compute for real-time blockchain network metrics collection and zero-gap guarantee across Ethereum, Bitcoin, and Solana.

Capabilities Granted for vm-infrastructure-ops

Debugging VM service downtime and systemd failures
Resolving real-time data stream interruptions to ClickHouse
Troubleshooting VM network issues and DNS resolution failures
Restarting services and viewing logs for eth-collector

! Prerequisites & Limits

  • Requires GCP account and e2-micro VM setup
  • Specific to eth-realtime-collector and GCP environment
  • Dependent on systemd and journalctl for service management
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

vm-infrastructure-ops

Install vm-infrastructure-ops, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

VM Infrastructure Operations

Version: 1.0.0 Last Updated: 2025-11-13 Purpose: Troubleshoot and manage GCP e2-micro VM running eth-realtime-collector

When to Use

Use this skill when:

  • VM service down, "eth-collector" systemd failures
  • Real-time data stream stopped (ClickHouse not receiving blocks)
  • VM network issues, DNS resolution failures
  • Need to check service status, view logs, or restart services
  • Keywords: systemd, journalctl, eth-collector, gcloud compute

Prerequisites

  • GCP project access: eonlabs-ethereum-bq
  • VM instance: eth-realtime-collector in zone us-east1-b
  • gcloud CLI configured with appropriate credentials

Workflows

1. Check Service Status

Check if eth-collector systemd service is running:

bash
1gcloud compute ssh eth-realtime-collector --zone=us-east1-b \ 2 --command='sudo systemctl status eth-collector'

Expected Output (healthy):

● eth-collector.service - Ethereum Real-Time Collector
   Loaded: loaded (/etc/systemd/system/eth-collector.service; enabled)
   Active: active (running) since ...

Alternative (use provided script):

bash
1.claude/skills/vm-infrastructure-ops/scripts/check_vm_status.sh

2. View Logs (Live Tail)

Stream real-time logs from the collector service:

bash
1gcloud compute ssh eth-realtime-collector --zone=us-east1-b \ 2 --command='sudo journalctl -u eth-collector -f'

What to Look For:

  • "Block inserted" messages every ~12 seconds (healthy)
  • gRPC errors, DNS resolution failures (unhealthy)
  • "Connection refused" or "Metadata server unreachable" (network issues)

3. View Recent Logs (Last 100 Lines)

bash
1gcloud compute ssh eth-realtime-collector --zone=us-east1-b \ 2 --command='sudo journalctl -u eth-collector -n 100'

4. Restart Service

Restart the collector service after configuration changes or to recover from errors:

bash
1gcloud compute ssh eth-realtime-collector --zone=us-east1-b \ 2 --command='sudo systemctl restart eth-collector'

Alternative (use provided script with pre-checks):

bash
1.claude/skills/vm-infrastructure-ops/scripts/restart_collector.sh

When to Use:

  • After deploying code updates
  • Recovering from gRPC metadata validation errors
  • After Secret Manager credential updates

5. VM Hard Reset

Hard reset the VM instance (use as last resort):

bash
1gcloud compute instances reset eth-realtime-collector --zone=us-east1-b

When to Use:

  • VM network connectivity completely lost
  • DNS resolution failures
  • Metadata server unreachable
  • Service restart doesn't resolve issues

Warning: This forcefully restarts the VM. All in-memory state is lost.

6. Verify Data Flow

After restarting services, verify data is flowing to ClickHouse:

bash
1cd 2doppler run --project aws-credentials --config prd -- python3 -c " 3import clickhouse_connect 4import os 5client = clickhouse_connect.get_client( 6 host=os.environ['CLICKHOUSE_HOST'], 7 port=8443, 8 username='default', 9 password=os.environ['CLICKHOUSE_PASSWORD'], 10 secure=True 11) 12result = client.query('SELECT MAX(timestamp), MAX(number) FROM ethereum_mainnet.blocks FINAL') 13print(f'Latest block: {result.result_rows[0][1]:,} at {result.result_rows[0][0]}') 14"

Expected Output (healthy):

Latest block: 23,800,000+ at <within last 60 seconds>

Common Failure Modes

See VM Failure Modes for detailed troubleshooting guide.

Quick Reference:

SymptomLikely CauseSolution
Service status: failedgRPC metadata errorCheck logs, restart with .strip() fix
No blocks for >5 minutesNetwork connectivityCheck network, reset VM if needed
DNS resolution errorsMetadata server unreachableVM hard reset
"Connection refused"Service not runningRestart service

Systemd Commands

See Systemd Commands Reference for complete systemd operations.

Quick Reference:

bash
1# Status 2sudo systemctl status eth-collector 3 4# Start 5sudo systemctl start eth-collector 6 7# Stop 8sudo systemctl stop eth-collector 9 10# Restart 11sudo systemctl restart eth-collector 12 13# Enable (start on boot) 14sudo systemctl enable eth-collector 15 16# Disable (don't start on boot) 17sudo systemctl disable eth-collector 18 19# View service logs 20sudo journalctl -u eth-collector 21 22# Follow logs live 23sudo journalctl -u eth-collector -f

Operational History

Infrastructure Recovery (2025-11-10 07:00 UTC):

  • VM network failure detected (DNS resolution failed, metadata server unreachable)
  • Recovery: VM reset restored network connectivity
  • eth-collector service restarted with .strip() fix (gRPC metadata validation resolved)
  • Real-time data flow confirmed: blocks streaming every ~12 seconds
  • Database verified: 23.8M blocks (2015-2025), latest block within seconds

Maintainability SLO Achievement: Critical infrastructure failure (VM network down) resolved in <30 minutes (VM reset + service restart + verification).

Scripts

References

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is vm-infrastructure-ops?

Ideal for Cloud Management Agents requiring advanced GCP VM troubleshooting and management capabilities. Multi-chain blockchain network metrics collection with zero-gap guarantee (Ethereum, Bitcoin, Solana)

How do I install vm-infrastructure-ops?

Run the command: npx killer-skills add terrylica/gapless-network-data/vm-infrastructure-ops. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for vm-infrastructure-ops?

Key use cases include: Debugging VM service downtime and systemd failures, Resolving real-time data stream interruptions to ClickHouse, Troubleshooting VM network issues and DNS resolution failures, Restarting services and viewing logs for eth-collector.

Which IDEs are compatible with vm-infrastructure-ops?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for vm-infrastructure-ops?

Requires GCP account and e2-micro VM setup. Specific to eth-realtime-collector and GCP environment. Dependent on systemd and journalctl for service management.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add terrylica/gapless-network-data/vm-infrastructure-ops. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use vm-infrastructure-ops immediately in the current project.

Related Skills

Looking for an alternative to vm-infrastructure-ops or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI