Who it is forA developer who suspects a codebase has wrong-order, off-by-one, or null-handling bugs and wants a ranked list to start with.
The problemStandard linters miss many meaning-level bugs, so problems can stay hidden until they reach production.
The outcomeA ranked list of findings with file, line, problem type, and confidence, sorted so the worst appear first.
What you need first
- Node.js with npm, to install the @lakeday/perch package
- A Perch Cloud account, created by running perch login (the first $5 is free)
- A project folder with source code to scan
Steps
- Run
npm install -g @lakeday/perch - Run
perch loginto sign in to Perch Cloud - Run
perch scanin the project folder - Run
perch issuesto see the findings worst first - Run
perch issues <id>with a finding ID to view one finding in detail (inferred, check the README)
Prompt for your agent
In the perch repo at <project path>, run `perch scan` and then `perch issues`. Report the top five findings with file, line, and problem type. Verify that the output lists problems with IDs and a severity for each.
Caveat. Scans run through Perch Cloud after sign-in, and the README says the first $5 is free, so later scans may cost money.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for lakeday-org/perch and "Find logic bugs in a codebase, worst first"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer