verify-with-docs

verify-with-docs is a skill for Claude Code, Codex from znlgis/my-opencode-deepseek-config. It costs 94 tokens per session (1,033 once invoked), scanned A, original, MIT.

A retrieval-first method for checking a library, framework, software development kit, or application programming interface against its current documentation before coding.

In plain words
What is it for?
Use it when implementing or debugging code that depends on a named or fast-changing external tool, unless the task only uses stable built-in code.
Why use it?
Software dependencies change, so relying on memory can lead to wrong function names, options, configuration keys, or return values.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it when implementing or debugging code that depends on a named or fast-changing external tool, unless the task only uses stable built-in code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/my-opencode-deepseek-config/verify-with-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 znlgis/my-opencode-deepseek-config --skill verify-with-docs
Clone the repo
git clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-config

Made for: Claude Code, Codex.

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 verify-with-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/verify-with-docs.svg)](https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/verify-with-docs)
Your own site
<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/verify-with-docs"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/verify-with-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,033 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00094 $0.01033
Opus 5 $0.00047 $0.00517
Sonnet 5 $0.00019 $0.00207
Haiku 4.5 $0.00009 $0.00103

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

Security

Grade A, and why

verify-with-docs 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 8d 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.

opencode/skills/verify-with-docs/SKILL.md · 99 lines

How it starts

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

Verify With Docs (Retrieval-First)

Your training data has a cutoff and libraries move fast, so for any code that touches a specific dependency, retrieve before you write. Prefer retrieval over pre-training memory — never trust the model's memorized API surface when the current docs are reachable.

When this applies

Reach for this skill when the task:

  • implements against a named library/framework/SDK, especially a fast-moving one (web frameworks, cloud SDKs, AI/LLM SDKs, build tools, ORMs);
  • depends on exact signatures, option names, return shapes, or config keys;
  • says "latest", "current", "did X change in version Y", or names a version;
  • is failing with an error that looks like a wrong/renamed API.

Skip it for stable stdlib usage you are certain of, or pure logic with no external API surface.

References Local-First

Before fetching from the web, check if the target library is available as a local reference in opencode.jsoncreferences. If mounted (e.g., via references: { "opencode": { "repository": "anomalyco/opencode" } }), read the source code from the local clone first. Only fall back to web fetch if:

  • The reference is outdated (commit older than the version in use)
  • The reference does not cover the relevant code paths
  • No reference is mounted for the target library

The loop

  1. Pin the exact version. Read the version actually in use before reading any docs — the docs must match it.
    • JS/TS: package.json + the lockfile (node_modules/<pkg>/package.json is the ground truth for the installed version).
    • Python: pyproject.toml / requirements.txt / pip show <pkg>.
    • Go: go.mod. Rust: Cargo.toml / Cargo.lock.
  2. Go to the primary source, matched to that version. Prefer, in order: official docs for that version → the library's own repo (tag/branch matching the version) → typed definitions shipped with the package (.d.ts, stubs, godoc) → reputable references. Skip blog posts and Q&A for signatures.
  3. Extract only what you need. The exact signature, required vs optional params, return type, error modes, and any breaking-change note between the installed version and what memory assumes. Don't dump whole pages into context — quote the minimal relevant lines.
  4. Report verified facts with citations. Every signature you hand back must carry a source URL or file path so the implementing agent can trust it.
  5. Only then implement — against the retrieved API, not the remembered one.

Read the full file on GitHub · 99 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. 8d ago First seen · 99 lines · 94 tokens per session scan A f5f6f36915ab

Subscribe to this mod's changes

verify-with-docs is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (57 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,033 once invoked, about $0.0005 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.