hgvgfgvh

LinkSKILL

开发编程v1.0.1
作者:hgvgfgvh更新于 2026-05-18共 2 个版本 · 最新版本发布于 2026-05-13link-skill@clawhub_hgvgfgvh/link-skill
代码生成后端开发#Api Integration

据 AlphaMoat 统计,截至 2026-10,LinkSKILL 累计下载 15,471 次、获 0 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 1,809 位,在「开发编程」分类(1,069 个)中排名第 125 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
1.5万
星标
-
全站下载量排名
#1,809
全站前 17% · 「开发编程」前 12%
平台累计下载星标评论
ClawHub ↗1.4万--
SkillHub ↗1.5万-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

工具可列举或查看接口、处理认证,并按选定平台配置发送 HTTP 请求。鉴权方式依平台设置选择 bearer token、API key、Basic 或无认证;Swagger 文档与令牌以本地 JSON 文件缓存,工作流以前述接口规范可访问为前提。 浏览器操作依赖运行环境、权限和页面状态;先核对目标,在提交重要表单或更改账户前进行确认。

资料发布于 2026-10-27

可以用来做什么

  • 无需单独编写集成脚本即可探索并调用企业平台 API

什么时候用

  • 平台提供 Swagger/OpenAPI 文档且具备连接配置时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

先查看平台接口规范,说明所需参数和认证方式,再准备请求供我审阅。

月度数据趋势

累计下载1.5万
1.3万1.4万1.6万2026-06 · 累计下载 1.3万2026-07 · 累计下载 1.3万2026-08 · 累计下载 1.4万2026-09 · 累计下载 1.4万2026-10 · 累计下载 1.5万26-0626-0926-10
星标-
0112026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -2026-10 · 星标 -26-0626-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-101.5万—-
2026-091.4万—-
2026-081.4万+1.2%-
2026-071.3万+2.2%-
2026-061.3万—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.9 KB · ClawHub v1.0.1
---
name: LinkSKILL
description: Universal API integration skill for enterprise platforms. Connect to any platform using Swagger/OpenAPI discovery.
metadata: {"clawdbot":{"emoji":"🔗","requires":{"bins":["python3"],"pip":["requests"]}}}
---

# LinkSKILL — Universal Platform API Integration

LinkSKILL is a config-driven API integration skill for enterprise platforms.  
Given a Swagger/OpenAPI endpoint and auth settings, it can discover APIs, authenticate, and execute requests with minimal manual setup.
展开全部(共 134 行)

## When to Use This Skill

Use LinkSKILL when you need to:

- Integrate with a new internal/external platform quickly.
- Explore unknown APIs from Swagger/OpenAPI docs.
- Standardize auth + request execution across multiple platforms.
- Run repeatable API calls from CLI without custom one-off scripts.

## Core Workflow (4-Step Closed Loop)

1. **Identify platform**  
   Read `scripts/platform_config.json` and select `active_platform` (or pass `--platform` explicitly).
2. **Discover APIs**  
   `python scripts/swagger_loader.py --config scripts/platform_config.json --mode list`
3. **Authenticate**  
   `python scripts/auth_manager.py --config scripts/platform_config.json`
4. **Execute request**  
   `python scripts/http_request_tool.py --config scripts/platform_config.json --method POST --endpoint "/api/xxx" --json-body '...'`

Tip: Use `search` and `detail` before execution to reduce trial-and-error:

- `--mode search --keyword "keyword"`
- `--mode detail --path "/api/xxx" --method POST`

## Tool Responsibilities

| Tool | Responsibility |
|---|---|
| `swagger_loader.py` | Fetch and parse Swagger 2.0 / OpenAPI 3.x; supports `list`, `search`, `detail`, `tags`, `cache` |
| `auth_manager.py` | Handle auth login/token retrieval and local token cache management |
| `http_request_tool.py` | Send HTTP requests, inject auth headers, and auto re-auth + retry on 401 |

## Configuration Model

All behavior is driven by `scripts/platform_config.json`.

### Required top-level fields

- `active_platform`: default platform ID.
- `platforms`: map of platform definitions.

### Typical platform definition

