CLI2Anything API Generator Agent Skill

Transforms authorized observed website APIs into verified OpenAPI specifications, JavaScript SDKs, interactive Swagger UI, and…

Context cost
20k tokensestimated from the bundle, loaded when it triggers
Bundle
39 files · 500.8 kB23 scripts among them — read before you run
Licence
MITthe author’s own terms
Last change
—v0.1.0
Servers it uses
Noneruns standalone

What it does

将已授权观察到的网站 API 转成可验证的 OpenAPI、SDK、Swagger 或任务型 CLI。适用于“把这个网站 API 变成 CLI”“生成可调用 Swagger”以及 “turn observed APIs into a CLI”。

What this skill changes about the agent has not been set out here as a list. Its SKILL.md, shown below, says it in the author’s own words.

apijavascriptopenapi

The skill itself

A skill is instructions the model reads, so you can see what you are getting: below is the start of its SKILL.md. The front matter loads with every session, the body loads when the skill triggers, and the whole file comes with the install.

SKILL.md5.7 kB · preview
--- name: lov-cli2anything license: MIT metadata: author: LovStudio version: "0.1.0" card_standard: lovstudio/skill-card/v1 tags: - api-discovery - cli - openapi - swagger - sdk compatibility: "Portable Agent Skills format. Requires Python 3.8+, Node.js 20+, and the bundled cli2anything++ project." dependencies: [] ---
20# lov-cli2anything
21
22使用项目内的 cli2anything++ 运行时,把已授权的 API 观察证据转为可回读的
23OpenAPI、JavaScript SDK、Swagger UI 或本地 CLI 包。当前内置目标适配器是
24ZenMux;其他站点必须先实现并验证目标适配器,不能伪装成已支持。
25
26## Triggers
27
28### Activate when
29
30- “把这个网站的 API 变成 CLI / SDK / OpenAPI。”
31- “从 ZenMux 日志接口生成可交互 Swagger。”
32- “用 cli2anything++ 分析这份授权的 API discovery 证据。”
33- “Turn these authorized observed APIs into a CLI or Swagger bundle.”
34
35### Do not activate when
36
37- 为已有本地应用或源码项目从零设计通用 CLI;使用 lov-cli-creator。
38- 为 uni-app 新增 FastAPI 聚合网关;使用 lov-api-creator。
This is a preview of SKILL.md. Download or install the skill to get the whole thing.
In the file
SKILL.md666 words
Files39
LicenceMIT
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈120
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
19,905
on trigger
The instruction body and 38 supporting files, read only when the skill fires.
10.0%
of a 200k window
Ten skills this size would not fit in the window together.
050k100k150k200k context window

20k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Heavy. Teams tend to install this one per project rather than globally, and load it only when the job comes up.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

The procedure it runs

The procedure has not been set out here step by step. It is in the body of its SKILL.md: the start of it is shown above, and the whole file comes with the install.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

Its SKILL.md does not declare which tools it asks the agent for, so what it touches is whatever the instructions themselves ask for — read them before you install it.

What it asks for
Writes filesnot declared
Network accessnot declared

This SKILL.md carries no allowed-tools line, so neither is declared. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

39 files, 500.8 kB on disk. Mostly text — the instructions the model reads — with 23 scripts in it that your client would run only if the instructions tell it to. 2 files of its source are not in the download — listed after these, with why.

  • SKILL.md5.7 kB
  • CHANGELOG.md0.3 kB
  • LICENSE1.1 kB
  • package.json1.0 kB
  • package-lock.json5.3 kB
  • pricing-card.yaml0.7 kB
  • README.md6.8 kB
  • skill.yaml1.6 kB
  • skill-card.md2.7 kB
  • skill-card.yaml3.9 kB
  • artifacts/zenmux-discovered.json17.0 kB
  • bin/cli2anything.mjs80.9 kB
  • cases/cases.json0.9 kB
  • openapi/zenmux.openapi.json27.6 kB
  • references/skill-card-standard.md0.7 kB
  • references/skill-composition.md2.0 kB
  • references/user-profile.md2.8 kB
  • scripts/cli2anything.py1.1 kB
  • scripts/profile_store.py8.5 kB
  • scripts/validate_skill.py25.2 kB
  • src/api-graph.mjs19.1 kB
  • src/browser-cdp.mjs11.0 kB
  • src/drilldown-html.mjs173.7 kB
  • src/dshfind-client.d.ts1.1 kB
  • src/dshfind-client.mjs3.8 kB
  • src/dshfind-openapi.mjs12.9 kB
  • src/dshfind-target.mjs8.4 kB
  • src/extension-bridge.mjs8.1 kB
  • src/json-shape.mjs3.5 kB
  • src/zenmux-browser-client.d.ts2.0 kB
  • src/zenmux-browser-client.mjs5.5 kB
  • src/zenmux-client.d.ts2.8 kB
  • src/zenmux-client.mjs7.8 kB
  • src/zenmux-openapi.mjs20.4 kB
  • test/cli2anything.test.mjs12.1 kB
  • test/json-shape.test.mjs1.0 kB
  • test/openapi.test.mjs3.0 kB
  • test/zenmux-browser-client.test.mjs3.0 kB
  • test/zenmux-client.test.mjs5.8 kB

