Agent skill

Tech API Integration

by asgard-ai-platform in asgard-ai-platform/skills

Guide REST API integration including HTTP methods, authentication, error handling, and rate limiting.

MITAuto-check passedBackend & APIs

Install Tech API Integration

skills CLI
$ npx skills add asgard-ai-platform/skills --skill tech-api-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgard-ai-platform/skills tech-api-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tech-api-integration .claude/skills/tech-api-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tech-api-integration
GitHub stars
241
Token cost
~1.3k tokens
SKILL.md length
394 words
Files
4 (incl. references)
Skills in repo
209
Repo updated
First seen
Licence
MIT

At a glance

Guide REST API integration including HTTP methods, authentication, error handling, and rate limiting.

  • Works in 10 steps: [ ] Read API documentation completely → [ ] Test auth flow (get valid token/key) → [ ] Test each endpoint with curl/Postman… → …
  • The user needs to connect to a third-party API
  • SKILL.md covers Framework, Output Format, Gotchas and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tech API Integration is an agent skill from asgard-ai-platform/skills. Guide REST API integration including HTTP methods, authentication, error handling, and rate limiting. Use this skill when the user needs to connect to a third-party API, design an API client, troubleshoot API errors, or understand API concepts — even if they say 'connect to this API', 'why is the API returning errors', 'how do I authenticate', or 'build an API integration'.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `examples/sample_scenario.md`, `references/oauth-guide.md` and `references/webhook-patterns.md`).

It sits in Backend & APIs, covering Third-party API integration, Rate limiting and REST APIs. The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.

When your agent uses it

  • The user needs to connect to a third-party API
  • Design an API client
  • Troubleshoot API errors
  • Understand API concepts — even if they say connect to this API

Example prompts

  • “connect to this API”
  • “why is the API returning errors”
  • “how do I authenticate”
  • “/tech-api-integration”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. [ ] Read API documentation completely
  2. [ ] Test auth flow (get valid token/key)
  3. [ ] Test each endpoint with curl/Postman first
  4. [ ] Implement error handling for all status code ranges
  5. [ ] Implement rate limit handling
  6. [ ] Implement retry logic with backoff
  7. [ ] Log all requests and responses (redact secrets)
  8. [ ] Handle API versioning (pin to specific version)
  9. [ ] Set timeouts (connect: 5s, read: 30s)
  10. [ ] Monitor for API deprecation notices

What it can do on your machine

Read from SKILL.md and the folder at commit 4e7f4f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tech API Integration loads about 1.3k tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 394 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 394 words, ~1,320 tokens.

Download SKILL.mdSave it as .claude/skills/tech-api-integration/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
tech-api-integration
description
Guide REST API integration including HTTP methods, authentication, error handling, and rate limiting. Use this skill when the user needs to connect to a third-party API, design an API client, troubleshoot API errors, or understand API concepts — even if they say 'connect to this API', 'why is the API returning errors', 'how do I authenticate', or 'build an API integration'.
metadata.category
WP-11 通用技術
metadata.tags
technology, api, rest, integration

REST API Integration Guide

Framework

IRON LAW: Read the Docs, Then Build, Then Handle Errors

1. Read the API documentation completely (auth, endpoints, rate limits, errors)
2. Get a successful request working in isolation (curl/Postman)
3. Build error handling BEFORE building features

Skipping step 1 wastes hours on trial-and-error. Skipping step 3
creates fragile integrations that break silently in production.
HTTP Methods
MethodPurposeIdempotent?Example
GETRead dataYesGET /users/123
POSTCreate new resourceNoPOST /users + body
PUTReplace entire resourceYesPUT /users/123 + full body
PATCHUpdate partial resourceYesPATCH /users/123 + partial body
DELETERemove resourceYesDELETE /users/123
Status Codes
RangeMeaningCommon Codes
2xxSuccess200 OK, 201 Created, 204 No Content
3xxRedirect301 Moved, 304 Not Modified
4xxClient error (your fault)400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests
5xxServer error (their fault)500 Internal, 502 Bad Gateway, 503 Service Unavailable
Authentication Types
TypeHow It WorksWhen Used
API KeyKey in header or query paramSimple APIs, server-to-server
Bearer TokenAuthorization: Bearer <token>OAuth 2.0, JWT-based APIs
OAuth 2.0Token exchange flow (authorize → token → API call)User-delegated access (Google, FB)
Basic AuthBase64(username:password) in headerLegacy, internal APIs
HMAC SignatureSign request with secret keyPayment gateways, high-security
Error Handling Strategy
try:
    response = api.call(request)
    if response.status == 429:  # Rate limited
        wait(response.headers['Retry-After'])
        retry()
    elif response.status >= 500:  # Server error
        retry_with_backoff(max_retries=3)
    elif response.status >= 400:  # Client error
        log_error(response.body)
        raise ClientError(response.body['message'])
    else:
        return response.json()
