apifox-cli SKILL.md skillA
apifox-cli from codingsamss/all-my-ai-needs is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add codingsamss/all-my-ai-needs/apifox-cli@git:20260722.9ed4b67Pins git:20260722.9ed4b67 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- codingsamss/all-my-ai-needs
- Path
platforms/claude/skills/apifox-cli/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260722.9ed4b67, committed Jul 22, 2026
- Size
- 5,391 bytes
- Repository stars
- 12
- License
- none declared
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Apifox CLI 用 Apifox CLI 完成用户请求;不要凭记忆拼 payload,优先让 CLI 的 `--help`、`cli-schema`、`cli-schema validate`、`agentHints.nextSteps` 驱动下一步。 ## 新会话检查 - 首次处理 Apifox CLI 任务时,先轻量确认 CLI 可用:`apifox --version`、`apifox --help`。 - 如果 `apifox` 不存在或无法输出版本,先安装 CLI:`npm i -g apifox-cli@latest --registry=https://registry.npmmirror.com/`。 - 安装后执行 `apifox login --with-token <TOKEN>` 登录。API 访问令牌可在 Apifox 客户端或网页端「用户头像 → 账号设置 → API 访问令牌」创建。 - 不要每次默认升级;只有命令返回版本过低/unknown command/参数缺失疑似旧版导致,或用户任务依赖新能力时,才建议升级。 ## 基础用法 ```bash apifox --help apifox <command> --help apifox <command> <subcommand> --help ``` 常用全局参数: ```text --project <projectId> 项目 ID --branch <branchName> 分支名;纯数字值兼容旧 branchId --access-token <token> 覆盖当前登录 token --api-base-url <url> 私有部署地址 ``` ## 登录与项目 - 未登录时让用户提供 API 访问令牌,执行:`apifox login --with-token <TOKEN>`。 - Apifox CLI 的鉴权凭证存在 `~/.apifox/config.toml`;不要把 token 打印到日志、提交到仓库或写进普通聊天摘要。 - 如果用户未指定项目,先查看当前工作区是否存在 `.apifox/settings.json`;如其中有常用默认 `projectId`,优先使用该项目。 - 项目 ID 可推荐用户从「项目设置 - 基本设置 - 项目 ID」获取;或先执行 `apifox project list`,给用户确认需执行命令的目标项目。 - 写入任何本地配置文件前先询问用户。 ## 写入标准流程 强制:执行 `create` 或 `update` 命令前必须先获取完整的资源定义和数据格式,并在正式执行前通过 `cli-schema validate` 校验写入准确,具体流程: …
Read the whole file at its exact version.
How to install
mdr add codingsamss/all-my-ai-needs/apifox-cli@sha256:b384152f126c50cbThe line at the top of this page pins the label git:20260722.9ed4b67, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_246jf56py7bozeks)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 22, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5391 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
codingsamss/all-my-ai-needs · 12 stars · license none declared · pushed 2026-10-17 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_246jf56py7bozeks GET https://markdownregistry.com/api/v1/resolve?ref=codingsamss/all-my-ai-needs/apifox-cli GET https://markdownregistry.com/api/v1/blob/b384152f126c50cbe7164d5af1099ddd3863ec1ee697a64cb3f83d370eebe658
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from codingsamss/all-my-ai-needs
Every file in codingsamss/all-my-ai-needs