Token导航 LogoToken导航

Agent Skill · 开发

linode-api(linode API 文档)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

linode-api 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 15,006。

总安装 636周安装 26GitHub Stars 31下载 204核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:linode-api(linode API 文档)
来源仓库:https://github.com/rawveg/skillsforge-marketplace
仓库路径:skills/linode-api
安装命令:
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill linode-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill linode-api

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

linode-api 辅助 API 设计、接口文档和请求响应结构说明,适合生成 OpenAPI 草稿或检查字段命名。适用于前后端联调、错误码整理或服务集成场景。通过 npx skills add 命令从指定 GitHub 仓库安装并使用。使用时需确认真实业务语义、鉴权方式和分页规则,避免凭空补字段。

建议从现有代码或接口样例中提取事实,确保准确性。

来源仓库内路径:skills/linode-api

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rawveg/skillsforge-marketplace --skill linode-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

linode-api 怎么安装?

在终端执行 npx skills add https://github.com/rawveg/skillsforge-marketplace --skill linode-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

linode-api 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

linode-api 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

linode-api 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

linode-api 用的人多吗?

公开数据是累计安装 636 次,近一周安装 26 次,下载 204 次,GitHub 31 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

linode-api 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
linode-api

linode API 文档 · 本页

63631接触敏感数据MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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 git@github.com: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 number
  • pages: Total number of pages
  • results: 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, NJ
  • us-west: Fremont, CA
  • eu-west: London, UK
  • ap-south: Singapore
  • Many more available via GET /regions endpoint

Images

Supported operating system images:

  • linode/debian12: Debian 12
  • linode/ubuntu22.04: Ubuntu 22.04 LTS
  • linode/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 specifications
  • Request/response schema definitions
  • Available HTTP methods for each endpoint
  • Field validation rules and constraints
  • OAuth client configuration details
  • Beta feature documentation

Working with This Skill

For Beginners

  1. Start with authentication: Generate a Personal Access Token from cloud.linode.com
  2. Test basic endpoints: Try GET /account to verify your token works
  3. Use the Python library: It's easier than raw REST API calls for getting started
  4. Start small: List existing resources before creating new ones
  5. Check regional availability: Ensure services are available in your chosen region

For API Integration

  1. Review authentication patterns in the Quick Reference section
  2. Use the Python client library for rapid development
  3. Implement proper error handling for API rate limits and validation errors
  4. Store tokens securely using environment variables or secret management
  5. Test in non-production accounts first

For Infrastructure Automation

  1. Explore the full API specification in references/api.md
  2. Use filtering and pagination for large resource queries
  3. Implement idempotent operations where possible
  4. Monitor API usage to stay within rate limits
  5. Use OAuth for multi-user applications

Common Workflows

Basic Instance Management:

  1. List available regions → Choose region
  2. List available instance types → Choose type
  3. List available images → Choose image
  4. Create instance with chosen parameters
  5. Monitor instance status until "running"
  6. Retrieve IP address and connect

Account Management:

  1. Get account information
  2. List invoices and payment history
  3. Check service availability by region
  4. Manage OAuth clients for applications
  5. View notifications and events

Resources

Official Documentation

Code Libraries

  • Python: linode-api (official)
  • JavaScript/Node.js: Available via npm
  • Go, PHP, Ruby: Community libraries available

references/

The references/api.md file contains:

  • Complete OpenAPI specification (JSON format)
  • All available endpoints organized by resource type
  • Detailed request/response schemas
  • Authentication requirements per endpoint
  • Field validation rules and data types
  • Pagination and filtering documentation
  • Beta feature flags

Best Practices

Security

  • Never hardcode API tokens in your code
  • Use environment variables: token = os.getenv('LINODE_API_TOKEN')
  • Set appropriate token scopes (read-only when possible)
  • Rotate tokens regularly
  • Revoke unused tokens

Error Handling

  • Handle HTTP 429 (rate limit) with exponential backoff
  • Validate input before making API calls
  • Check for field validation errors in 400 responses
  • Implement retry logic for transient failures

Performance

  • Use pagination for large result sets
  • Implement caching for infrequently-changing data (regions, types)
  • Use batch operations when available
  • Filter results server-side using X-Filter header

Code Organization

  • Create wrapper functions for common operations
  • Separate configuration from application code
  • Use type hints with the Python library
  • Document token permission requirements

Notes

  • This skill was automatically generated from the official Linode API OpenAPI specification
  • The API uses standard REST conventions (GET, POST, PUT, DELETE)
  • All non-public endpoints require authentication via Bearer token
  • Rate limits apply - implement appropriate backoff strategies
  • Beta endpoints (v4beta) may change without notice
  • The Python library handles pagination and authentication automatically

Common Operations Reference

Compute Instances

  • List instances: GET /linode/instances
  • Create instance: POST /linode/instances
  • Get instance: GET /linode/instances/{linodeId}
  • Update instance: PUT /linode/instances/{linodeId}
  • Delete instance: DELETE /linode/instances/{linodeId}
  • Reboot instance: POST /linode/instances/{linodeId}/reboot

Account & Billing

  • Get account: GET /account
  • List invoices: GET /account/invoices
  • List payments: GET /account/payments
  • Get settings: GET /account/settings

Networking

  • List NodeBalancers: GET /nodebalancers
  • List Firewalls: GET /networking/firewalls
  • List VLANs: GET /networking/vlans

Storage

  • List volumes: GET /volumes
  • Create volume: POST /volumes
  • Attach volume: POST /volumes/{volumeId}/attach

Troubleshooting

Authentication Errors

  • 401 Unauthorized: Invalid or expired token
  • 403 Forbidden: Token lacks required permissions
  • Solution: Verify token in cloud.linode.com, check scopes

Rate Limiting

  • 429 Too Many Requests: Rate limit exceeded
  • Solution: Implement exponential backoff, reduce request frequency

Validation Errors

  • 400 Bad Request: Invalid input data
  • Solution: Check error message for specific field issues, consult API docs

Installation Issues (Python)

  • Namespace conflicts: Older libraries use 'linode' namespace
  • Solution: Use virtualenv to isolate dependencies

Updating

This skill is based on the OpenAPI specification from the Linode API GitHub repository. To refresh with the latest API changes:

  1. The specification is automatically pulled from: https://github.com/linode/linode-api-docs
  2. Re-run the skill generation process to capture new endpoints and changes
  3. Review changelog for breaking changes before updating production code

平台分布

Claude Code

31.28%
按下载量换算64

Antigravity

20.38%
按下载量换算42

windsurf

16.42%
按下载量换算33

trae

13.05%
按下载量换算27

Codex

8.18%
按下载量换算17

OpenCode

3.57%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills