mdplane-curl
2
总安装量
2
周安装量
#72992
全站排名
安装命令
npx skills add https://github.com/albri/mdplane --skill mdplane-curl
Agent 安装分布
amp
2
github-copilot
2
codex
2
kimi-cli
2
gemini-cli
2
opencode
2
Skill 文档
mdplane API via curl
Use this skill when the agent should call mdplane via HTTP directly (curl, CI jobs, scripts, SDK-free integrations).
Operating Rules
- OpenAPI and server behavior are the source of truth.
- Do not invent routes, request fields, query params, or response shapes.
- Respect auth boundaries:
- Capability routes:
/r/{key},/a/{key},/w/{key} - API key routes:
/api/v1/* - Control/session routes:
/workspaces/*,/api/auth/*(only when explicitly needed)
- Capability routes:
- Prefer least privilege and avoid write scope unless required.
- Never print capability URLs, API keys, or cookies in logs/output.
Standard Workflow
- Set target base URL (
https://api.mdplane.dev, self-host, or local). - Acquire or validate credentials (
/bootstrap,/capabilities/check, existing env). - Execute minimal-scope request sequence.
- Validate results and surface errors with status + API error code/message.
- Recommend key rotation if exposure is suspected.
Endpoint Surface
Use canonical endpoint maps here before writing requests:
./references/endpoint-surface.md
Canonical References
./references/canonical-links.md
Read these references when handling advanced folder ops, orchestration, realtime, webhooks, exports, or API-key control routes.
Safety Defaults
- Prefer
/a/{key}over/w/{key}for agents that only need to add work. - Use
/w/{key}only for explicit mutate/recover/rotate workflows. - Treat root keys and API keys as high-sensitivity credentials.