DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let a coding agent run Perch on its own changes with Perch

Install Perch instructions for your AI coding assistant so it can scan its own edits.

Short answer: Run npm install -g @lakeday/perch if Perch is not installed yet; then run perch setup claude-code for Claude Code, perch setup codex for Codex, or perch setup cursor for Cursor; start a session with the assistant in the project folder. All steps.

Who it is forA developer using Claude Code, Codex, or Cursor who wants the agent to check its own changes for logic bugs.

The problemCoding agents often ship logic errors they do not notice, and reviewing each edit by hand is slow.

The outcomeThe assistant has Perch instructions in its project folder and can scan and check its own work.

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

  1. Run npm install -g @lakeday/perch if Perch is not installed yet
  2. Run perch setup claude-code for Claude Code, perch setup codex for Codex, or perch setup cursor for Cursor
  3. Start a session with the assistant in the project folder
  4. Ask the assistant to run perch scan after each change and fix the top findings

Prompt for your agent

In the perch repo at <project path>, after you finish editing, run `perch scan` and then `perch issues`. Fix the top finding if it is a real defect, then run `perch check <id>`. Verify that the final scan lists no new problems introduced by your edits.

Caveat. The skill files are written into the project's .claude, .codex, or .cursor folders, so review them before committing, and Perch still requires a Perch Cloud sign-in.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for lakeday-org/perch and "Let a coding agent run Perch on its own changes"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer