update-workerd-upstream
Skill by elliothux
Updates open-compute's workerd fork in third_party/workerd onto current Cloudflare upstream. It is for maintainers who need to shrink fork-owned code and keep the submodule, pin, tests, and docs in step.
Install update-workerd-upstream
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elliothux/open-compute /tmp/open-compute && mkdir -p ~/.claude/skills && cp -r /tmp/open-compute/.agents/skills/update-workerd-upstream ~/.claude/skills/update-workerd-upstreamRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install update-workerd-upstream in Claude Code
git clone --depth 1 https://github.com/elliothux/open-compute /tmp/open-compute && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/open-compute/.agents/skills/update-workerd-upstream ~/.gemini/antigravity-cli/skills/update-workerd-upstreamAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install update-workerd-upstream in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill updates open-compute's fork of workerd, the runtime in third_party/workerd, onto the current Cloudflare main branch. It first records the old fork head, upstream head, merge base, and fork-only commits, and it checks upstream source and tests before treating a fork feature as covered. It then rebases the Day1 implementation, drops code that upstream fully covers, and keeps each remaining open-compute seam narrow.
The skill regroups fork work into one compileable commit per capability and avoids merge, fixup, and formatting-only commits. It also updates the parent gitlink, docs, and tests, and it runs the Gate targets that a change affects. It is written for open-compute maintainers and is invoked only when the user explicitly requests $update-workerd-upstream.
Written from the project's SKILL.md and checked against it.
What it can do
- Establish exact stateReads repo guidance and the workerd lock file, then records fork and upstream heads, divergence, and changed paths.
- Minimize fork codeDrops fork code that upstream covers and adapts the smallest remaining open-compute seam.
- Regroup commits by capabilityProduces one compileable commit per open-compute capability, with tests folded into the capability they prove.
- Coordinate pin and docsUpdates the parent gitlink and workerd source identity in docs, and changes the binary pin only as a verified update.
- Record retained patchesLogs each kept patch's purpose, upstream issue or PR, and removal condition in docs/workerd/README.md.
- Run focused validationRuns formatting, build, and test checks for each capability, plus the Gate targets it affects.
What you need
- Local git access to the open-compute parent repository and the workerd submodule
- Network access to fetch Cloudflare workerd main
- The $cf-compatibility-check skill for the final compatibility review
- A macOS environment for macOS release builds
Try asking
- Use $update-workerd-upstream to rebase our workerd fork onto current Cloudflare main.
- Use $update-workerd-upstream to find fork commits that upstream now covers and drop them.
- Use $update-workerd-upstream to regroup the workerd fork commits by capability.
Good to know
- Invoked only when the user explicitly requests $update-workerd-upstream
- Rewrites the fork branch only when the user explicitly authorizes it
- Runs the full workspace Gate only when the user asks or for a release
- Does not download runtimes implicitly or change the formal binary pin without verified evidence
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/update-workerd-upstream/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
agents/openai.yaml389 B
Alternatives to update-workerd-upstream
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
update-workerd-upstream: common questions
When should I use this skill?
Use it when open-compute's workerd fork needs to move onto current Cloudflare upstream and fork-owned code should be reduced. The source says it must be invoked only by an explicit request.
Does it rewrite git history?
Only when the user explicitly authorizes it. The source says to publish with --force-with-lease and never unguarded --force.
Does it change the runtime binary pin?
Only as a coordinated pin update with verified archives, digests, version output, runtime config, and required product evidence. The source says to report unavailable evidence rather than substitute a development binary.
How do I install update-workerd-upstream?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is update-workerd-upstream free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is update-workerd-upstream safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to update-workerd-upstream?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
