用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/langgenius/droploft-skills --skill droploft-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | droploft-api |
| version | 0.2.0 |
| description | Layer 3 raw HTTP: any endpoint not yet covered by a flow or resource verb. |
| metadata | {"requires":{"bins":["droploft"],"skills":["droploft-shared"]},"cliHelp":"droploft api --help"} |
Use this when the higher-level layers don't cover what you need. The CLI takes care of authentication and the /v1 prefix; you supply the method, path, and body.
droploft api GET /v1/auth/me
droploft api GET /v1/documents
droploft api GET /v1/lofts/<id>/documents
droploft api POST /v1/documents --data '{"title":"x","content_hash":"...","original_bytes":12,"kind":"markdown"}'
droploft api PATCH /v1/documents/<id>/share-link --data '{"share_enabled":false}'
droploft api DELETE /v1/documents/<id>
Body forms:
--data '{"k":"v"}'--data @./payload.jsonBefore writing a --data body, look up the schema:
droploft schema search workspace
droploft schema get workspaces.create
droploft api GET /v1/documents --jq '.[].id'
droploft api GET /v1/me/navigation --jq '.workspaces[].name'
droploft --verbose api GET /v1/lofts
# stderr shows method, URL, status, headers
If a flow or resource verb already covers the operation, prefer it — those layers carry retries, polling, and human-friendly errors that raw api skips.
Manage Droploft documents (drops): upload, list, get, content, share, publish, delete.
Lofts: types, switching, listing, member operations.
Droploft v2 CLI: authentication, configuration, profiles, and patterns shared across all domains.
基于 SOC 职业分类