api-skills AGENTS.md

A repository instruction file for creating and maintaining coding-agent skills for Apideck's Unified API, a service that provides one interface to multiple business APIs.

In plain words
What is it for?
Contributing new API skills, editing existing skills, checking required metadata, and synchronizing skills with provider-specific copies.
Why use it?
It gives contributors the repository layout, required files, naming rules, and guidance for keeping detailed information separate so agents use context efficiently.

Instructions file for CodexOpenCode

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 instructions/apideck-libraries/api-skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/apideck-libraries/api-skills

Made for: Codex, OpenCode.

Per session 975 This file is loaded in full into every session.
When invoked 975 The same file — it is already loaded in full.
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.00975 $0.00975
Opus 5 $0.00487 $0.00487
Sonnet 5 $0.00195 $0.00195
Haiku 4.5 $0.00097 $0.00097

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

Security

Grade A, and why

api-skills AGENTS.md 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 2d 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.

AGENTS.md · 101 lines

How it starts

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

Agent Guidelines for Apideck API Skills

This repository contains AI agent skills for the Apideck Unified API. Follow these guidelines when contributing or modifying skills.

Repository Structure

skills/{skill-name}/
  SKILL.md              # Required: Agent instructions with YAML frontmatter
  metadata.json         # Required: Version, references, organization metadata
  references/           # Optional: Detailed reference docs (loaded on demand)
  scripts/              # Optional: Executable scripts

Provider mirrors (auto-generated via node skills/sync.js):

providers/{claude,cursor}/plugin/
  skills/               # Mirror of skills/ (do not edit directly)
  commands/             # Slash commands
  .{provider}-plugin/   # Plugin configuration

Skill Authoring Rules

SKILL.md Requirements

  • Frontmatter must include: name, description, license, alwaysApply, metadata (with author and version)
  • name must be kebab-case, match the directory name, and start with apideck-
  • description must include trigger phrases — words/phrases that help agents decide when to activate the skill
  • alwaysApply should be false for all skills (loaded only when contextually relevant)
  • SKILL.md body should stay under 500 lines. Move detailed content to references/ files
  • Code examples must use real Apideck SDK patterns with correct method signatures
  • Doc links should point to https://developers.apideck.com/ for official docs

Progressive Disclosure (Context Efficiency)

Skills are loaded in tiers to minimize context window usage:

  1. Metadata (~100 tokens): name and description from frontmatter — loaded at startup for ALL installed skills
  2. Instructions (< 5000 tokens): Full SKILL.md body — loaded when skill is activated
  3. References (as needed): Files in references/ — loaded only when agent needs specific details

Keep SKILL.md as a quick reference / index. Put detailed API endpoint docs, migration tables, and configuration references in separate files.

Read the full file on GitHub · 101 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. 2d ago First seen · 101 lines · 975 tokens per session scan A 62e2db3dd8f1

Subscribe to this mod's changes

api-skills AGENTS.md is an instructions file published in the GitHub repository apideck-libraries/api-skills (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 975 tokens to every session, about $0.0049 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-31.