Rate Limiting
StrategyHow
Respect Retry-After headerWait the specified seconds before retrying
Exponential backoffWait 1s, 2s, 4s, 8s between retries
Token bucketTrack request count, pause when approaching limit
Queue requestsUse a job queue (Celery, Bull) for high-volume integrations
Show full SKILL.md (187 more words)Show less
Integration Checklist
  1. Read API documentation completely
  2. Test auth flow (get valid token/key)
  3. Test each endpoint with curl/Postman first
  4. Implement error handling for all status code ranges
  5. Implement rate limit handling
  6. Implement retry logic with backoff
  7. Log all requests and responses (redact secrets)
  8. Handle API versioning (pin to specific version)
  9. Set timeouts (connect: 5s, read: 30s)
  10. Monitor for API deprecation notices

Output Format

markdown
# API Integration Plan: {API Name}

## API Overview
- Base URL: {url}
- Auth: {type}
- Rate limit: {N requests/period}
- Documentation: {link}

## Endpoints Used
| Endpoint | Method | Purpose | Auth |
|----------|--------|---------|------|
| {path} | GET/POST | {what it does} | {auth type} |

## Error Handling
| Error | Response | Our Action |
|-------|----------|-----------|
| 401 | Unauthorized | Refresh token, retry |
| 429 | Rate limited | Backoff, retry after Retry-After |
| 500 | Server error | Retry 3x with exponential backoff |

## Implementation Timeline
| Phase | Task | Duration |
|-------|------|----------|
| 1 | Auth + basic call | {days} |
| 2 | Full integration | {days} |
| 3 | Error handling + monitoring | {days} |

Gotchas

  • Sandbox vs production: Most APIs have a sandbox/test environment. Build and test there first. Production API keys should never be in code.
  • Pagination: APIs return paginated results. Handle all pages, not just the first. Check for next_page token or offset parameter.
  • Webhook reliability: If using webhooks, implement idempotent handlers (same event received twice should not duplicate data). Store event IDs to deduplicate.
  • API changes break things: Pin to a specific API version. Subscribe to the provider's changelog/deprecation notices.
  • Secrets management: API keys and tokens NEVER in source code. Use environment variables or a secrets manager (AWS Secrets Manager, HashiCorp Vault).

References

  • For OAuth 2.0 flow details, see references/oauth-guide.md
  • For webhook implementation patterns, see references/webhook-patterns.md

© asgard-ai-platform, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in tech-api-integration of asgard-ai-platform/skills.

  • SKILL.md
  • examples/sample_scenario.md
  • references/oauth-guide.md
  • references/webhook-patterns.md

Open the folder on GitHubat commit 4e7f4f8

Compare with similar skills

