open-pr
Skill5.8k starsChanged 5 months agoMITView on GitHub
Take a cloudflare/agents GitHub issue plus any repro findings and one-shot a fix PR — branch, change, test, push, and open the PR linked to the issue.
- Installs packages
- Commits and pushes
20 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- Significant-Gravitas/AutoGPTtheir own version, first seen Nov 18, 2026
- angusfretwell/skillstheir own version, first seen Oct 4, 2026
- PPrauchner/ARK-Agent-Rules-Kittheir own version, first seen Sep 30, 2026
- snowfluke/engineering-skillstheir own version, first seen Sep 30, 2026
- xiaolongnk/SuperHarnesstheir own version, first seen Sep 26, 2026
- syanga/astacktheir own version, first seen Sep 20, 2026
Who's talking about cloudflare/agents
- @threepointone.bsky.social“cloudflare agents: repo: github.com/cloudflare/a... platform docs: developers.cloudflare.com/agents/ …”Bluesky · Feb 25, 2025 · 66 likes
- mastra-ai/mastra“[FEATURE] Code Mode (generate + run code to orchestrate tool/MCP calls)”GitHub · Dec 9, 2025 · 6 reactions
- Chemically-Motivated-Solutions/promptcrafting-mcp“chore(deps): bump the npm_and_yarn group across 3 directories with 4 updates”GitHub · Apr 2, 2026 · 3 reactions
- @github-trending-js.bsky.social“📦 cloudflare / agents ⭐ 1,655 (+76) 🗒 TypeScript Build and deploy AI Agents on Cloudflare”Bluesky · May 2, 2025 · 3 likes
- abstractedfox/agents“Python package resolution”GitHub · Jul 21, 2026 · 2 reactions
The biggest 5 of 43 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 43
Talked about on GitHub, Bluesky and Hacker News (43 times).
On GitHub · 33
- Dec 9, 2025[FEATURE] Code Mode (generate + run code to orchestrate tool/MCP calls) — mastra-ai/mastra6 reactions · 5 comments
- Apr 2, 2026chore(deps): bump the npm_and_yarn group across 3 directories with 4 updates — Chemically-Motivated-Solutions/promptcrafting-mcp3 reactions · 1 comment
- Jul 21, 2026Python package resolution — abstractedfox/agents2 reactions
- Jun 20, 2026chore(deps): bump the npm_and_yarn group across 2 directories with 13 updates — Chemically-Motivated-Solutions/promptcrafting-mcp2 reactions · 1 comment
- May 26, 2026Bump the npm_and_yarn group across 1 directory with 18 updates — GlacierEQ/context-engineering-intro2 reactions · 4 comments
28 more on GitHub
- May 23, 2026Bump the npm_and_yarn group across 1 directory with 9 updates — HarleyCoops/JinaMCP2 reactions · 1 comment
- Apr 14, 2026chore(deps): bump agents from 0.0.87 to 0.11.0 in /templates/cloudflare-mcp-server in the npm_and_yarn group across 1 directory — sipyourdrink-ltd/bernstein2 reactions · 2 comments
- Mar 23, 2026chore(deps): Bump agents from 0.2.35 to 0.7.9 in /packages/api — LoveLogicAILLC/secretforge-ai2 reactions · 4 comments
- Mar 16, 2026chore(deps): Bump agents from 0.2.35 to 0.7.6 in /packages/web — LoveLogicAILLC/secretforge-ai2 reactions · 6 comments
- Mar 16, 2026chore(deps): Bump agents from 0.2.35 to 0.7.6 in /packages/api — LoveLogicAILLC/secretforge-ai2 reactions · 5 comments
- Feb 23, 2026chore(deps): Bump agents from 0.2.35 to 0.5.1 in /packages/web — LoveLogicAILLC/secretforge-ai2 reactions · 6 comments
- Feb 20, 2026Bump the npm_and_yarn group across 3 directories with 8 updates — cbwinslow/opendiscourse_mcp2 reactions · 1 comment
- Jan 24, 2026chore(deps): Bump agents from 0.2.35 to 0.3.6 — LoveLogicAILLC/secretforge-ai2 reactions · 6 comments
- Jan 24, 2026chore(deps): Bump agents from 0.2.35 to 0.3.6 in /packages/web — LoveLogicAILLC/secretforge-ai2 reactions · 6 comments
- Jan 24, 2026chore(deps): Bump agents from 0.2.35 to 0.3.6 in /packages/api — LoveLogicAILLC/secretforge-ai2 reactions · 6 comments
- Aug 11, 2025Unknown connection regression — modelcontextprotocol/inspector2 reactions · 6 comments
- Jul 11, 2025Add instrumentation for `agents` — getsentry/sentry-javascript2 reactions · 10 comments
- Oct 5, 2026build(deps): Bump the minor-and-patch group across 1 directory with 20 updates — Themis128/cloudless.gr1 reaction · 4 comments
- Oct 2, 2026Add `Code Mode` meta tools to Reshapr tools — reshaprio/reshapr1 reaction · 2 comments
- Sep 28, 2026chore(deps): bump the npm-minor-and-patch group across 1 directory with 4 updates — grigoreo-dev/otask-mcp1 reaction · 1 comment
- Sep 25, 2026chore(deps): bump the patch-updates group across 1 directory with 12 updates — ClashKingInc/ClashKingDashboard1 reaction · 1 comment
- Sep 18, 2026chore(deps): bump the patch-updates group with 10 updates — ClashKingInc/ClashKingDashboard1 reaction · 1 comment
- Aug 27, 2026chore(deps): bump the minor-and-patch group across 1 directory with 14 updates — Themis128/cloudless.gr1 reaction · 2 comments
- Jul 29, 2026fix(cloudflare): Also skip cf: prefixed DOs — getsentry/sentry-javascript1 reaction
- Jun 5, 2026Bump agents from 0.13.3 to 0.14.1 — martinthommesen/snow-mcp1 reaction · 1 comment
- Feb 20, 2026chore(deps): Bump the npm_and_yarn group across 4 directories with 4 updates — Fadil369/givc-core-academy1 reaction
- Feb 20, 2026chore(symbolai-worker)(deps): bump agents from 0.2.35 to 0.5.1 in /symbolai-worker — llu77/-lmm1 reaction · 3 comments
- Feb 3, 2026Bump agents from 0.0.109 to 0.3.7 — vivekrp/youfirst-mcp1 reaction
- Feb 3, 2026Bump agents from 0.0.94 to 0.3.7 in /mcp-server-deepwiki-gpt — Cam10001110101/chatgpt-connector-deepwiki1 reaction
- Feb 3, 2026Bump agents from 0.0.65 to 0.3.7 — hackhit/remote-mcp-server-authless1 reaction
- Dec 1, 2025chore(symbolai-worker)(deps): bump the security group in /symbolai-worker with 2 updates — llu77/-lmm1 reaction · 2 comments
- Nov 7, 2025Bump ai and agents — vivekrp/youfirst-mcp1 reaction
- Nov 5, 2025will this be merged soon? — fghf136813721430ghase/fghf136813721430ghase1 reaction
On Bluesky · 9
- Feb 25, 2025cloudflare agents: repo: github.com/cloudflare/a... platform docs: developers.cloudflare.com/agents/ starter kit:… — @threepointone.bsky.social66 likes and reposts · 4 replies
- May 2, 2025📦 cloudflare / agents ⭐ 1,655 (+76) 🗒 TypeScript Build and deploy AI Agents on Cloudflare — @github-trending-js.bsky.social3 likes and reposts
- Mar 7, 2026Cloudflare's official SDK for building and deploying AI Agents - production-grade infrastructure for the agentic era!… — @u11g.com2 likes and reposts
- Feb 27, 2026Cloudflare Agents lets you deploy millions of persistent AI agents that cost nothing when idle - each with its own state, WebSocket sync,… — @arifsolmaz.bsky.social2 likes and reposts
- Feb 21, 2026📦 cloudflare / agents ⭐ 3,303 (+56) 🗒 TypeScript Build and deploy AI Agents on Cloudflare — @github-trending.bsky.social2 likes and reposts
4 more on Bluesky
- Feb 21, 2026📦 cloudflare / agents ⭐ 3,303 (+56) 🗒 TypeScript Build and deploy AI Agents on Cloudflare — @github-trending-js.bsky.social2 likes and reposts
- May 3, 2025📦 cloudflare / agents ⭐ 1,655 (+76) 🗒 TypeScript Build and deploy AI Agents on Cloudflare — @github-trending.bsky.social2 likes and reposts
- Mar 4, 2025Link: github.com/cloudflare/a... — @tinztwinshub.bsky.social1 likes and repost
- Oct 3, 2026Cloudflare Agents is an open-source SDK for stateful agents on Cloudflare Durable Objects. This investigation will examine its runtime,… — @smith.wiki0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 4, 2025Cloudflare Agents1 point
Used with
Projects with it also use commit, review-pr and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 9 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 4 projects that use this
HashiCorpSkillchangelog
Add a `.changelog/<PR_NUMBER>.txt` entry for a GitHub Pull Request, commit, and push.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 5 projects that use this
AWSSkillprototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- Significant-Gravitas/AutoGPT★ 188ksame name
- pascalorg/editor★ 25ksame name
- mongodb/docs★ 778same name
- brayandiazc/project-starter-template-es-ai★ 15same name
- mhmzdev/hisab-whatsapp★ 9same name
- fuzzyfox/skills★ 4same name
- xiaolongnk/SuperHarness★ 4same name
- brayandiazc/project-starter-template-en-ai★ 3same name
- ronaknnathani/relay★ 3same name
- gtapps/skills★ 2same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-think/AGENTS.mdAGENTS.md
- design/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- examples/webmcp-react/AGENTS.mdAGENTS.md
- guides/AGENTS.mdAGENTS.md
- packages/agents/AGENTS.mdAGENTS.md
- packages/agents/src/tests/capabilities/AGENTS.mdAGENTS.md
- reproduceSkill
- debug-planSkill
- pirate-voiceSkill
- release-notesSkill
- test-planSkill
- workspace-digestSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 6 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use those values exactly. Never infer or substitute another target from examples, workspace contents, GitHub searches, or concurrent issues.
- Distinctive: line 21
Do not impersonate any user.
- Very specific: line 53
Read the body and every comment.
- Very specific: line 59
Decide if this is fixable in one shot: If the issue is a feature request needing design, is too vague, spans many subsystems, or you cannot …
- Distinctive: line 75
Commit as the agent-think app itself:
- Distinctive: line 87
Add or update a test that fails before the fix and passes after, when the area is testable.
- Very specific: line 89
Add a changeset if the repo uses them (.changeset/) for a user-facing fix: create a markdown file following the existing format in …
- Very specific: line 91
Update examples and docs when the change affects behavior they show: if an examples/* app or a docs//README section demonstrates the code …
- Distinctive: line 123
Every PR ships with a temporary deployment demoing the change so reviewers click a link and see the fixed behavior instead of imagining it.
- Very specific: line 142
If the repro run left a repro/issue-<issueNumber> branch, start from that project instead and just swap the dependency to the packed build …
- Distinctive: line 156
Use judgment: changes with no runtime surface (docs-only, types-only, CI) skip the demo — say so in the PR body ("no runtime surface to …
- Very specific: line 175
Write the PR body outside the checkout at /temp/pr-body.md.
- Very specific: line 192
Do not post an acknowledgement or "opened a PR" comment on the issue.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
The current user message contains an <agent-think-run> envelope with
repository, issue, instruction, requested-by, and (when available)
trigger-comment-id.
Use those values exactly. Never infer or substitute another target from examples,
workspace contents, GitHub searches, or concurrent issues. If the envelope or a
required field is absent, stop without cloning/editing/pushing/posting and return a
structured skipped result. When trigger-comment-id is present, your first
container action is the liveness reaction:
gh api repos/<repository>/issues/comments/<trigger-comment-id>/reactions \
-f content=rocketProduce a focused fix PR, authored as yourself — the agent-think GitHub App. Do not impersonate any user.
The instruction is the free-form text the user typed after @agent-think (it
may be empty). Treat it as a direct instruction — e.g. constraints
on the fix, a preferred approach, or a pointer to the suspect area — and weight
it highly, but stay within the scope of the issue.
All gh, git, npm, curl, and wrangler commands must run on the
container backend (bash({ command, backend: "container" })) — the shell
backend has no real binaries or network. gh is already authenticated as the
app; use it directly (no token handling). Work under /workspace; put long
logs and disposable scratch files in container-local /temp.
0. Clone the repo
Clone the target repo directly under /workspace using its repository name
(cloudflare/agents → /workspace/agents):
REPO_DIR="/workspace/$(basename <repo>)"
if [ ! -d "$REPO_DIR/.git" ]; then
git clone https://github.com/<repo>.git "$REPO_DIR"
fi
cd "$REPO_DIR"1. Gather everything known
gh issue view <issueNumber> --repo <repo> --json title,body,labels,author,commentsRead the body and every comment. In particular look for a comment from the
prior repro run (@agent-think repro): it may contain a minimal reproduction, a live URL,
observed-vs-expected behavior, and a root-cause hypothesis pointing at a
file/line. Use it as your starting point — do not re-derive what is already
known.
Decide if this is fixable in one shot. If the issue is a feature request
needing design, is too vague, spans many subsystems, or you cannot locate a
confident root cause, stop: return prOpened: false, skipped: true, and a
summary explaining why. Post a brief, polite comment saying the pr-agent is
skipping it and what additional detail would help; begin it with
Requested by @<requestedBy> when the run envelope has a requester.
2. Locate the root cause
With the repo cloned at $REPO_DIR, read the relevant code in
packages/agents, packages/think, etc. Confirm the hypothesis (or form your
own) by reading the actual implementation. Identify the smallest change that
fixes the reported behavior.
3. Branch and set commit identity
Commit as the agent-think app itself:
git config user.name "agent-think[bot]"
git config user.email "agent-think[bot]@users.noreply.github.com"
BRANCH="fix/issue-<issueNumber>-$(date +%s)"
git checkout -b "$BRANCH"4. Make the fix
- Smallest correct change. Fewest files. Match the existing code style.
- Add or update a test that fails before the fix and passes after, when the area is testable.
- Add a changeset if the repo uses them (
.changeset/) for a user-facing fix: create a markdown file following the existing format in.changeset/. - Update examples and docs when the change affects behavior they show:
if an
examples/*app or adocs//README section demonstrates the code you touched, keep it truthful in the same PR.
5. Verify
Install and run the affected package's checks (monorepo uses pnpm + Nx):
# NOISY commands (installs, builds, test suites) MUST be redirected to a
# container-local /temp file and tailed — streaming megabytes of live output
# through the session can kill it irrecoverably:
mkdir -p /temp
CI=1 pnpm install --frozen-lockfile --reporter=append-only \
> /temp/install.log 2>&1 || (tail -40 /temp/install.log; false)
tail -20 /temp/install.log
# Prefer scoped/affected runs; fall back to package scripts.
pnpm -w exec oxfmt --check . || pnpm -w exec oxfmt --write .
pnpm -w exec oxlint . || true
# Run the relevant package's typecheck + tests, redirected the same way:
pnpm --filter <package> typecheck > /temp/typecheck.log 2>&1; tail -30 /temp/typecheck.log
pnpm --filter <package> test > /temp/test.log 2>&1; tail -40 /temp/test.log(/temp is outside the /workspace mount and is not synchronized.)
Record whether tests passed in testsPassed. If you cannot make tests pass and
the failure is your change's fault, fix it; if tests are unrelated/flaky, note
that in the PR body. Do not open a PR whose own new test fails.
6. Deploy a live demo of the PR
Every PR ships with a temporary deployment demoing the change so reviewers click a link and see the fixed behavior instead of imagining it.
- Build the fixed package(s) in the repo and pack them:
pnpm --filter <package> build
(cd packages/<package> && npm pack --pack-destination /workspace) # -> /workspace/<package>-x.y.z.tgz- Build a minimal demo app in
/workspace/demo-<issueNumber>that exercises the fixed path. Follow the activated reproduce skill's "Minimal frontend (required)" recipe — same 7 files — but install the packed tarball so the demo runs YOUR fix:
npm install /workspace/<package>-x.y.z.tgzIf the repro run left a repro/issue-<issueNumber> branch, start from that
project instead and just swap the dependency to the packed build — the same
UI then demos broken-before / fixed-after.
- Deploy and verify the fix is actually observable in the page:
npm run deploy # vite build && wrangler deploy --temporary
curl -sS -i "<demoUrl>/" | head -5Capture the https://...workers.dev URL as demoUrl. Ignore the claim URL
the deploy prints — it never goes in a PR.
Use judgment: changes with no runtime surface (docs-only, types-only, CI) skip the demo — say so in the PR body ("no runtime surface to demo") rather than deploying something meaningless.
7. Commit, push, open the PR
git status --short
git add -A
git commit -m "fix: <concise description> (#<issueNumber>)"
git push -u origin "$BRANCH"
gh pr create --repo <repo> \
--base main \
--head "$BRANCH" \
--title "fix: <concise description> (#<issueNumber>)" \
--body-file /temp/pr-body.mdWrite the PR body outside the checkout at /temp/pr-body.md. It must include:
Requested by @<requestedBy>near the top, using the exact sanitizedrequested-bymention from the run envelope (omit only when it isunknown).Closes #<issueNumber>so the issue auto-links.- What was wrong (root cause, citing the file/line).
- What changed and why this is the minimal fix.
- Testing: what you added/ran and the result.
- Demo: phrase it exactly like "Demo URL (expires after 60 mins):
<demoUrl>" plus one line of click instructions and a note that it runs the packed build from this branch. If skipped, one line on why. - A link back to the repro-agent's reproduction (comment and/or the
repro/issue-<issueNumber>branch) if one exists. - A "🤖 generated by the pr-agent — please review carefully" footer.
Capture the PR URL and branch name.
Do not post an acknowledgement or "opened a PR" comment on the issue. The
PR links back to the issue via Closes #<issueNumber>. The only case where you
comment is the skip path in the Gather everything known step (no PR
exists to show).
8. Return the structured result
Return exactly:
prOpened(boolean)skipped(boolean)summary(string — one or two sentences)prUrl(string, optional)branch(string, optional)testsPassed(boolean, optional)demoUrl(string, optional)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