- `name`: human-readable platform name.
- `gateway`: base URL used by request executor.
- `swagger.url`: OpenAPI/Swagger endpoint URL.
- `swagger.auth_required`: whether Swagger endpoint needs auth header.
- `auth.type`: one of `bearer_token`, `api_key`, `basic`, `none`.
- `default_headers`: default request headers.

### Auth field reference (for token login)

- `auth.login_endpoint`: login path (joined with `gateway`).
- `auth.login_body`: login payload.
- `auth.token_field`: token extraction path (for example `data.token`).
- `auth.token_header`: header name (default `Authorization`).
- `auth.token_prefix`: header prefix (default `Bearer `).

## Authentication Strategies

LinkSKILL supports:

- `none`: no auth required.
- `api_key`: static key from config.
- `basic`: build Basic credential from username/password.
- `bearer_token`: login API + token extraction + local cache.

Token cache file: `scripts/.token_cache.json`

## Discovery Modes (`swagger_loader.py`)

- `list`: print all available endpoints.
- `search`: fuzzy-match endpoints by path/summary/description/tags.
- `detail`: show parameters, request body schema/example, and response schema.
- `tags`: show API groups.
- `cache`: print local swagger cache location.

Swagger cache directory: `scripts/.swagger_cache/`

## Request Execution (`http_request_tool.py`)

Supports:

- Methods: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`
- URL styles: full `--url` or `--endpoint` + `gateway`
- Payload: `--json-body` or `--json-file`
- Query params: `--params`
- Extra headers: `--headers`

On `401`, the tool can trigger `auth_manager.py --force-login` and retry once automatically.

## Recommended Operating Pattern

For stable integrations, run in this order:

1. `list` or `search` to locate target endpoint.
2. `detail` to inspect params/schema.
3. Authenticate and verify token cache.
4. Execute with minimal body first, then iterate.
5. Use cached swagger/token for faster repeated calls.

## Troubleshooting

- **Platform not found**: check `active_platform` and `platforms` keys.
- **Swagger fetch failed**: verify `swagger.url`, network, and TLS/headers.
- **Token extraction failed**: correct `auth.token_field` based on real login response.
- **401 on request**: verify token TTL/login payload and header prefix.
- **Non-JSON response**: inspect raw response text and endpoint behavior.

## Onboarding a New Platform

1. Add a new platform under `platforms` in `scripts/platform_config.json`.
2. Fill `gateway`, `swagger`, `auth`, and optional `default_headers`.
3. Set `active_platform` (or use `--platform`).
4. Run the 4-step workflow end-to-end and validate one successful API call.

## Notes and Constraints

- Designed for CLI-driven API integration workflows.
- Assumes APIs are discoverable via Swagger/OpenAPI endpoint.
- Uses local JSON files for cache; suitable for local/dev automation.

「开发编程」分类下的热门技能

编程大神.Skill开发编程

【全栈能力】编程大神.Skill:面向复杂真实项目的高阶全栈编程助手。不止生成代码,而是从一句目标接手陌生代码库,拆解需求、补齐实现、追到根因、完成重构、联调前后端,并把结果推进到能运行、能验证、能交付。覆盖 Web、后端、脚本、iOS、安卓、鸿蒙 ArkUI、微信小程序及其他技术栈,支持中英文工程、疑难 Bug、跨模块任务和长任务续做;用构建、日志、真实入口、设备或接口证据说明结果。仅问概念时直接回答,要求落地时持续推进到验收或明确阻塞。

↓ 1125.9万★ 82u_42bbb65f
编程专家Pro.Skill开发编程

编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。

↓ 626.9万★ 32user_47d655f0
编程专家.Skill开发编程

编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。

↓ 600.7万★ 378user_741dc82b
dev-expert开发编程

编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。

↓ 528.1万★ 32user_814dbe54
dev-expert-pro开发编程

编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。

↓ 104.7万★ -user_814dbe54
编程专家 Pro开发编程

编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。

↓ 98.2万★ 1user_28275a78
编程专家.Skill开发编程

编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。

↓ 70.1万★ 6user_613b33ea
Github开发编程

用 gh 命令行工具查看 GitHub 上的 PR 检查、工作流运行与 API 查询的技能。

↓ 48.0万★ 714Peter Steinberger

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。