agentleFS
intelligems-iointelligems-io/intelligems-mcp-skills/skills/api-integration-builder/SKILL.md

api-integration-builder

Skill0 starsChanged 5 months agoMITView on GitHub

Use when a user wants to build scripts, dashboards, alerts, or data pipelines with the Intelligems External API and needs source-backed endpoint guidance.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when building or reviewing code that calls the Intelligems External API.

    line 9
  2. Very specific:

    Use INTELLIGEMS_ACCESS_TOKEN or another environment variable.

    line 16
  3. Distinctive:

    Read the OpenAPI spec when endpoint shape matters.

    line 34
  4. Distinctive:

    Prefer typed clients or schema validation for production integrations.

    line 37
  5. Distinctive:

    Keep raw API responses out of tracked files unless anonymized.

    line 38
  6. Distinctive:

    Treat export URLs, generated graphs, raw JSON, order-level CSVs, and line-item CSVs as private data.

    line 40
  7. Distinctive:

    When producing code, include:

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

API Integration Builder

Use this skill when building or reviewing code that calls the Intelligems External API.

First Moves

  1. Load references/external-api.md.
  2. Confirm the integration goal: reporting, monitoring, dashboarding, lifecycle automation, or data export.
  3. Confirm whether the task is read-only. Creating, updating, starting, pausing, or ending experiences requires explicit user approval.
  4. Use INTELLIGEMS_ACCESS_TOKEN or another environment variable. Never hardcode tokens.

Request Pattern

Base URL:

https://api.intelligems.io

Header:

intelligems-access-token: $INTELLIGEMS_ACCESS_TOKEN

Implementation Rules

  • Read the OpenAPI spec when endpoint shape matters.
  • Handle 400, 401, 404, 429, and 500.
  • Respect rate-limit headers: x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset.
  • Prefer typed clients or schema validation for production integrations.
  • Keep raw API responses out of tracked files unless anonymized.
  • Log request IDs, endpoint names, and high-level status, not tokens or private payloads.
  • Treat export URLs, generated graphs, raw JSON, order-level CSVs, and line-item CSVs as private data.

Output For Code Tasks

When producing code, include:

  1. Environment variables required.
  2. Endpoint list used.
  3. Error handling.
  4. Rate-limit handling.
  5. Validation or test plan.
  6. Safety note for any mutating endpoint.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.