360 Secure SkillHub
360 安全技能中心

openapi-endpoint-indexer

该 Skill 接收用户粘贴的 OpenAPI 3 JSON 或文件路径,遍历 paths 下的方法,输出按路径排序的 METHOD path 列表,并按方法统计总数;仅处理本地内容,不调用实时 API,且忽略 webhooks 与 callbacks。

hmahmadcs
hmahmadcs
热度 27.47
最近更新 2026-10-17 20:29:25
分类:效率依赖:读写文件应用场景:数据处理 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add hmahmadcs/openapi-endpoint-indexer
Metadata
name
openapi-endpoint-indexer
description
Build a sorted index of paths and methods from an OpenAPI JSON document the user provides. Use when surveying an API surface area.

OpenAPI Endpoint Indexer

Purpose / Overview

Lists METHOD path lines sorted by path from OpenAPI 3 JSON.

When to Use

API reviews; generating smoke-test checklists.

Usage / Instructions

  1. Accept OpenAPI JSON (paste or file path).
  2. Walk paths → methods.
  3. Print GET /v1/foo style lines; count totals by method.

Examples

Small petstore-like spec → indexed method list.

Requirements / Dependencies

None for pasted JSON; read file only if path given.

Limitations / Caveats

Ignores webhooks/callbacks sections.

Security / Permissions

Local read of user-provided content only. No live calls to the API.

Description

Build a sorted index of paths and methods from an OpenAPI JSON document the user provides.

License or terms

MIT-0

Use case

Intended for practitioners who need help with: Build a sorted index of paths and methods from an OpenAPI JSON document the user provides.

Risks and mitigations

References

Ethical considerations

Use that is illegal under local or international law is not permitted. The publisher will not be accountable for misuse enabled by this skill. Examples of unacceptable use include unauthorized data exfiltration, copyright piracy operations, and assisting financial crime. Do not use it to generate instructions for committing crimes.