Not in the download

Not carried is a type a skill download does not hold. Take them from its source.

  • .gitignorenot carried
  • .npmignorenot carried
What is not in it

A skill installs nothing and depends on nothing: it is a folder your client reads. This one carries 23 scripts beside the text, so the download is 39 files — not the whole of its source: 2 files are left out. They are listed under the files, with why. The MIT licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# CLI2Anything API Generator · 20k tokens when loaded · macOS, Linux mkdir -p .claude/skills && t=$(mktemp -d) && curl -fsSL -o "$t/bundle.tar.gz" https://mcprush.com/api/skills/cli2anything-api-generator/bundle.tar.gz && tar -xzf "$t/bundle.tar.gz" -C "$t" && [ -d "$t/cli2anything-api-generator" ] && { [ ! -e .claude/skills/cli2anything-api-generator ] || { mv .claude/skills/cli2anything-api-generator "$t/.previous" && echo "Previous copy moved to $t/.previous"; }; } && mv "$t/cli2anything-api-generator" .claude/skills/ && echo "Installed .claude/skills/cli2anything-api-generator"
On Windows, or any OS with Node 20+
npx mcprush@latest skill add lovstudio/cli2anything-api-generator

Windows PowerShell says 'running scripts is disabled on this system'? Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, or type npx.cmd instead of npx (codex.cmd, gemini.cmd, grok.cmd likewise). PowerShell 7 needs neither. Writes to .claude/skills/cli2anything-api-generator/ in the current project. For every project instead, run mkdir -p ~/.claude/skills && t=$(mktemp -d) && curl -fsSL -o "$t/bundle.tar.gz" https://mcprush.com/api/skills/cli2anything-api-generator/bundle.tar.gz && tar -xzf "$t/bundle.tar.gz" -C "$t" && [ -d "$t/cli2anything-api-generator" ] && { [ ! -e ~/.claude/skills/cli2anything-api-generator ] || { mv ~/.claude/skills/cli2anything-api-generator "$t/.previous" && echo "Previous copy moved to $t/.previous"; }; } && mv "$t/cli2anything-api-generator" ~/.claude/skills/ && echo "Installed ~/.claude/skills/cli2anything-api-generator" (macOS, Linux) — or add --global to the npx line. The curl line replaces .claude/skills/cli2anything-api-generator/ only after the download succeeds, so files left there by another skill of the same name, or by an older release, do not mix in. A copy already there is moved aside, not deleted, and the line prints where. It appears as lov-cli2anything in Gemini CLI, Codex, Copilot and Grok (its own name); Claude Code lists it by the folder name, cli2anything-api-generator. Not in this download: 2 files of its source (the full list, and why). Take them from its source.

Which clients pick it up on their own

A skill is a folder of text. Most of these read a skills folder and pick it up without being told; the rest take the same folder another way — an upload in the app, a parameter on an API call — and then choose it by its description just the same.

Claude Code.claude/skills/
Claude DesktopCustomize › Skills
ChatGPTSkills › Create › Upload
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok Build.grok/skills/
Microsoft CopilotSkills › Upload a skill
PerplexityComputer › Skills › Upload a skill
DeepSeek Harness.dsh/skills/
Zed.agents/skills/
Devin Desktop.devin/skills/
Windsurf (legacy).windsurf/skills/
OpenAI Agents SDKInstructions or sandbox Skills
HTTP / APIa request parameter
This release
Version0.1.0
Publishedno release date on file
PriceFree
Referencelovstudio/cli2anything-api-generator

Versions

v0.1.0 is what is on the shelf; no release here carries a date. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v0.1.0
  • No earlier releases have been published to the marketplace.
Pinning

The install command always fetches the release that is current the day you run it — v0.1.0 today — and cannot ask for an earlier one. The copy on your disk does not change until you run it again.

Reviews

—no reviews yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Sign in to review it

A review is tied to an account so it can be answered, edited and taken down by the person who wrote it.

Sign in
Who can post

Anybody with an account, one review each. It carries the version that was current when you wrote it, and the publisher may reply once.

Publisher
Servers0
Claim this skill