cd /news/developer-tools/stop-your-ai-assistant-from-hallucin… · home topics developer-tools article
[ARTICLE · art-46800] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Stop your AI assistant from hallucinating PDF APIs: SelectPdf AI Tools

SelectPdf has released a free, open-source (MIT) set of Agent Skills called SelectPdf AI Tools that prevents AI coding assistants from hallucinating PDF API methods. The tools provide accurate, version-matched knowledge of the SelectPdf .NET library, including real API signatures and working code samples in C# and VB.NET. The skills are available as plugins for Claude Code, Cursor, GitHub Copilot, and Codex, and are designed to automatically activate when working with PDFs in .NET projects.

read1 min views1 publishedJul 1, 2026

AI coding assistants are great at .NET boilerplate, but ask one to generate PDF code and it will happily invent a method that doesn't exist, or reach for a commercial feature while claiming it's in the free edition. The model is guessing from training data.

SelectPdf AI Tools fixes that. It's a free, open-source (MIT) set of Agent Skills that give your assistant accurate, version-matched knowledge of the SelectPdf .NET library — real API signatures, working code, and the gotchas that matter.

A single Claude Code plugin with two skills:

selectpdf-lib-net

selectpdf-lib-htmltopdf-net

Every sample is in C# and VB.NET, tracking SelectPdf v26.3.

/plugin marketplace add selectpdf/ai-tools
/plugin install selectpdf@selectpdf

The right skill activates automatically when you ask it to work with PDFs in a .NET project.

The same knowledge ships in each tool's native format — Cursor .mdc

rules, Copilot .instructions.md

, and a Codex AGENTS.md

guide. Drop the file into your repo and your assistant is up to speed.

It's all open source, so you can read exactly what your assistant is being told — and send a PR if you spot something. 👉 https://github.com/selectpdf/ai-tools

Want to see the library itself? Browse the online documentation or try the C# and VB.NET live demos.

── more in #developer-tools 4 stories · sorted by recency
── more on @selectpdf 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/stop-your-ai-assista…] indexed:0 read:1min 2026-07-01 ·