Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Bring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions.
$ npx skills add pymc-labs/CausalPy --skill pr-to-green -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pymc-labs/CausalPy pr-to-green --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/pymc-labs/CausalPy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-to-green .claude/skills/pr-to-green && 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 "pr-to-green" agent skill from https://github.com/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-green into .claude/skills/pr-to-green/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-to-green", 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/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-greenType 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 pymc-labs/CausalPy --skill pr-to-green -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pymc-labs/CausalPy pr-to-green --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pymc-labs/CausalPy.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/pr-to-green .agents/skills/pr-to-green && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pr-to-green" agent skill from https://github.com/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-green into .agents/skills/pr-to-green/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-to-green", 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 pymc-labs/CausalPy --skill pr-to-green -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pymc-labs/CausalPy pr-to-green --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pymc-labs/CausalPy.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/pr-to-green .cursor/skills/pr-to-green && 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 "pr-to-green" agent skill from https://github.com/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-green into .cursor/skills/pr-to-green/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-to-green", 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/pymc-labs/CausalPy.git --path .agents/skills/pr-to-green--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 pymc-labs/CausalPy --skill pr-to-green -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pymc-labs/CausalPy pr-to-green --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pymc-labs/CausalPy.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/pr-to-green .gemini/skills/pr-to-green && 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 "pr-to-green" agent skill from https://github.com/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-green into .gemini/skills/pr-to-green/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-to-green", 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 pymc-labs/CausalPy pr-to-greenInstalls 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 pymc-labs/CausalPy --skill pr-to-green -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pymc-labs/CausalPy.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/pr-to-green .github/skills/pr-to-green && 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 "pr-to-green" agent skill from https://github.com/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-green into .github/skills/pr-to-green/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-to-green", 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 pymc-labs/CausalPy --skill pr-to-green -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pymc-labs/CausalPy pr-to-green --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pymc-labs/CausalPy.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/pr-to-green .opencode/skills/pr-to-green && 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 "pr-to-green" agent skill from https://github.com/pymc-labs/CausalPy/tree/main/.agents/skills/pr-to-green into .opencode/skills/pr-to-green/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-to-green", 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.
pr-to-greenBring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions.
PR To Green is an agent skill from pymc-labs/CausalPy. Bring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Pull requests. It works with Git and PyMC. The repository describes itself as: A Python package for causal inference in quasi-experimental settings. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7882153. 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:
ghgituvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, git and uv, 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.
PR To Green loads about 1.7k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 916 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 pymc-labs/CausalPy at commit 7882153, republished under its Apache-2.0 licence (© pymc-labs). 916 words, ~1,680 tokens.
.claude/skills/pr-to-green/SKILL.md (or your agent's skills folder).This skill provides a deterministic maintainer workflow for taking an in-flight PR branch to green.
main and needs sync/rebase.agents/skills/python-environment/SKILL.md for the conda fallback):uv run <command> (default), e.g. uv run pytest, uv run make test-patch-cov$CONDA_EXE run -n CausalPy <command> (conda fallback, only when uv is unavailable)If the user provides a PR number (for example PR #724), do this first:
gh pr view <number> to get title, state, head branch, base branch, mergeability, and check summary.gh pr checks <number> to get per-check pass/fail/pending status.gh pr checkout <number> (preferred) so local branch tracks the PR head.main).Triage and early exit
Sync branch with base
git fetch upstream then git rebase upstream/<base-branch> (or maintainer-preferred merge strategy).Fix failing checks with smallest valid change
causalpy/tests/ if behavior changes.Re-run checks in escalating scope
prek run --all-files before final handoff.Push and verify remote
git push).gh pr checks <number> until they complete or a timeout is reached.Prepare maintainer-ready status update
Use subagents (via the Task tool) when work is noisy, broad, or high-risk. Each subagent runs in its own context window and returns a condensed result.
ci-failure-investigatorTrigger when CI logs are long/noisy, failures span multiple jobs, or failure family is unclear.
Handoff (include in Task prompt):
gh run view outputmerge-conflict-analystTrigger when rebase/merge produces non-trivial conflicts, intent differs across branches, or conflict count is high.
Handoff (include in Task prompt):
git diff --name-only --diff-filter=U) and key conflict markers/snippetsDo not auto-resolve and continue silently when conflicts are highly complex. Instead, stop and request maintainer input with a brief report.
Escalate by default when:
.ipynb conflicts are messy (overlapping cell content plus metadata/output churn)Escalation report must include:
Do not keep patching silently when greening a PR turns into broader compatibility work outside the PR's feature surface. Stop after root-cause identification and ask the maintainer whether to continue in the PR or split the work into a separate branch/PR from main.
Escalate by default when:
Scope-drift report must include:
pytest tests in causalpy/tests/sample_kwargs© pymc-labs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/pr-to-green of pymc-labs/CausalPy.
Open the folder on GitHubat commit 7882153
PR To Green 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 |
|---|---|---|---|---|---|---|
| PR To Green this skillpymc-labs/CausalPy | 1.2k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Open Code Review CLIalibaba/open-code-review | 46k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Pull Request Title and Body Writeropeninterpreter/openinterpreter | 69k | 2 repos | ~1.1k | Automated safety check: Pass | Apache-2.0 |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
alibaba/open-code-review
Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
openinterpreter/openinterpreter
Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.
Egonex-AI/Understand-Anything
Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.
pymc-labs/CausalPy
Load built-in CausalPy example datasets for demos, tutorials, tests, and quick causal-analysis prototypes.
pymc-labs/CausalPy
Review CausalPy pull requests end-to-end by classifying PR type, checking branch freshness, mergeability, remote CI, correctness, security, tests, docs, and maintainer concerns.
pymc-labs/CausalPy
Challenge causal claims through structured threat assessment, counterfactual reasoning, and CausalPy falsification checks.
pymc-labs/CausalPy
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance.
pymc-labs/CausalPy
Detect, configure, and use the project's Python environment (uv by default, conda-compatible tool as a fallback).
pymc-labs/CausalPy
Explore unfamiliar APIs, libraries, or implementation behavior with minimal reproducible examples and documented findings.
Categories
Bring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions. PR To Green is an agent skill from pymc-labs/CausalPy. Bring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions.
PR To Green fits situations like: tasks that involve Pull requests.
Run `npx skills add pymc-labs/CausalPy --skill pr-to-green -a claude-code`. Or copy the skill folder (.agents/skills/pr-to-green in pymc-labs/CausalPy) into .claude/skills/pr-to-green in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pymc-labs/CausalPy --skill pr-to-green -a codex`. Or copy the skill folder (.agents/skills/pr-to-green in pymc-labs/CausalPy) into .agents/skills/pr-to-green 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 pymc-labs/CausalPy --skill pr-to-green -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-to-green, .gemini/skills/pr-to-green, .github/skills/pr-to-green and .opencode/skills/pr-to-green in your project.
Going by SKILL.md and its folder, PR To Green needs the command-line tools its instructions call (gh, git and uv).
SKILL.md contains no URLs. Its commands use gh, git and uv, 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.
PR To Green is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.7k 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 PR To Green: Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Open Code Review CLI (alibaba/open-code-review, 46k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pymc-labs (a GitHub organization) maintains it in pymc-labs/CausalPy, which has 1,201 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 9, 2026.
Source: pymc-labs/CausalPy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.