lov-cli2anything skill
scriptsConverts observed website API evidence into verifiable OpenAPI specifications, SDKs, Swagger UI, or task-oriented CLIs.
- GitHub stars
- 72
- Files
- 35
- Last commit
- Nov 10, 2026
- License
- MIT
- Allowed tools
- —
What does the lov-cli2anything skill do?
lov-cli2anything converts observed website API evidence into verifiable OpenAPI specifications, SDKs, Swagger UI, or task-oriented CLIs.
Summary generated from the skill's SKILL.md.
About the lov-cli2anything skill
Converting observed website API evidence into functional developer tools is the primary function of this skill. It allows developers to transform authorized API discovery data into verifiable OpenAPI specifications, JavaScript SDKs, Swagger UI bundles, or task-oriented command-line interfaces. The process relies on the cli2anything++ runtime and requires Python 3.8+ and Node.js 20+ to execute the generation scripts.
An agent should load this skill when a user provides discovery artifacts or requests the creation of a CLI or Swagger bundle from an existing API workflow. While it currently includes a built-in target adapter for zenmux.ai, other hosts require a specific target adapter to be implemented first. The skill produces structured outputs such as manifest.json, openapi.json, and sdk/index.mjs, ensuring all generated files pass validation checks before they are reported as usable.
What an agent can do with it
- 1Generate a task-oriented CLITransform authorized observed APIs into a functional command-line interface.
- 2Create interactive Swagger documentationProduce an interactive Swagger UI from ZenMux log interfaces.
- 3Build OpenAPI specificationsGenerate a formal OpenAPI 3.1 document from existing discovery artifacts.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the lov-cli2anything skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the lov-cli2anything skill in Plugin
/plugin marketplace add lovstudio/skills /plugin install dev-tools@lovstudio
Install the lov-cli2anything skill in Claude Code
~/.claude/skills/lov-cli2anything/SKILL.md
$ npx degit lovstudio/skills/skills/cli2anything ~/.claude/skills/lov-cli2anythingInstall the lov-cli2anything skill in Claude Code (project)
.claude/skills/lov-cli2anything/SKILL.md
$ npx degit lovstudio/skills/skills/cli2anything .claude/skills/lov-cli2anythingInstall the lov-cli2anything skill in Codex
~/.agents/skills/lov-cli2anything/SKILL.md
$ npx degit lovstudio/skills/skills/cli2anything ~/.agents/skills/lov-cli2anythingInstall the lov-cli2anything skill in Gemini CLI
~/.gemini/skills/lov-cli2anything/SKILL.md
$ npx degit lovstudio/skills/skills/cli2anything ~/.gemini/skills/lov-cli2anythingInstall the lov-cli2anything skill in Claude.ai
npx degit lovstudio/skills/skills/cli2anything lov-cli2anything && zip -r lov-cli2anything.zip lov-cli2anything # claude.ai → Customize → Skills → + → Create skill → Upload a skill → lov-cli2anything.zip
Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A skill needs a score of 80, no serious finding, and enough data for us to check. How checks work
- Source repository linked and reachablelovstudio/skills/skills/cli2anything is public and reachablegithub.com/lovstudio/skills/tree/HEAD/skills/cli2anything ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-10github.com/lovstudio/skills/commits ↗Pass
- No download-and-run or credential theft in scripts5 of 18 scripts read; none of them downloads and runs code, the rest were not readFinding
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/lovstudio/skills/blob/HEAD/skills/cli2anything/SK ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/lovstudio/skills/blob/HEAD/skills/cli2anything/SK ↗Pass
- SKILL.md follows the Agent Skills formatthe description does not say when to use the skill; name "lov-cli2anything" differs from the folder "cli2anything"github.com/lovstudio/skills/blob/HEAD/skills/cli2anything/SK ↗Finding
SKILL.md
View on GitHub接口工坊 · API Studio
使用项目内的 cli2anything++ 运行时,把已授权的 API 观察证据转为可回读的 OpenAPI、JavaScript SDK、Swagger UI 或本地 CLI 包。当前内置目标适配器是 ZenMux;其他站点必须先实现并验证目标适配器,不能伪装成已支持。
Triggers
Activate when
- “把这个网站的 API 变成 CLI / SDK / OpenAPI。”
- “从 ZenMux 日志接口生成可交互 Swagger。”
- “用 cli2anything++ 分析这份授权的 API discovery 证据。”
- “Turn these authorized observed APIs into a CLI or Swagger bundle.”
Do not activate when
- 为已有本地应用或源码项目从零设计通用 CLI;使用
lov-cli-creator。 - 为 uni-app 新增 FastAPI 聚合网关;使用
lov-api-creator。 - 用户无权访问目标账户、流量或接口,或要求导出他人的 Cookie、Token、密钥。
- 只需要调用一份现成 OpenAPI,而不需要发现、生成或封装能力。
User Profile (cross-session)
Read skill.yaml on every invocation. Resolve context in this order: the current
request, project context, skills.lov-cli2anything.records, shared preferences,
shared user/workspace Profile, then safe defaults. Keep resolved personal values
out of the portable source.
Persist only a directly stated durable preference, such as a default output mode:
python3 "$SKILL_DIR/scripts/profile_store.py" record \
--skill-id lov-cli2anything \
--path records.output_mode \
--value '"swagger"' \
--confirm
Report the saved Profile path. Never persist inferred paths, credentials, cookies,
tokens, captured payloads, or private traffic. See references/user-profile.md.
Skill Group Composition
Read references/skill-composition.md before invoking an adjacent Skill. This is
a Single Skill backed by the cli2anything++ project; sibling Skills are optional
artifact handoffs and never hidden runtime dependencies.
Workflow (MANDATORY)
Follow these steps in order. Do not report generated files as usable until their manifest, OpenAPI document, runtime source, and tests have been checked.
Step 0: Resolve runtime context
- Resolve
SKILL_DIRfrom the active Skill context. - Verify these required resources exist:
scripts/cli2anything.pyscripts/profile_store.pyreferences/skill-composition.md
- Read the shared Profile for
lov-cli2anything. - Confirm Node.js 20+ is available by running
node --version.
If a required resource is missing, name its relative path and stop before producing a partial result.
Step 1: Establish target, authority, and output
- Identify the target host, intended API workflow, filter keyword, discovery
evidence, and desired output:
bundle,swagger, orcli. - Confirm the user owns the account/traffic or is otherwise authorized before any live browser-session or traffic discovery step. Existing public or user-supplied discovery artifacts may be processed offline.
- Current built-in target:
zenmux.ai. For another host, inspect the project and report that a target adapter is required; do not claim generic support exists. - Default to offline supplied evidence when available. Never copy browser cookies or tokens into Skill files, generated examples, logs, or Profile records.
Step 2: Generate the requested artifact
Run the project through the portable wrapper:
python3 "$SKILL_DIR/scripts/cli2anything.py" zenmux.ai \
--filter-keyword log \
--discovery artifacts/zenmux-discovered.json \
--out generated/zenmux-ai-log
For Swagger without opening a browser:
python3 "$SKILL_DIR/scripts/cli2anything.py" zenmux.ai \
--filter-keyword log \
--output swagger \
--no-open \
--discovery artifacts/zenmux-discovered.json \
--out generated/zenmux-ai-log
Use --output cli only when a task-focused generated CLI is requested. Do not
run npm link unless local installation is part of the current request; pass
--no-link for generation-only work.
Step 3: Validate the result
For a generated bundle, verify:
manifest.jsonnames the expected target and scope;openapi.jsonparses as OpenAPI 3.1 and contains the expected operations;api-graph.jsoncontains the workflow edges required by the selected scope;sdk/index.mjsand any generated CLI entrypoint passnode --check;- Swagger mode writes
swagger/index.html,swagger/drilldown.html, andswagger/server.mjswithout embedding cookies or API keys.
Run the maintained project regression suite after behavior changes:
python3 "$SKILL_DIR/scripts/cli2anything.py" --project-test
Report the concrete output directory, selected target/scope, validation result, and any missing target adapter or live authorization evidence.
Dependencies
- Python 3.8+ for the Skill wrapper and Profile reader.
- Node.js 20+ and npm dependencies declared by cli2anything++.
- An authorized account/browser session only for live browser-session workflows.
- No third-party credentials are required for offline generation from an existing discovery artifact.
Files in this skill
35lov-cli2anything skill questions
How do I install the lov-cli2anything skill in Claude Code?
Run npx degit lovstudio/skills/skills/cli2anything ~/.claude/skills/lov-cli2anything. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the lov-cli2anything skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
What can this tool generate from API discovery evidence?
It can transform authorized API observation evidence into OpenAPI documents, JavaScript SDKs, Swagger UI, or local CLI packages.
Can I use this to generate a CLI for any website?
No, it currently has a built-in target adapter for ZenMux; other sites require a specific target adapter to be implemented and verified first.
Does the tool require browser cookies or tokens to work?
The tool can perform offline generation using existing discovery artifacts without needing to copy browser cookies or tokens into its files or logs.