Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Kxrbx/Clawlet --skill api-service명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | api_service |
| version | 1.0.0 |
| description | Integrate with [API_NAME] to [DESCRIPTION_OF_WHAT_IT_DOES] |
| author | your_name |
| requires | ["api_key"] |
| tools | [{"name":"get_data","description":"Retrieve data from the API","parameters":[{"name":"query","type":"string","description":"Search query or identifier","required":true},{"name":"limit","type":"integer","description":"Maximum number of results to return","required":false,"default":10}]},{"name":"send_request","description":"Send a request to the API","parameters":[{"name":"endpoint","type":"string","description":"API endpoint to call","required":true},{"name":"method","type":"string","description":"HTTP method","required":false,"default":"GET","enum":["GET","POST","PUT","DELETE"]},{"name":"data","type":"object","description":"Request body data (for POST/PUT)","required":false}]}] |
This skill enables the agent to interact with [API_NAME].
Brief description of the API and its capabilities:
Before using this skill, configure it in your config.yaml:
skills:
api_service:
api_key: "${API_SERVICE_KEY}"
# api_base_url: "https://api.example.com" # Optional custom URL
# api_timeout: 30 # Optional timeout in seconds
Set the environment variable:
export API_SERVICE_KEY="your-api-key"
Use this tool to retrieve data from the API.
Parameters:
query (required): The search query or identifierlimit (optional): Maximum results (default: 10)Example:
User: "Search for X in the API"
Agent: Uses get_data with query="X"
Use this tool for advanced API operations.
Parameters:
endpoint (required): API endpoint pathmethod (optional): HTTP method (default: "GET")data (optional): Request body for POST/PUTExample:
User: "Create a new resource with these properties"
Agent: Uses send_request with method="POST" and data={...}
User: "Find information about X"
Agent: I'll search for that using the API.
[Calls get_data with query="X"]
Agent: Here's what I found: [results]
User: "Create a new entry with name 'Test' and value 123"
Agent: I'll create that entry for you.
[Calls send_request with method="POST", data={"name": "Test", "value": 123}]
Agent: Created successfully! The ID is [id].
User: "Update entry 456 to have value 789"
Agent: I'll update that entry.
[Calls send_request with endpoint="/entries/456", method="PUT", data={"value": 789}]
Agent: Entry 456 has been updated.
Common errors and how to handle them:
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Invalid API key | Check configuration |
| 429 Too Many Requests | Rate limit exceeded | Wait and retry |
| 404 Not Found | Resource doesn't exist | Verify the ID/query |
| 500 Server Error | API issue | Try again later |