add-test

add-test is a skill for Claude Code, Codex from cyanheads/crossref-mcp-server. It costs 41 tokens per session (3,571 once invoked), scanned A, original, no licence file.

A starting point for a test file that matches an existing tool, data source, or service.

In plain words
What is it for?
It helps add tests to existing code and create a matching test file when a definition has no tests.
Why use it?
It removes the need to create the test file structure from scratch when tests are missing or coverage needs improvement.

Skill for Claude CodeCodex

Part of the crossref-mcp-server plugin — 32 skills, 1 MCP server 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/cyanheads/crossref-mcp-server/add-test
Any agent
npx skills add cyanheads/crossref-mcp-server --skill add-test
Clone the repo
git clone --depth 1 https://github.com/cyanheads/crossref-mcp-server

Made for: Claude Code, Codex.

Or install crossref-mcp-server, the plugin that ships this one along with the rest of its 32 skills, 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 add-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyanheads/crossref-mcp-server/add-test.svg)](https://agentmods.dev/skills/cyanheads/crossref-mcp-server/add-test)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/crossref-mcp-server/add-test"><img src="https://agentmods.dev/badge/skills/cyanheads/crossref-mcp-server/add-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,571 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00041 $0.03571
Opus 5 $0.00020 $0.01785
Sonnet 5 $0.00008 $0.00714
Haiku 4.5 $0.00004 $0.00357

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

Security

Grade A, and why

add-test 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.

skills/add-test/SKILL.md · 318 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 · 318 lines · 41 tokens per session scan A 9ff05d2f4834

Subscribe to this mod's changes

add-test is a skill published in the GitHub repository cyanheads/crossref-mcp-server (3 stars, last pushed 10d ago), with no licence file. It adds 41 tokens to every session and 3,571 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

academic-research

Nested swiss-knife reference for academic literature work — find papers, fetch full-text PDFs, trace citations, write LaTeX manuscripts. First action for any "get me this paper" request: python3 /scripts/fetchpaper.py — walks arXiv → Unpaywall → Europe PMC → CORE → in-house publisher-page extraction…

Lingtai-AI/lingtai · 180 tokens

nature-academic-search

Use when users ask to 找文献、做文献检索、查论文、查临床试验、核验引用、去重文献、设计 PubMed/MeSH 检索式、追踪上下游引文、解析 DOI/PMID/PMCID/arXiv/OpenAlex/Semantic Scholar/NCT ID, 或导出 RIS、BibTeX、NBIB、ENW;also use for multi-source academic search, citation verification, citation graphs, trial registration search, research workflows, or DeepSeek Harness…

wp-a/nature-academic-search · 122 tokens

paper-verify-webchat

Use when the user asks to fact-check, verify, or score the citations/sources/references in a document from a chat (no terminal) — extracts citations with bundled code, fetches and judges each source with web tools, then scores through paper-verify's standard 100-point rubric via --from-evidence.

nolainjin/paper-verify · 70 tokens

paper-verify

Use when the user asks to verify citations, audit source links, check blog/report/lecture references, or reduce a long bibliography to sources that need human review using the paper-verify CLI or MCP tools.

nolainjin/paper-verify · 45 tokens

ai4scholar-文献审计助手

全方位审计参考文献列表:交叉引用匹配、格式一致性、DOI/URL 验证、期刊名核查、元数据逻辑校验、完整性检测、重复检测、自引率分析、排序校验。支持联网验证文献真实性(需 ai4scholar API Key)。.

literaf/ai4scholar-skill-hub · 82 tokens

Paper Writing Skills Index

Routing and workflow skill family for paper-writing tasks. Covers manuscript drafting, journal and conference papers, grant proposals, lab reports, group-meeting reports, talks, workshop notes, reviewer rebuttals, academic HTML/PDF/LaTeX output with editable-block contracts, citation grounding, evidence checking, and…

aristoteleo/PantheonOS · 76 tokens