Build a typed Attio REST client with tenant-aware tokens, endpoint-specific pagination, structured errors, bounded retries, and contract tests while distinguishing it from the Attio App SDK.

MITAuto-check passedBackend & APIs

Install Attio SDK Patterns

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill attio-sdk-patterns -a claude-code

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace attio-sdk-patterns --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/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/attio-sdk-patterns .claude/skills/attio-sdk-patterns && 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
attio-sdk-patterns
GitHub stars
2.8k
Token cost
~1k tokens
SKILL.md length
391 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Build a typed Attio REST client with tenant-aware tokens, endpoint-specific pagination, structured errors, bounded retries, and contract tests while distinguishing it from the Attio App SDK.

  • Works in 7 steps: Inventory call sites and group the… → Reverify each method, path, scope, body,… → Define typed request and response… → …
  • Refactoring Attio integration code
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 7 more sections
  • Reaches api.attio.com

What it does

Attio SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a typed Attio REST client with tenant-aware tokens, endpoint-specific pagination, structured errors, bounded retries, and contract tests while distinguishing it from the Attio App SDK. Use when creating or refactoring Attio integration code. Trigger with "Attio SDK", "Attio client wrapper", or "typed Attio API".

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Designed for Claude Code

It sits in Backend & APIs, covering Third-party API integration, Integration testing and Refactoring. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Refactoring Attio integration code
  • Attio client wrapper
  • Typed Attio API

Example prompts

  • “Attio SDK”
  • “Attio client wrapper”
  • “typed Attio API”
  • “/attio-sdk-patterns”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, Write, Edit

Workflow steps

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

  1. Inventory call sites and group the smallest useful endpoint surface.
  2. Reverify each method, path, scope, body, response, and paginator in official documentation.
  3. Define typed request and response boundaries with runtime validation for external data.
  4. Centralize base URL, authorization, timeouts, redaction, request IDs, and structured error translation.
  5. Implement separate offset and cursor iterators; bind each endpoint explicitly to the correct strategy.
  6. Retry only eligible transient failures, respecting rate limits and mutation idempotency.
  7. Add fixture, pagination-termination, error, redaction, and tenant-isolation tests.

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • WebFetch
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.attio.com

    Also links to:

    • docs.attio.com

    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.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Attio SDK Patterns loads about 1k tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 391 words of instructions outside code blocks.

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

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 jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 391 words, ~1,007 tokens.

Download SKILL.mdSave it as .claude/skills/attio-sdk-patterns/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
attio-sdk-patterns
description
Build a typed Attio REST client with tenant-aware tokens, endpoint-specific pagination, structured errors, bounded retries, and contract tests while distinguishing it from the Attio App SDK. Use when creating or refactoring Attio integration code. Trigger with "Attio SDK", "Attio client wrapper", or "typed Attio API".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit
compatibility
Designed for Claude Code
argument-hint
[repository-path] [language-or-runtime]
version
1.8.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, attio, sdk
model
inherit
effort
high

Attio Typed Client Patterns

Overview

This skill designs a small REST client around the endpoints an application actually uses. It does not conflate a server-side REST wrapper with Attio's attio App SDK for in-product apps.

Prerequisites

  • Runtime, package manager, and existing HTTP conventions
  • Exact endpoints, methods, scopes, and response shapes
  • Tenancy and credential model
  • Existing tests and error-handling policy

Tool Discipline

Use Read, Glob, and Grep to inspect clients, types, dependency policy, and tests. Use WebFetch only for official Attio REST, OpenAPI, and App SDK documentation. Use Write or Edit after the target abstraction and endpoint contracts are confirmed.

Current Contract

  • Attio REST requests use the https://api.attio.com/v2 base URL and endpoint-specific scopes.
  • Pagination is endpoint-specific: some operations use limit and offset, while others return a cursor such as pagination.next_cursor.
  • The Attio App SDK package attio serves apps running inside Attio and is not a universal REST client replacement.
  • Generated types can start from the official OpenAPI document, but application-level validation and tests still own runtime safety.

Authentication

Inject a token provider that resolves the authorized workspace at request time. Do not place a global production token in source, client constructors, snapshots, fixtures, or logs.

Show full SKILL.md (197 more words)Show less

Instructions

  1. Inventory call sites and group the smallest useful endpoint surface.
  2. Reverify each method, path, scope, body, response, and paginator in official documentation.
  3. Define typed request and response boundaries with runtime validation for external data.
  4. Centralize base URL, authorization, timeouts, redaction, request IDs, and structured error translation.
  5. Implement separate offset and cursor iterators; bind each endpoint explicitly to the correct strategy.
  6. Retry only eligible transient failures, respecting rate limits and mutation idempotency.
  7. Add fixture, pagination-termination, error, redaction, and tenant-isolation tests.

Approval Boundaries

Do not replace an established client, add a generated dependency, or migrate production call sites without owner approval and compatibility evidence.

Output

