{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "lakeday-org-perch--let-coding-agent-use-perch",
 "repo": "lakeday-org/perch",
 "repo_url": "https://github.com/lakeday-org/perch",
 "repo_slug": "lakeday-org-perch",
 "title": "Let a coding agent run Perch on its own changes",
 "page_title": "How to let a coding agent run Perch on its own changes with Perch",
 "summary": "Install Perch instructions for your AI coding assistant so it can scan its own edits.",
 "who": "A developer using Claude Code, Codex, or Cursor who wants the agent to check its own changes for logic bugs.",
 "problem": "Coding agents often ship logic errors they do not notice, and reviewing each edit by hand is slow.",
 "outcome": "The assistant has Perch instructions in its project folder and can scan and check its own work.",
 "steps": [
  "Run `npm install -g @lakeday/perch` if Perch is not installed yet",
  "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",
  "Ask the assistant to run `perch scan` after each change and fix the top findings"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/lakeday-org-perch/let-coding-agent-use-perch/",
 "md": "https://dedupedai.com/use-cases/lakeday-org-perch/let-coding-agent-use-perch/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/lakeday-org-perch--let-coding-agent-use-perch.json",
 "api_version": "v1"
}
