api-documentation-discovery

api-documentation-discovery is a skill for Claude Code from technicalpickles/pickled-claude-plugins. It costs 49 tokens per session (734 once invoked), scanned A, original, MIT.

A procedure for finding the current documentation for a software library or API instead of relying on remembered examples. An API is the set of rules and commands that let programs use another tool or service.

In plain words
What is it for?
It helps investigate repeated API failures, verify installed versions, find accurate reference material, and check uncertain API usage before proposing a fix.
Why use it?
It helps resolve version-related errors such as missing methods, incorrect arguments, or unknown command options. It reduces the risk of applying outdated syntax.

Skill for Claude Code

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

Part of the dev-tools plugin — 8 skills, 2 commands shipped together

Good fit It helps investigate repeated API failures, verify installed versions, find accurate reference material, and check uncertain API usage before proposing a fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technicalpickles/pickled-claude-plugins/finding-api-docs
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 technicalpickles/pickled-claude-plugins --skill finding-api-docs
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

Made for: Claude Code.

Or install dev-tools, the plugin that ships this one along with the rest of its 8 skills, 2 commands.

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 api-documentation-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/finding-api-docs/github.svg)](https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/finding-api-docs)
Your own site
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/finding-api-docs"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/finding-api-docs/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 api-documentation-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/finding-api-docs"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/finding-api-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 734 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.
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.00049 $0.00734
Opus 5.5 $0.00020 $0.00294
Sonnet 5.5 $0.00010 $0.00147
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

api-documentation-discovery 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 1mo 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.

plugins/dev-tools/skills/finding-api-docs/SKILL.md · 69 lines

How it starts

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

API Documentation Discovery

Overview

When an API call fails in a way that points at a version mismatch, look up the installed version's docs instead of retrying from memory. Training data ages; the installed version is the truth.

When to Use

  • Two or more failed attempts against the same library or API.
  • Errors like "method not found", "wrong number of arguments", "unknown flag", "undefined method", or a version mismatch in a stack trace.
  • You're about to rely on an API detail you haven't checked against the installed version, including one the user is sure of that keeps failing.

Skip it for a first failure whose error names the fix, and for errors that aren't about API usage (logic bugs, type errors in your own code).

The Discovery Workflow

Step 1: Stop retrying

Treat the trigger as the signal to look it up, not to try another variation.

Step 2: Identify Context

  • What library/framework is failing? (check imports, stack traces, go.mod/Gemfile)
  • What version is installed? (language tools show this)
  • What operation are you trying? (the actual goal, not the syntax attempt)

Step 3: Use Language Discovery Tools

Check language-specific reference for HOW to discover documentation:

  • references/go.md - Go module exploration
  • references/ruby.md - Ruby gem exploration

Follow progressive discovery: docs → examples → source

Step 4: Verify Before Using

  • Found API signature? Verify it matches your use case
  • Found example? Adapt it, don't just copy pattern from memory
  • Found docs? Read them, don't skim for confirmation

Common Anti-Patterns

Rationalization Reality
"User is confident, syntax is probably right" User confidence ≠ current API. Verify.
"Training data shows this pattern" Training data ages. Check installed version.
"Let me try one more variation" Guessing wastes time. Check docs now.
"This is documented somewhere" Then go READ it before claiming confidence.
"Should be simple, just tweak syntax" Simplicity bias. Use discovery tools.
"We've spent enough time on this" Sunk cost fallacy. 2 min checking docs beats 20 min guessing.

Read the full file on GitHub · 69 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -50 lines e6c948025b80
  2. 3mo ago First seen · 119 lines · 49 tokens per session scan A 668de6106a8d

Subscribe to this mod's changes

api-documentation-discovery is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (13 stars, last pushed 9d ago), licensed MIT. It adds 49 tokens to every session and 734 once invoked, about $0.0002 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-31.

Related

api-documentation-discovery compared with skills from other repositories

api-documentation-discovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-documentation-discoverytechnicalpickles/pickled-claude-pluginsSkill139d agoMITA49Claude Code
create-pubsub-dotnetdiagrid-labs/dapr-skillsSkill136d agoMITA79Claude Code
create-pubsub-javadiagrid-labs/dapr-skillsSkill136d agoMITA61Claude Code
create-workflow-from-diagramdiagrid-labs/dapr-skillsSkill136d agoMITA93Claude Code
create-workflow-typescriptdiagrid-labs/dapr-skillsSkill136d agoMITA52Claude Code
create-pubsub-pythondiagrid-labs/dapr-skillsSkill136d agoMITA70Claude Code
create-workflow-dotnetdiagrid-labs/dapr-skillsSkill136d agoMITA46Claude Code