Tech API Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tech API Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tech API Integration this skillasgard-ai-platform/skills241—~1.3kAutomated safety check: PassMIT
Frappe Core APIImpertio-Studio/Frappe_Claude_Skill_Package1871 repos~3.2kAutomated safety check: PassMIT
Routing Outbound API CallsPostHog/posthog40k—~2.7kAutomated safety check: PassCustom licence
API Integration Specialistaiskillstore/marketplace4302 repos~2.2kAutomated safety check: PassNone
OmniRoute Provider Managementdiegosouzapw/OmniRoute74k—~2.4kAutomated safety check: PassMIT
API Gatewayitsmostafa/aws-agent-skills1.2k1 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • Frappe Core API

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when building ERPNext/Frappe API integrations (v14/v15/v16) including REST API, RPC API, authentication, webhooks, and rate limiting.

    187 GitHub starsUsed in 1 repo~3.2k tokens
    Backend & APIsAuto-check passed
  • Official

    Use before adding or changing Python code that calls a third-party HTTP API from PostHog (a vendor REST call, a vendor SDK client, a scraping or enrichment service), and before adding or changing a…

    40k GitHub stars~2.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • API Integration Specialist

    aiskillstore/marketplace

    Expert in integrating third-party APIs with proper authentication, error handling, rate limiting, and retry logic.

    430 GitHub starsUsed in 2 repos~2.2k tokens
    Backend & APIsAuto-check passed
  • OmniRoute Provider Management

    diegosouzapw/OmniRoute

    Manages AI provider connections, API keys, OAuth flows and connection tests through OmniRoute's REST API across its 327-provider catalog.

    74k GitHub stars~2.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • API Gateway

    itsmostafa/aws-agent-skills

    AWS API Gateway for REST and HTTP API management. An agent skill from itsmostafa/aws-agent-skills.

    1.2k GitHub starsUsed in 1 repo~2.2k tokens
    Backend & APIsAuto-check passed
  • OpenAPI CLI Caller

    EvilFreelancer/openapi-to-cli

    Turns an OpenAPI, Swagger or OpenRPC spec into CLI commands the agent can search and call, with no MCP server or code generation.

    265 GitHub stars~879 tokensUpdated 15 days ago
    Backend & APIsAuto-check passed

More from asgard-ai-platform/skills

All 209 skills in this repo
  • Algo Sc Eoq

    asgard-ai-platform/skills

    Calculate Economic Order Quantity to minimize total inventory cost (ordering + holding).

    241 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Algo Ecom Bm25

    asgard-ai-platform/skills

    Implement BM25 ranking function for e-commerce product search relevance scoring.

    241 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Mfg Cpk

    asgard-ai-platform/skills

    Calculate Cpk process capability index to assess whether a process meets specification requirements.

    241 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Price Elasticity

    asgard-ai-platform/skills

    Calculate price elasticity of demand to quantify how price changes affect sales volume.

    241 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Bayesian

    asgard-ai-platform/skills

    Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.

    241 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Elo

    asgard-ai-platform/skills

    Implement Elo rating system to rank items or players from pairwise comparison outcomes.

    241 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Tech API Integration

What does Tech API Integration do?

Guide REST API integration including HTTP methods, authentication, error handling, and rate limiting. Tech API Integration is an agent skill from asgard-ai-platform/skills. Guide REST API integration including HTTP methods, authentication, error handling, and rate limiting.

When should I use Tech API Integration?

Tech API Integration fits situations like: the user needs to connect to a third-party API; design an API client; troubleshoot API errors; understand API concepts — even if they say connect to this API.

How do I install Tech API Integration in Claude Code?

Run `npx skills add asgard-ai-platform/skills --skill tech-api-integration -a claude-code`. Or copy the skill folder (tech-api-integration in asgard-ai-platform/skills) into .claude/skills/tech-api-integration in your project. Claude Code loads it when a task matches its description.

How do I install Tech API Integration in Codex?

Run `npx skills add asgard-ai-platform/skills --skill tech-api-integration -a codex`. Or copy the skill folder (tech-api-integration in asgard-ai-platform/skills) into .agents/skills/tech-api-integration in your project. Codex loads it when a task matches its description.

Can I use Tech API Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgard-ai-platform/skills --skill tech-api-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tech-api-integration, .gemini/skills/tech-api-integration, .github/skills/tech-api-integration and .opencode/skills/tech-api-integration in your project.

What does Tech API Integration need to run?

SKILL.md names no scripts, command-line tools or credentials: Tech API Integration is instructions for the agent only.

Does Tech API Integration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tech API Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tech API Integration use?

Tech API Integration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tech API Integration use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.4k tokens, read only when the agent opens those files.

What are the alternatives to Tech API Integration?

Skills that share tags, products or a category with Tech API Integration: Frappe Core API (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars), Routing Outbound API Calls (PostHog/posthog, 40k stars), API Integration Specialist (aiskillstore/marketplace, 430 stars) and OmniRoute Provider Management (diegosouzapw/OmniRoute, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tech API Integration?

asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 241 GitHub stars. The repository holds 209 skills in this directory. The repository was last updated on June 6, 2026.

Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.