Check a codebase for redundant packages and polyfills
An agent can scan code and install commands to find dependencies that can be replaced with built-ins or better options.
- What they did
- A developer connected the e18e MCP server to their agent, either through a remote HTTP setup or by using the local @e18e/mcp package. After that, the agent could review install commands, inspect source files for import substitutions, search by package name or topic, and open migration guides.
- How it went
- The setup description does not show a real audit result, so there is no evidence of how many packages were flagged or removed. It also notes that the checker handles one source file at a time, which means a full repository needs file-by-file review.
- Tips
- Use it as a review tool, not an auto-fixer. Ask the agent to pause before any changes to package files or installs, and have it work through the repo one file at a time.
Try it yourself with Claude Code
Review the code at [repo path] for dependencies and polyfills that look unnecessary in [runtime/version]. Check install commands, source imports, and any obvious built-in replacements. List each item with the current package, why it seems redundant, and a safer replacement; then stop and ask me to approve before you change any package files, delete anything, or run installs.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Trace C# symbol usage with a Roslyn-backed index
Graphify C# helps agents map real C# usages, including overrides and implementations, from compiler-resolved project data.
Build software on a cloud VM and keep browsing there
Have an agent compile software on a cloud machine, then let you log in in the browser and continue the task.
Deploy static pages on your own Cloudflare domain
An agent can install a Cloudflare Workers app that publishes HTML pages on your domain and keeps a dated list of deployments.
Check traces for hidden agent errors
Laminar’s flow-1 reviews agent traces end to end so quiet mistakes can be caught without sampling.
Send blocked jobs to whichever model can handle them
A commenter used a shared policy file and SQL task board to move rejected tasks from a local model to another model.
Find native browser replacements in a web app
A coding-agent skill helps developers swap older front-end patterns for newer browser APIs.