linode-api
БесплатноБез исполняемых скриптовНе проверенLinode API Documentation
Об этом скилле
Linode-Api Skill
Comprehensive assistance with the Linode API - a RESTful API for programmatically managing Linode cloud infrastructure including compute instances, networking, storage, domains, and billing.
When to Use This Skill
This skill should be triggered when:
- Working with Linode cloud infrastructure programmatically
- Creating, managing, or monitoring Linode instances (virtual machines)
- Automating Linode infrastructure with API calls
- Implementing Linode OAuth applications
- Managing Linode account, billing, or payment methods
- Working with Linode networking (DNS, NodeBalancers, VLANs)
- Debugging Linode API authentication or request issues
- Implementing infrastructure as code with Linode
- Integrating Linode services into applications
- Managing Linode Kubernetes Engine (LKE) clusters
Quick Reference
Authentication with Personal Access Token
from linode import LinodeClient
# Initialize client with your personal access token
token = "your-personal-access-token"
client = LinodeClient(token)
Getting a token: Log into cloud.linode.com → Profile → "Create a Personal Access Token"
List All Linode Instances
# Retrieve all Linodes on your account
my_linodes = client.linode.get_instances()
# Iterate and display instance labels
for linode in my_linodes:
print(linode.label)
Create a New Linode Instance (Python)
# Get available regions
available_regions = client.get_regions()
chosen_region = available_regions[0]
# Create instance with region, type, and image
new_linode, password = client.linode.create_instance(
chosen_region,
'g5-standard-4',
image='linode/debian9'
)
# Display SSH connection info
print(f"ssh root@{new_linode.ipv4[0]} - {password}")
Create a Linode Instance (cURL)
curl -X POST https://api.linode.com/v4/linode/instances \
-H "Authorization: Bearer <your-token>" \
-H "Content-Type: application/json" \
-d '{
"type": "g5-standard-2",
"region": "us-east",
"image": "linode/debian12",
"root_pass": "secure_password_here",
"label": "prod-web-1"
}'
Get Account Information
curl https://api.linode.com/v4/account \
-H "Authorization: Bearer <your-token>"
List Invoices
curl https://api.linode.com/v4/account/invoices \
-H "Authorization: Bearer <your-token>"
Check Regional Service Availability
curl https://api.linode.com/v4/account/availability \
-H "Authorization: Bearer <your-token>"
Install Python Library
# Install the official Python library
pip install linode-api
# Or from source
git clone [email protected]:Linode/python-linode-api
cd python-linode-api
python setup.py install
Basic Python Setup Pattern
from linode import LinodeClient
# Initialize the client
token = "your-personal-access-token"
client = LinodeClient(token)
# Now you can access resources
regions = client.get_regions()
instances = client.linode.get_instances()
Authentication Header Format (REST)
All API requests to non-public resources must include an Authorization header:
Authorization: Bearer <your-personal-access-token>
Key Concepts
API Versions
- v4: Current stable API version (base URL:
https://api.linode.com/v4) - v4beta: Beta features and endpoints (use with caution in production)
Authentication
The Linode API uses Personal Access Tokens (PATs) for authentication. Tokens can have different permission scopes (read/write) for different resource types. Always keep tokens secure and never commit them to version control.
Pagination
API responses use envelope-based pagination with metadata:
page: Current page numberpages: Total number of pagesresults: Number of results per page
Filtering
The API supports advanced filtering via the X-Filter header with operators:
+gt: Greater than+lte: Less than or equal+or: Logical OR- Complex nested conditions supported
Instance Types
Common Linode instance types:
- Shared CPU:
g5-standard-1,g5-standard-2, etc. (cost-effective for general workloads) - Dedicated CPU:
g6-dedicated-2, etc. (guaranteed CPU resources) - High Memory:
g6-highmem-1, etc. (memory-intensive applications)
Regions
Linode has global data centers. Common regions:
us-east: Newark, NJus-west: Fremont, CAeu-west: London, UKap-south: Singapore- Many more available via
GET /regionsendpoint
Images
Supported operating system images:
linode/debian12: Debian 12linode/ubuntu22.04: Ubuntu 22.04 LTSlinode/centos-stream9: CentOS Stream 9- Custom images also supported
Reference Files
This skill includes comprehensive documentation in references/:
- api.md - Complete OpenAPI specification reference with all endpoints, request/response schemas, and authentication details
Use view references/api.md when you need:
- Detailed endpoint specif
Установить linode-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл linode-api?
Linode API Documentation
Как установить скилл linode-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл linode-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic