If you use ChatGPT for coding, it sometimes suggests outdated or deprecated packages from training data. I found a free API
that fixes this.
Add this to your custom instructions or system prompt:
“Before suggesting any npm/pip/cargo install, verify the package by calling: GET depscope.dev/api/check/{ecosystem}/{package}
— use the health score and recommendation to decide. No auth needed.”
What changed:
Before: asked for an ORM for PostgreSQL → got Prisma, Sequelize, TypeORM from memory. Missed drizzle-orm.
After: checks health scores first → drizzle-orm 94/100 wins. Correct version, 0 vulnerabilities verified.
Also catches deprecated packages — request (deprecated since 2020) gets skipped, suggests axios (97/100) instead.
There’s also a DepScope GPT in the GPT Store that does this automatically.
Free API at depscope.dev — supports npm, PyPI, Cargo. No signup.
Anyone else adding package verification to their prompts?