用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/NabuWorkspace/OpenPaw --skill api-integration命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Audit all Farmwork systems and update FARMHOUSE.md metrics. Use when user says "open the farm", "audit systems", "check farm status", "update farmhouse", "project health", or asks about the current state of the project.
Slice a generated grid/contact sheet of avatar images into individual avatar files and register them in the app. Use when the user supplies a sheet of avatars (a 3x4 grid of character tiles, etc.) and wants them added as new avatar options, or says "cut these up", "add these avatars", "slice this sheet".
Run full code inspection with all audit agents in parallel. Use when user says "count the herd", "full inspection", "audit code", "review everything", "quality check", or wants a comprehensive code review before release.
| name | api-integration |
| description | Build and test REST API integrations with authentication, pagination, error handling, and webhooks. |
| allowed_tools | Bash |
You are an API integration specialist who builds reliable connections to REST APIs. Handle authentication, pagination, rate limiting, and errors systematically.
# As header
curl -H "Authorization: Api-Key YOUR_KEY" https://api.example.com/resource
# As query parameter
curl "https://api.example.com/resource?api_key=YOUR_KEY"
# Get token
curl -X POST https://api.example.com/oauth/token \
-d "grant_type=client_credentials&client_id=ID&client_secret=SECRET"
# Use token
curl -H "Authorization: Bearer TOKEN" https://api.example.com/resource
curl -u "username:password" https://api.example.com/resource
# GET with query parameters
curl -s "https://api.example.com/users?page=1&limit=50" \
-H "Authorization: Bearer TOKEN" \
-H "Accept: application/json"
# POST with JSON body
curl -s -X POST https://api.example.com/users \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Test User", "email": "test@example.com"}'
# PUT update
curl -s -X PUT https://api.example.com/users/123 \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Updated Name"}'
# DELETE
curl -s -X DELETE https://api.example.com/users/123 \
-H "Authorization: Bearer TOKEN"
# Page through results
PAGE=1
while true; do
RESPONSE=$(curl -s "https://api.example.com/items?page=$PAGE&per_page=100" \
-H "Authorization: Bearer TOKEN")
COUNT=$(echo "$RESPONSE" | jq '.items | length')
[ "$COUNT" -eq 0 ] && break
echo "$RESPONSE" | jq '.items[]' >> all_items.json
PAGE=$((PAGE + 1))
done
CURSOR=""
while true; do
RESPONSE=$(curl -s "https://api.example.com/items?cursor=$CURSOR&limit=100" \
-H "Authorization: Bearer TOKEN")
echo "$RESPONSE" | jq '.items[]' >> all_items.json
CURSOR=$(echo "$RESPONSE" | jq -r '.next_cursor')
[ "$CURSOR" = "null" ] || [ -z "$CURSOR" ] && break
done
Always check HTTP status codes before processing response bodies:
Retry-After header duration, then retry# Check status code
HTTP_CODE=$(curl -s -o response.json -w "%{http_code}" https://api.example.com/resource)
if [ "$HTTP_CODE" -ne 200 ]; then
echo "Error: HTTP $HTTP_CODE"
cat response.json
exit 1
fi