A comprehensive Claude Code Agent Skill for integrating with the Hubble Network Platform API.
This skill enables Claude to interact with the Hubble Network Platform API for managing IoT devices, retrieving packet data, configuring webhooks, and monitoring metrics across your Hubble Network deployment.
- Complete API Coverage: 40+ endpoints across 9 resource categories
- Device Management: Register, update, and organize devices with custom tags
- Packet Streaming: Efficient retrieval with continuation token pagination
- Webhook Configuration: Real-time packet delivery with validation
- Metrics & Analytics: Track API usage, packet volumes, and webhook health
- User Management: Invite users and manage access control
- Billing Integration: View invoices and track usage
- Best Practices: Rate limiting, error handling, security patterns
- Code Examples: Python and curl examples for all major operations
claude plugin install github:HubbleNetwork/claude-hubble-cloud-api-skill# Clone repository
git clone https://github.com/HubbleNetwork/claude-hubble-cloud-api-skill.git
# Install locally
claude plugin install file://$(pwd)/claude-hubble-cloud-api-skillclaude plugin listOnce installed, Claude will automatically recognize Hubble API-related tasks:
You: Register a new temperature sensor called "Sensor-001" with my Hubble account
Claude: I'll help you register a new device...
- Hubble Account: Sign up at hubble.com
- API Token: Generate from Dashboard → Developer → API Tokens
- Organization ID: Found in API Tokens section or Organization Settings
- Claude Code: Install from claude.com/claude-code
The skill includes comprehensive documentation:
- SKILL.md - Core skill instructions (loaded by Claude)
- API_REFERENCE.md - Complete endpoint documentation
- WORKFLOWS.md - Step-by-step implementation guides
- EXAMPLES.md - Runnable code examples
- TROUBLESHOOTING.md - Common issues and solutions
- resources/hubble-openapi.yaml - Official OpenAPI specification
You: Register a new device with dev_eui 70B3D54996C4C5A7 and name "Temperature Sensor #1"
Claude: I'll register this device with Hubble...
You: Get all packets from the last 24 hours for warehouse devices
Claude: I'll query packets with the warehouse tag filter...
You: Set up a webhook at https://my-app.com/webhook with batch size 500
Claude: I'll configure the webhook endpoint...
Set environment variables for convenience:
export HUBBLE_API_TOKEN="your-jwt-token"
export HUBBLE_ORG_ID="your-organization-id"Store securely using:
- Environment variables (
.envfiles withpython-dotenv) - AWS Secrets Manager
- HashiCorp Vault
- 1Password / LastPass
Never commit API tokens to version control!
- Bearer token (JWT) authentication
- 16 distinct authorization scopes
- Granular access control
- 3 requests/second per endpoint
- 15 requests/second organization-wide
- Automatic retry with exponential backoff
- Base64 encoding for binary data
- Continuation token pagination
- Batch operations (up to 1,000 devices)
- Webhook validation with secrets
-
Device Onboarding
- Generate credentials → Register → Verify → Flash firmware → Test connectivity
-
Packet Streaming
- Query time range → Process batch → Handle continuation tokens → Decode payloads
-
Webhook Setup
- Implement endpoint → Register with Hubble → Validate tokens → Monitor metrics
-
API Key Rotation
- Create new key → Update applications → Verify → Revoke old key
-
Fleet Management
- List devices → Filter by tags → Prepare updates → Execute batch → Verify
- Documentation: docs.hubble.com
- GitHub Issues: github.com/HubbleNetwork/claude-hubble-cloud-api-skill/issues
- Support Email: support@hubble.com
- Developer Portal: hubble.com/developers
Contributions welcome! Please submit pull requests or open issues for:
- Bug fixes
- Documentation improvements
- New examples or workflows
- Feature requests
MIT License - See LICENSE file for details.
1.0.0
See CHANGELOG.md for version history and updates.
Developed by Hubble Network for the Claude Code community.