Return the endpoint inventory, client interface, pagination mapping, error taxonomy, auth boundary, test evidence, migration plan, and rollback point.

Error Handling

ConditionResponse
Endpoint contract is ambiguousStop and recheck the official endpoint reference.
Runtime payload fails validationReturn a typed contract error and preserve redacted evidence.
Pagination repeats a pageAbort at the loop guard and record the endpoint strategy.
Tenant token does not match contextReject before sending the request.

Examples

Input:

text
runtime=TypeScript; endpoints=record query and task create; tenancy=multi-workspace

Expected handoff:

text
client=typed REST wrapper; pagination=endpoint mapped; tenant-tests=pass

Resources

© jeremylongshore, 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 1 other file (references) in skills/.curated/attio-sdk-patterns of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Attio SDK Patterns 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.

Attio SDK Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Attio SDK Patterns this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
Crowdin API Clientcrowdin/crowdin-cli320—~1.1kAutomated safety check: PassMIT
Eval IntegrationIbrahim-3d/orchestrator-supaconductor381—~1.8kAutomated safety check: PassAGPL-3.0
API Contract ReviewTencentCloudBase/CloudBase-AI-Toolkit1.1k—~1.5kAutomated safety check: PassMIT
Integration Test GeneratorArabelaTso/Skills-4-SE253—~2.1kAutomated safety check: PassApache-2.0
Django Outside In TDDhashgraph-online/awesome-codex-plugins1.3k—~905Automated safety check: PassMIT

Similar skills

  • Crowdin API Client

    crowdin/crowdin-cli

    A skill your agent uses when implementing, refactoring, or reviewing @crowdin/crowdin-api-client usage in any JavaScript or TypeScript project, especially for endpoint selection, request/response…

    320 GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Eval Integration

    Ibrahim-3d/orchestrator-supaconductor

    Specialized integration evaluator for the Evaluate-Loop. An agent skill from Ibrahim-3d/orchestrator-supaconductor.

    381 GitHub stars~1.8k tokensUpdated 12 days ago
    Backend & APIsAuto-check passed
  • API Contract Review

    TencentCloudBase/CloudBase-AI-Toolkit

    A skill your agent uses when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes…

    1.1k GitHub stars~1.5k tokensUpdated today
    Backend & APIsAuto-check passed
  • Integration Test Generator

    ArabelaTso/Skills-4-SE

    Generate integration tests for multiple interacting components in Python.

    253 GitHub stars~2.1k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Django Outside In TDD

    hashgraph-online/awesome-codex-plugins

    Drive Django features with outside-in and double-loop TDD: user story, Selenium or functional test, focused Django unit/integration tests, minimal implementation, and refactor.

    1.3k GitHub stars~905 tokensUpdated today
    Testing & QAAuto-check passed
  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Attio SDK Patterns

What does Attio SDK Patterns do?

Build a typed Attio REST client with tenant-aware tokens, endpoint-specific pagination, structured errors, bounded retries, and contract tests while distinguishing it from the Attio App SDK. Attio SDK Patterns is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a typed Attio REST client with tenant-aware tokens, endpoint-specific pagination, structured errors, bounded retries, and contract tests while distinguishing it from the Attio App SDK.

When should I use Attio SDK Patterns?

Attio SDK Patterns fits situations like: refactoring Attio integration code; attio client wrapper; typed Attio API.

How do I install Attio SDK Patterns in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill attio-sdk-patterns -a claude-code`. Or copy the skill folder (skills/.curated/attio-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/attio-sdk-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Attio SDK Patterns in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill attio-sdk-patterns -a codex`. Or copy the skill folder (skills/.curated/attio-sdk-patterns in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/attio-sdk-patterns in your project. Codex loads it when a task matches its description.

Can I use Attio SDK Patterns 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 jeremylongshore/tons-of-skills-marketplace --skill attio-sdk-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/attio-sdk-patterns, .gemini/skills/attio-sdk-patterns, .github/skills/attio-sdk-patterns and .opencode/skills/attio-sdk-patterns in your project.

What does Attio SDK Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Attio SDK Patterns is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, WebFetch, Write, Edit. Compatibility (from SKILL.md): Designed for Claude Code.

Does Attio SDK Patterns access the network?

SKILL.md names 2 domains. In commands or code: api.attio.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.attio.com. This is read from the text; nothing was executed.

Is Attio SDK Patterns 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 Attio SDK Patterns use?

Attio SDK Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Attio SDK Patterns use?

About 1k tokens (SKILL.md is roughly 4k 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 528 tokens, read only when the agent opens those files.

What are the alternatives to Attio SDK Patterns?

Skills that share tags, products or a category with Attio SDK Patterns: Crowdin API Client (crowdin/crowdin-cli, 320 stars), Eval Integration (Ibrahim-3d/orchestrator-supaconductor, 381 stars), API Contract Review (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars) and Integration Test Generator (ArabelaTso/Skills-4-SE, 253 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Attio SDK Patterns?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

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