sdk-plugins

sdk-plugins is a skill for Claude Code, Codex from AmadeusITGroup/otter. It costs 74 tokens per session (1,337 once invoked), scanned A, original, BSD-3-Clause.

A plugin system for Amadeus API clients, where small pieces of code can change requests, wrap the network call, or process responses. An API is a service that software calls to exchange data.

In plain words
What is it for?
Use it to add authentication, change headers or query parameters, transform request bodies, add retries or timeouts, wrap calls for logging or metrics, and handle returned data or errors.
Why use it?
It keeps common request and response handling in one place instead of repeating authentication, retries, time limits, logging, or error handling throughout the application.

Skill for Claude CodeCodex

Part of the ama-sdk plugin — 4 skills, 1 agent shipped together

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.

agentmods
npx agentmods add skills/amadeusitgroup/otter/sdk-plugins
Any agent
npx skills add AmadeusITGroup/otter --skill sdk-plugins
Clone the repo
git clone --depth 1 https://github.com/AmadeusITGroup/otter

Made for: Claude Code, Codex.

Or install ama-sdk, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

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 sdk-plugins

README.md
[![agentmods](https://agentmods.dev/badge/skills/amadeusitgroup/otter/sdk-plugins.svg)](https://agentmods.dev/skills/amadeusitgroup/otter/sdk-plugins)
Your own site
<a href="https://agentmods.dev/skills/amadeusitgroup/otter/sdk-plugins"><img src="https://agentmods.dev/badge/skills/amadeusitgroup/otter/sdk-plugins.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,337 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00074 $0.01337
Opus 5 $0.00037 $0.00668
Sonnet 5 $0.00015 $0.00267
Haiku 4.5 $0.00007 $0.00134

Measured 4d ago against content hash 3d14f745d2ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sdk-plugins 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 4d 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.

tools/llm/plugins/ama-sdk/skills/sdk-plugins/SKILL.md · 183 lines

How it starts

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

SDK Plugins

Configure built-in plugins and create custom ones for @ama-sdk clients.

Plugin Architecture

Plugins are registered on client instantiation and execute in order:

const client = new ApiFetchClient({
  basePath: 'https://api.example.com',
  requestPlugins: [/* transform request before sending */],
  fetchPlugins: [/* wrap the fetch call itself */],
  replyPlugins: [/* process the response */]
});

Execution order:

  1. requestPlugins transform the RequestOptions (headers, query params, body)
  2. fetchPlugins wrap the actual HTTP call (retry, timeout, abort)
  3. replyPlugins process the response (deserialization, error handling)

Important: When customizing replyPlugins, always re-apply the ExceptionReply and ReviverReply plugins. These are included by default but will be lost if you override the array. Without them, the SDK cannot deserialize responses or throw typed exceptions properly.

Built-in Plugins

For the full up-to-date list of available plugins, browse the source directories:

Common Configurations

Authentication with API Key

import { ApiKeyRequest } from '@ama-sdk/core';
import { ApiFetchClient } from '@ama-sdk/client-fetch';

const client = new ApiFetchClient({
  basePath: 'https://api.example.com',
  requestPlugins: [
    new ApiKeyRequest('Bearer my-token', 'Authorization')
  ]
});

Dynamic token (async)

import { ApiKeyRequest } from '@ama-sdk/core';

const client = new ApiFetchClient({
  basePath: 'https://api.example.com',
  requestPlugins: [
    new ApiKeyRequest(async () => {
      const token = await refreshToken();
      return `Bearer ${token}`;
    }, 'Authorization')
  ]
});

Read the full file on GitHub · 183 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. 4d ago First seen · 183 lines · 74 tokens per session scan A 3d14f745d2ad

Subscribe to this mod's changes

sdk-plugins is a skill published in the GitHub repository AmadeusITGroup/otter (57 stars, last pushed today), licensed BSD-3-Clause. It adds 74 tokens to every session and 1,337 once invoked, about $0.0004 per session on Opus 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.