sling-api-specs
Build REST API specifications for Sling data extraction. Use when creating API specs, configuring authentication (OAuth, API key, Bearer token, HMAC), setting up pagination (cursor, offset, page), processing responses, handling rate limits, chaining endpoints with queues, or implementing incremental sync.
Why use this skill?
Learn to use the sling-api-specs skill to build robust, automated REST API data extraction configurations, featuring support for OAuth, pagination, and incremental syncs.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/flarco/sling-api-specsWhat This Skill Does
The sling-api-specs skill serves as the primary engine for configuring and managing data extraction workflows from RESTful APIs within the OpenClaw environment. It enables users to define complex API specifications using a clean, declarative YAML format. By centralizing the logic for authentication, pagination, and response parsing, it eliminates the need for manual script writing when integrating with third-party platforms. The skill automates the heavy lifting of handling HTTP request lifecycles, including secret management, dynamic header injection, and recursive pagination patterns, allowing the OpenClaw agent to ingest data into your pipeline seamlessly.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/flarco/sling-api-specs
Ensure you have the necessary environment variables and API credentials configured in your secret management system, as the skill heavily utilizes placeholders like {secrets.api_token} to maintain security.
Use Cases
- Incremental Data Syncing: Automatically track sync states and fetch only new or updated records since the last execution.
- Complex API Orchestration: Chain dependent endpoints where the output of one request (e.g., an ID list) serves as the input for a subsequent call.
- Enterprise Authentication: Support for sophisticated auth flows including OAuth2, AWS SigV4, and custom HMAC signing processes.
- Standardized Reporting: Normalize nested JSON responses from multiple disparate APIs into a flat, queryable structure using JMESPath.
Example Prompts
- "Build an API spec for the Stripe Users endpoint that handles cursor-based pagination and uses a Bearer token from my secrets."
- "Update my Shopify API configuration to implement an incremental sync filter using the updated_at timestamp."
- "Test the 'orders' endpoint in the Zendesk spec, limit the results to 5 records, and output the debug information."
Tips & Limitations
When building specifications, start by testing small, paginated chunks to ensure your JMESPath expressions correctly target the data arrays. The skill is purpose-built for GET-only data extraction; it does not support POST or PUT operations intended for data mutation. Always use the provided parse action to validate your YAML syntax before running large-scale sync jobs to prevent runtime exceptions. Remember that variable scopes follow a strict order of precedence, so verify that your base_url and global headers are defined in the defaults section to maximize reusability across multiple endpoints.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-flarco-sling-api-specs": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api