PR Review State Fetch
prisma/orm
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
Prepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch.
$ npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TermiX-official/cryptoclaw prepare-pr --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/prepare-pr .claude/skills/prepare-pr && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "prepare-pr" agent skill from https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-pr into .claude/skills/prepare-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prepare-pr", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-prType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TermiX-official/cryptoclaw prepare-pr --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/prepare-pr .agents/skills/prepare-pr && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "prepare-pr" agent skill from https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-pr into .agents/skills/prepare-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prepare-pr", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TermiX-official/cryptoclaw prepare-pr --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/prepare-pr .cursor/skills/prepare-pr && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "prepare-pr" agent skill from https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-pr into .cursor/skills/prepare-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prepare-pr", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TermiX-official/cryptoclaw.git --path .agents/skills/prepare-pr--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TermiX-official/cryptoclaw prepare-pr --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/prepare-pr .gemini/skills/prepare-pr && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "prepare-pr" agent skill from https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-pr into .gemini/skills/prepare-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prepare-pr", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TermiX-official/cryptoclaw prepare-prInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/prepare-pr .github/skills/prepare-pr && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "prepare-pr" agent skill from https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-pr into .github/skills/prepare-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prepare-pr", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TermiX-official/cryptoclaw prepare-pr --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/prepare-pr .opencode/skills/prepare-pr && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "prepare-pr" agent skill from https://github.com/TermiX-official/cryptoclaw/tree/main/.agents/skills/prepare-pr into .opencode/skills/prepare-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prepare-pr", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
prepare-prPrepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch.
Prepare PR is an agent skill from TermiX-official/cryptoclaw. Prepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch. Use after /reviewpr. Never merge or push to main.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Code review. It works with GitHub and Git. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9e1c91b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghpnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, gh and pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Prepare PR loads about 1.6k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 589 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TermiX-official/cryptoclaw at commit 9e1c91b, republished under its MIT licence (© TermiX-official). 589 words, ~1,552 tokens.
.claude/skills/prepare-pr/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Prepare a PR branch for merge with review fixes, green gates, and an updated head branch.
main or origin/main. Push only to the PR head branch.git push without specifying remote and branch explicitly. Do not run bare git push.git clean -fdx.git add -A or git add .. Stage only specific files changed.~/openclaw.git clean -fdx.git add -A or git add ..origin/main..local/review.md..local/prep.md with a prep summary.PR is ready for /mergepr.Create a checklist of all prep steps, print it, then continue and execute the commands.
Use an isolated worktree for all prep work.
cd ~/openclaw
# Sanity: confirm you are in the repo
git rev-parse --show-toplevel
WORKTREE_DIR=".worktrees/pr-<PR>"Run all commands inside the worktree directory.
if [ -f .local/review.md ]; then
echo "Found review findings from /reviewpr"
else
echo "Missing .local/review.md. Run /reviewpr first and save findings."
exit 1
fi
# Read it
sed -n '1,200p' .local/review.mdgh pr view <PR> --json number,title,author,headRefName,baseRefName,headRepository,body --jq '{number,title,author:.author.login,head:.headRefName,base:.baseRefName,headRepo:.headRepository.nameWithOwner,body}'
contrib=$(gh pr view <PR> --json author --jq .author.login)
head=$(gh pr view <PR> --json headRefName --jq .headRefName)
head_repo_url=$(gh pr view <PR> --json headRepository --jq .headRepository.url)git fetch origin pull/<PR>/head:pr-<PR># Move worktree to the PR tip first
git reset --hard pr-<PR>
# Rebase onto current main
git fetch origin main
git rebase origin/mainIf conflicts happen:
git add <resolved_file> for each file.git rebase --continue.If the rebase gets confusing or you resolve conflicts 3 or more times, stop and report.
.local/review.mdKeep a running log in .local/prep.md:
CHANGELOG.md if flagged in reviewCheck .local/review.md section H for guidance.
If flagged and user-facing:
CHANGELOG.md exists.ls CHANGELOG.md 2>/dev/nullCheck .local/review.md section G for guidance.
If flagged, update only docs related to the PR changes.
Stage only specific files:
git add <file1> <file2> ...Preferred commit tool:
committer "fix: <summary> (#<PR>) (thanks @$contrib)" <changed files>If committer is not found:
git commit -m "fix: <summary> (#<PR>) (thanks @$contrib)"pnpm install
pnpm build
pnpm ui:build
pnpm check
pnpm testRequire all to pass. If something fails, fix, commit, and rerun. Allow at most 3 fix and rerun cycles. If gates still fail after 3 attempts, stop and report the failures. Do not loop indefinitely.
# Ensure remote for PR head exists
git remote add prhead "$head_repo_url.git" 2>/dev/null || git remote set-url prhead "$head_repo_url.git"
# Use force with lease after rebase
# Double check: $head must NOT be "main" or "master"
echo "Pushing to branch: $head"
if [ "$head" = "main" ] || [ "$head" = "master" ]; then
echo "ERROR: head branch is main/master. This is wrong. Stopping."
exit 1
fi
git push --force-with-lease prhead HEAD:$headgit fetch origin main
git fetch origin pull/<PR>/head:pr-<PR>-verify --force
git merge-base --is-ancestor origin/main pr-<PR>-verify && echo "PR is up to date with main" || echo "ERROR: PR is still behind main, rebase again"
git branch -D pr-<PR>-verify 2>/dev/null || trueIf still behind main, repeat steps 2 through 9.
Update .local/prep.md with:
git rev-parse HEAD.Create or overwrite .local/prep.md and verify it exists and is non-empty:
git rev-parse HEAD
ls -la .local/prep.md
wc -l .local/prep.mdInclude a diff stat summary:
git diff --stat origin/main..HEAD
git diff --shortstat origin/main..HEADReport totals: X files changed, Y insertions(+), Z deletions(-).
If gates passed and push succeeded, print exactly:
PR is ready for /mergeprOtherwise, list remaining failures and stop.
/mergepr may reuse it.gh pr merge.© TermiX-official, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/prepare-pr of TermiX-official/cryptoclaw.
Open the folder on GitHubat commit 9e1c91b
Prepare PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Prepare PR this skillTermiX-official/cryptoclaw | 100 | — | ~1.6k | Automated safety check: Pass | MIT | |
| PR Review State Fetchprisma/orm | 48k | — | ~767 | Automated safety check: Pass | Apache-2.0 | |
| Greploop Appsmichaelshimeles/skills | 1.3k | 1 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Requesting Code ReviewHezaoHezao/poirot | 250 | 5 repos | ~1.6k | Automated safety check: Pass | MIT | |
| PR Triagertk-ai/rtk | 83k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Difit Reviewyoshiko-pg/difit | 3.2k | — | ~1.2k | Automated safety check: Pass | MIT |
prisma/orm
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
michaelshimeles/skills
Loops on a large pull request, merge request or Perforce changelist, fixing Greptile findings until it scores 5/5 with no unresolved comments.
HezaoHezao/poirot
Pre-commit review: security scan, quality gates, auto-fix. An agent skill from HezaoHezao/poirot.
rtk-ai/rtk
Audits a repository's open pull requests, deep-reviews chosen ones and drafts review comments that are only posted after you approve them.
yoshiko-pg/difit
Review a specific diff (branch, commit, or GitHub PR) and show the findings as comments inside difit, the local diff viewer.
Stack-Cairn/LiveAgent
Review an open GitHub pull request or the current local branch and working tree with parallel, independent reviewers and evidence-based validation.
TermiX-official/cryptoclaw
Delegate coding tasks to Codex, Claude Code, or Pi agents via background process.
TermiX-official/cryptoclaw
OpenProse VM skill pack. An agent skill from TermiX-official/cryptoclaw.
TermiX-official/cryptoclaw
Merge a GitHub PR via squash after /preparepr. An agent skill from TermiX-official/cryptoclaw.
TermiX-official/cryptoclaw
Route plain-language requests for Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow).
TermiX-official/cryptoclaw
Review-only GitHub pull request analysis with the gh CLI. An agent skill from TermiX-official/cryptoclaw.
TermiX-official/cryptoclaw
Query CoinGecko API for prices, market data, trending tokens, and historical charts.
Categories
Prepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch. Prepare PR is an agent skill from TermiX-official/cryptoclaw. Prepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch.
Prepare PR fits situations like: tasks that involve Code review.
Run `npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a claude-code`. Or copy the skill folder (.agents/skills/prepare-pr in TermiX-official/cryptoclaw) into .claude/skills/prepare-pr in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a codex`. Or copy the skill folder (.agents/skills/prepare-pr in TermiX-official/cryptoclaw) into .agents/skills/prepare-pr in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TermiX-official/cryptoclaw --skill prepare-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prepare-pr, .gemini/skills/prepare-pr, .github/skills/prepare-pr and .opencode/skills/prepare-pr in your project.
Going by SKILL.md and its folder, Prepare PR needs the command-line tools its instructions call (git, gh and pnpm).
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Prepare PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Prepare PR: PR Review State Fetch (prisma/orm, 48k stars), Greploop Apps (michaelshimeles/skills, 1.3k stars), Requesting Code Review (HezaoHezao/poirot, 250 stars) and PR Triage (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TermiX-official (a GitHub organization) maintains it in TermiX-official/cryptoclaw, which has 100 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on May 25, 2026.
Source: TermiX-official/cryptoclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.