360 Secure SkillHub
360 安全技能中心

openapi-endpoint-indexer

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

分类:效率
hmahmadcs
hmahmadcs
热度 9.03
最近更新 2026-10-17 20:29:25

安装

发给 Agent
帮我安装这个技能: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.