Automated summary
This skill calls REST APIs from Python, parses JSON responses, and reports only the useful fields back to the user.
Strengths
- Handles public and authenticated endpoints with tokens or API keys
- Automatically extracts relevant fields instead of dumping the whole payload
- Reports HTTP status codes or error messages clearly on failure
- Leverages the familiar requests library in Python
Limitations
- Requires the execute_code tool to be available in the environment
- No built-in retry, rate limiting, or streaming support
- Only designed for HTTP/JSON APIs, not other protocols
Use this skill when you need to fetch data from a REST JSON API, whether public or token-authenticated.
Do not use it for non-JSON APIs, streaming responses, or when the user wants the raw response body.
Security analysis
CautionThe skill uses execute_code and network access for legitimate REST API calls. It does not instruct destructive or exfiltrating actions, but because it involves executing generated code and handling credentials, it warrants caution.
- •Skill instructs the agent to write and execute Python code (execute_code), which can perform arbitrary actions, including network requests.
- •Uses environment variables for tokens/API keys; if output handling is careless, secrets could be printed to user or logs.
- •No explicit guidance to avoid including secrets in output or to mask sensitive headers/responses.
Examples
Call https://official-joke-api.appspot.com/random_joke and show me the setup and punchline.Use the GitHub API to get the latest commit on repository octocat/Hello-World. Read the token from the environment variable GITHUB_TOKEN and return the commit message and author.Call a REST API at https://api.example.com/data with header Authorization: Bearer mytoken, parse the JSON, and print the 'status' and 'count' fields.name: rest-api-caller description: Call REST APIs from Python, parse JSON responses, and report the useful fields back to the user. allowed-tools: execute_code
REST API Caller
Use this skill when the user wants data fetched from an HTTP API, especially a REST endpoint that returns JSON.
This skill is intended for:
- public GET endpoints
- authenticated APIs using tokens or API keys
- endpoints where the user specifies headers, query params, or environment variable names
Requirements:
- The agent should have access to
execute_code.
Workflow:
- Activate this skill when the task requires calling an API.
- If you need examples, call
read_skill_fileforreferences/examples.md. - Write a short Python script that performs the request.
- Prefer the
requestslibrary if available in the environment. - Prefer
execute_code. - Parse the response and print only the fields needed for the final answer.
- Summarize the API result clearly for the user.
Rules:
- Do not invent API responses. Run the request first.
- For JSON APIs, parse JSON and extract the relevant fields instead of dumping the whole payload unless the user asks for the raw body.
- If the user provides an environment variable name for a token or API key, read it from
os.environinside the script. - If the endpoint requires auth and no credential source is provided, say what is missing.
- If the request fails, report the HTTP status code or error message clearly.
- Do not claim there is a generic execution-environment issue unless the tool call actually returned one.
Demo endpoint:
GET https://official-joke-api.appspot.com/random_joke
Expected behavior for the demo endpoint:
- Fetch one random joke
- Return the setup and punchline in a readable format
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/rest-api-caller-mte1li31/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/rest-api-caller-mte1li31' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/rest-api-caller-mte1li31/download' --output '.skill-downloads/rest-api-caller-mte1li31/SKILL.md.part' && mv '.skill-downloads/rest-api-caller-mte1li31/SKILL.md.part' '.skill-downloads/rest-api-caller-mte1li31/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): execute_code
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/rest-api-caller-mte1li31/SKILL.md' && test -s '.skill-downloads/rest-api-caller-mte1li31/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/rest-api-caller' && cp -R '.skill-downloads/rest-api-caller-mte1li31' '.claude/skills/rest-api-caller'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/rest-api-caller-mte1li31'openskills read 'rest-api-caller-mte1li31'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/rest-api-caller-mte1li31/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.