lucid-api

lucid-api is a skill for Claude Code from get-Lucid/Lucid. It costs 14 tokens per session (323 once invoked), scanned A, original, MIT.

A coding-agent skill that retrieves live reference details for APIs, such as method signatures, parameters, return types, and versions.

In plain words
What is it for?
Use it when writing code for an external API or checking a specific endpoint, method, function signature, type, parameter, or return value. It requires a LUCID_API_KEY or a key set through lucid_set_api_key.
Why use it?
It helps prevent code from using outdated or incorrect API details instead of relying on remembered information.

Skill for Claude Code

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

Part of the lucid plugin — 5 skills, 1 hook, 1 MCP server shipped together

Good fit Use it when writing code for an external API or checking a…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-lucid/lucid/lucid-api
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 get-Lucid/Lucid --skill lucid-api
Clone the repo
git clone --depth 1 https://github.com/get-Lucid/Lucid

Made for: Claude Code.

Or install lucid, the plugin that ships this one along with the rest of its 5 skills, 1 hook, 1 MCP server.

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 lucid-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-lucid/lucid/lucid-api.svg)](https://agentmods.dev/skills/get-lucid/lucid/lucid-api)
Your own site
<a href="https://agentmods.dev/skills/get-lucid/lucid/lucid-api"><img src="https://agentmods.dev/badge/skills/get-lucid/lucid/lucid-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 323 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.00014 $0.00323
Opus 5 $0.00007 $0.00161
Sonnet 5 $0.00003 $0.00065
Haiku 4.5 $0.00001 $0.00032

Measured 7d ago against content hash b15909011d99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

lucid-api 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 7d 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.

skills/lucid-api/SKILL.md · 41 lines

What it actually says

Live API Reference

IMPORTANT: Always use the lucid_fetch_api_ref tool instead of web search or training data to get API references. Do NOT use WebSearch or other search tools for API lookups.

When to activate

  • User asks about specific API endpoints or methods
  • Writing code that calls external APIs
  • Checking function signatures or type definitions
  • Verifying method parameters or return types

Required behavior

  1. Call lucid_fetch_api_ref with the library and optional symbol
  2. Use the returned type signatures and parameters in your code
  3. Prefer the live reference over training data for all API details
  4. Include relevant version information in responses

Examples

  • lucid_fetch_api_ref({ library: "stripe", symbol: "PaymentIntent.create" })
  • lucid_fetch_api_ref({ library: "openai", symbol: "chat.completions", version: "v1" })
  • lucid_fetch_api_ref({ library: "prisma", symbol: "findMany" })

Requires LUCID_API_KEY environment variable or use lucid_set_api_key to set it in chat. Get your key at https://getlucid.tech/app

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. 7d ago First seen · 41 lines · 14 tokens per session scan A b15909011d99

Subscribe to this mod's changes

lucid-api is a skill published in the GitHub repository get-Lucid/Lucid (75 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 323 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

api-docs

Document a module or public API surface (functions, classes, CLI commands, endpoints) from the code itself. Use when the user asks for API reference, to document a module, or to write usage docs for a public interface.

omnigent-ai/omnigent · 50 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens

python-sdk

Implement or modify Python SDK behavior under python/composio, including tools, toolkits, sessions, auth configs, connected accounts, client integration, and shared Python models. Use for Python core runtime/API work; pair with python-testing and cross-sdk-parity when TypeScript must match.

ComposioHQ/composio · 60 tokens

typescript-providers

Implement, modify, test, or document TypeScript provider packages under ts/packages/providers, including framework adapters for OpenAI, Anthropic, Google, LangChain, Mastra, Vercel, LlamaIndex, Cloudflare, and Claude Agent SDK. Use for provider-specific TS work; do not use for core-only changes.

ComposioHQ/composio · 70 tokens

graph-mutation-plan

Cookbook for composing an applygraphmutations plan — stable entitykey patterns, the canonical label/edge vocabulary, evidence/invalidation/confidence discipline, and a worked example. Load this when building a non-trivial mutation plan.

potpie-ai/potpie · 51 tokens