0g-compute
0G Compute Network guide for decentralized AI inference, fine-tuning, and GPU services. Covers chatbots, image generation, speech-to-text, SDK integration (0g-serving-broker), processResponse API, broker.inference methods, CLI commands (0g-compute-cli), and account management. Use this skill for any 0G compute, 0G AI, or decentralized GPU question.
npx skills add internet-court/internet-court-skill --skill 0g-compute --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 0G Compute Network This skill provides instructions for building with the 0G Compute Network — a decentralized GPU marketplace for AI inference and model fine-tuning. Follow these patterns exactly when generating code. ## Code Generation Rules 1. Copy code patterns from this skill verbatim. Do NOT generate from training data. 2. Call `processResponse()` after every API response (see processResponse section below). 3. Use environment variables for private keys. Never hardcode secrets. 4. Route users to testnet for initial development. When unsure about a pattern, reference the detailed guides: - Inference patterns: [references/inference.md](references/inference.md) - Fine-tuning workflow: [references/fine-tuning.md](references/fine-tuning.md) - Account management: [references/account-management.md](references/account-management.md) - Production examples: [references/examples/](references/examples/README.md) ## Network Information | Network | RPC URL | Inference | Fine-tuning | |---------|---------|-----------|-------------| | Mainnet | `https://evmrpc.0g.ai` | Yes | Yes | | Testnet | `https://evmrpc-testnet.0g.ai` | Yes | Yes | Model availability changes frequently. Always use `br
- Code Generation Rules
- Network Information
- Prerequisites
- Quick Setup
- Inference (SDK)
- processResponse (CRITICAL)
- chatID Retrieval by Service Type
- Fine-tuning
- Account Management
- CLI Quick Reference
- Troubleshooting
- Resources
node --version # Must be >= 22.0.0 pnpm add @0glabs/0g-serving-broker # SDK for applications pnpm add @0glabs/0g-serving-broker -g # CLI for direct usage Inference Fine-tuning Web UI
What does the 0g-compute skill do?
0G Compute Network guide for decentralized AI inference, fine-tuning, and GPU services. Covers chatbots, image generation, speech-to-text, SDK integration (0g-serving-broker), processResponse API, broker.inference methods, CLI commands (0g-compute-cli), and account management. Use this skill for any 0G compute, 0G AI, or decentralized GPU question.
How do I install it?
Run `npx skills add internet-court/internet-court-skill --skill 0g-compute --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.