api-setup
Set up API integration with configuration and helper scripts
How do I install this agent skill?
npx skills add https://github.com/block/agent-skills --skill api-setupIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a standard template and helper script for setting up API integrations. It uses safe placeholders for API keys and performs local file system operations to create directories and copy configuration files. No security issues were detected.
- Socketwarn
1 alert: gptAnomaly
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
3/3 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
API Setup
This skill helps you set up a new API integration with our standard configuration.
Steps
- Run
setup.sh <api-name>to create the integration directory - Copy
templates/config.template.jsonto your integration directory - Update the config with your API credentials
- Test the connection
Configuration
The config template includes:
api_key: Your API key (get from the provider's dashboard)endpoint: API endpoint URLtimeout: Request timeout in seconds (default: 30)
Verification
After setup, verify:
- Config file is valid JSON
- API key is set and not a placeholder
- Test connection succeeds
Troubleshooting
Connection Timeout
If you experience connection timeouts:
- Check your network connection
- Verify the endpoint URL is correct
- Increase the timeout value in config
Authentication Errors
If you get 401/403 errors:
- Verify your API key is correct
- Check if the key has the required permissions
- Ensure the key hasn't expired
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/block/agent-skills/api-setup">View api-setup on skillZs</a>