When should you use it?
- You want an agent to finish long tasks unattended
- Explaining context twice wastes time
- You build native apps
Not for: Repos with secrets you cannot put in a cloud machine; Tasks needing your local hardware
What do you need, and what do you get?
You need
- Repo
- Local agent CLI
- Cloud agent account
You get
- Agreed plan
- Cloud session finishing the task
- Pull request to review
How does it work, step by step?
- Explore locallyLet the agent read the repo and summarize the plan.
- Agree the planCorrect it until you would hand it to a teammate.
- Hand offMove the session to the cloud machine with the same context.
- Let it loopFor apps, it builds, runs, inspects and fixes in its own environment.
- Review the PRYou review and merge.
The prompt
Our own prompt, inspired by u/Ok_Insurance_919 on r/CognitionLabs and written to work in Custom agent. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Explore this repo and summarize: architecture, how to build and test, and your plan for {task}, listing files you expect to change. Wait for my approval of the plan. After handoff, work on a branch named {branch}, run the build and tests after each change, then raise a PR with a summary. Do not merge.
Inspired by u/Ok_Insurance_919 on r/CognitionLabs: $20 Devin Pro + free SWE-2: my experience with the full workflow so far. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Cloud machines need their own test credentials, not yours.
- Subagents running unsupervised; the poster wants more control there.
Our take
The useful idea is the trust checkpoint: watch the agent explore locally, agree a plan, then let it run in a machine where mistakes cannot touch yours. For native apps, the build-run-fix loop on its own simulator is where an agent saves real time. Write the agreed plan into the pull request description so reviewers can compare promise with change. It also makes later handoffs easier to audit. Let the agent read the repo and summarize its plan locally, and correct it until you would hand it to a teammate. Then move the session to the cloud machine with the same context. Give that machine its own test credentials, never yours, and keep repositories with secrets you cannot place in the cloud local. The poster wants more control over subagents running unsupervised; review the pull request carefully before merging. Put the agreed plan in the pull request description so reviewers can compare what was promised with what changed.
Where the time goes back: Context gets built once, and the long build-and-fix loop runs without you watching.
FAQ
Is this Devin-only?
Why start locally?
Source and credit
Inspired by u/Ok_Insurance_919 on r/CognitionLabs. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- $20 Devin Pro + free SWE-2: my experience with the full workflow so far
- Creator
- u/Ok_Insurance_919 on r/CognitionLabs
- Published on
- Original date
- Sep 19, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Custom agent
- AI dry run
- Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.