memstack-automation-api-integration

memstack-automation-api-integration is a skill for Claude Code from cwinvestments/memstack. It costs 98 tokens per session (2,735 once invoked), scanned A, original, MIT.

A guide for connecting two software systems through their APIs, the interfaces programs use to exchange data. It covers authentication, field mapping, rate limits, retries, error recovery, and SDK wrappers.

In plain words
What is it for?
It is for building connectors that move data between services using REST or GraphQL APIs.
Why use it?
It helps prevent failed synchronizations, blocked requests, lost data, and credentials being stored unsafely.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the memstack plugin — 87 skills, 2 commands, 6 hooks shipped together

Good fit It is for building connectors that move data between services using REST or GraphQL APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cwinvestments/memstack/api-integration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cwinvestments/memstack --skill api-integration
Clone the repo
git clone --depth 1 https://github.com/cwinvestments/memstack

Made for: Claude Code.

Or install memstack, the plugin that ships this one along with the rest of its 87 skills, 2 commands, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memstack-automation-api-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/cwinvestments/memstack/api-integration/github.svg)](https://agentmods.dev/skills/cwinvestments/memstack/api-integration)
Your own site
<a href="https://agentmods.dev/skills/cwinvestments/memstack/api-integration"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/api-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memstack-automation-api-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/cwinvestments/memstack/api-integration"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/api-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.02735
Opus 5.5 $0.00039 $0.01094
Sonnet 5.5 $0.00020 $0.00547
Haiku 4.5 $0.00010 $0.00274

Measured 2mo ago against content hash db1d5b2c29e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memstack-automation-api-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/automation/api-integration/SKILL.md · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Integration: Building system connector...

Develops system-to-system connectors with REST/GraphQL patterns, authentication flows, rate limit handling, data mapping, error recovery, and SDK wrapper generation.

Activation

When this skill activates, output:

API Integration: Building system connector...

Then execute the protocol below.

Context Guard

Context Status
User says "API integration", "connect APIs", "sync data" ACTIVE
User says "data mapping" or "rate limiting" ACTIVE
User needs to build a connector between two systems ACTIVE
User wants a visual n8n workflow DORMANT: use n8n Workflow Builder
User wants to receive webhooks DORMANT: use Webhook Designer

Common Mistakes

Mistake Why It's Wrong
"Ignore rate limits" Getting blocked by the API wastes hours of debugging. Implement rate limiting from day one.
"No retry logic" APIs have transient failures. Without retry + backoff, your sync silently drops data.
"Store tokens in code" Use environment variables or a secrets manager. Tokens in code end up in git history.
"Map fields manually every time" Build a reusable mapping layer. Manual field-by-field transforms are fragile and hard to update.
"No pagination handling" Most APIs return paginated results. If you only read page 1, you're missing data.

Protocol

Step 1: Gather Integration Requirements

If the user hasn't provided details, ask:

  1. Source system: where does the data come from? (API name, docs URL)
  2. Destination: where does it go? (your DB, another API, file)
  3. Data: what entities are synced? (users, orders, products, events)
  4. Direction: one-way, two-way, or event-driven?
  5. Auth: how does the API authenticate? (API key, OAuth 2.0, JWT, Basic)
  6. Volume: how much data? How often? (1K records/day vs 1M)

Step 2: Implement Authentication

Auth Type Implementation Token Lifecycle
API Key Header: X-API-Key: {key} or query param Static: rotate manually
Bearer Token Header: Authorization: Bearer {token} Expires: refresh needed
OAuth 2.0 Auth code flow → access + refresh tokens Auto-refresh on 401
JWT Sign claims → Authorization: Bearer {jwt} Short-lived: re-sign
Basic Auth Header: Authorization: Basic {base64} Static
HMAC Sign request body → custom header Per-request signing

Read the full file on GitHub · 344 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed db1d5b2c29e2
  2. 2mo ago First seen · 344 lines · 98 tokens per session scan A 2cd925a14dd8

Subscribe to this mod's changes

memstack-automation-api-integration is a skill published in the GitHub repository cwinvestments/memstack (429 stars, last pushed 13d ago), licensed MIT. It adds 98 tokens to every session and 2,735 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

memstack-automation-api-integration compared with skills from other repositories

memstack-automation-api-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memstack-automation-api-integrationcwinvestments/memstackSkill42913d agoMITA98Claude Code
agent-django-fastapi-experttravisjneuman/.claudeSkill107yesterdayMITA92Claude Code
microservices-architecturetravisjneuman/.claudeSkill107yesterdayMITA30Claude Code, Codex
netlify-developmentMindrally/skillsSkill29729d agoApache-2.0A78Claude Code
authentication-patternstravisjneuman/.claudeSkill107yesterdayMITA28Claude Code, Codex
email-systemstravisjneuman/.claudeSkill107yesterdayMITA55Claude Code, Codex
event-driven-architecturetravisjneuman/.claudeSkill107yesterdayMITA50Claude Code, Codex