Ori Pr logo

Ori Pr

Community
minghinmatthewlam
ori-pr

Take an OpenRouterIncubator/ori or OpenRouterTeam/openrouter-web PR from ready to merged. Matthew runs /ori-pr once he has decided the PR is ready and understands the change. Asks perry for review once CI is green, handles perry's comments, and enqueues the merge once perry approves the head and CI is green, within quiet hours.

Overview

Publisherminghinmatthewlam
Repositoryagent-guards
Skill nameori-pr
Stars
46
Forks
3
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by minghinmatthewlam on GitHub. Read the source before you install it.

Installation

Install the Ori Pr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/minghinmatthewlam/agent-guards/tree/main/skills/ori-pr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/minghinmatthewlam/agent-guards.git /tmp/agent-guards
mkdir -p .claude/skills
cp -r /tmp/agent-guards/skills/ori-pr .claude/skills/ori-pr
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ori Pr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ori Pr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ori Pr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ori PR steps

Matthew running /ori-pr on a PR means he has approved its intent and passed the understanding gate in Matthew's rules (pstack's playbooks/opening-a-pr.md). Do not ask him again. Run the steps below to the merge.

If a coordinator's brief tells you never to merge, follow the brief: stop at merge-ready and report, even when /ori-pr was run here.

1. perry

  • perry (OpenRouter's review bot): once CI is green, post in Slack #agents-ori (C0BS37QUK7T) exactly <@U0C6K71R40G> review/approve <PR URL>. That is perry (perryv2). U0AQD847T6C is perry-old and no longer answers. perry answers in that thread, usually within 10 minutes, and leaves inline GitHub comments.
  • Triage each comment per pstack's references/bugbot-triage.md. Fix real findings, and answer bot reviewers (perry, Devin) on GitHub yourself. Replies to a human reviewer need Matthew first.
  • After a fix lands, reply in the same thread naming the new head SHA.
  • After approval, file non-blocking bot suggestions as a follow-up Linear issue by default; take one on the PR only if it's a real gap or makes a test meaningful. A push that changes the PR's own diff costs a perry re-approval, so batch fixes.

2. Merge

  • Merge when perry has approved the PR's current diff, every comment is addressed, and CI is green on the current head. Read pstack's playbooks/opening-a-pr.md (Matthew's rules) in full at the moment you merge; never merge from memory or a summary.
  • An approval survives a push that leaves the PR's own diff unchanged. Neither repo dismisses an approval on push (dismiss_stale_reviews_on_push: false): ori requires no approval and openrouter-web requires one, which a later push keeps. The perry gate on ori is this skill's rule, and its point is that perry reviewed the code that lands. A commit that only merges main or the parent PR in, with no conflict resolution, changes the head but not that code, so do not ask perry again. Check it rather than judging it: with <base> the PR's base branch and <approved> the head perry approved, the PR's own diff is unchanged when these two print the same patch id:
    bash
    own() { git diff "$(git merge-base origin/<base> "$1")" "$1" | git patch-id --stable | cut -d' ' -f1; }
    own <approved>; own HEAD
    Different ids (a resolved conflict, a fix, a context change from main near the PR's lines) mean the code moved: ask perry again.
  • Command: enqueue with GraphQL, never gh pr merge: id=$(gh pr view <n> --repo <owner/repo> --json id --jq .id); gh api graphql -f query="mutation{enqueuePullRequest(input:{pullRequestId:\"$id\"}){mergeQueueEntry{state position}}}". Then confirm autoMergeRequest is null: gh pr view <n> --repo <owner/repo> --json autoMergeRequest --jq .autoMergeRequest prints null. gh pr merge silently enables auto-merge when the PR is BLOCKED (unresolved thread, pending check), which happened on #3835 on 2026-10-15. The mutation errors instead, naming the blocker. Never enable auto-merge.
  • PRs are ready for review, never draft (gh pr ready <n>).
  • <owner/repo> is the PR's own repository: OpenRouterIncubator/ori or OpenRouterTeam/openrouter-web. Follow that repository's own AGENTS.md steps for leaving draft too.

Quiet hours

Quiet hours are 20:00 to 08:00 local on weekdays (active 08:00–20:00), and all of Saturday and Sunday.

  • Weekdays. If Matthew hasn't messaged since the most recent 20:00, pause merges and perry requests.
  • Weekends. Pause the same things unless Matthew has messaged in this session within the last hour. Every Slack post goes out under his name.
  • During quiet hours. Keep working. Record verdicts, and hold every Slack post and merge until quiet hours end.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ori Pr AI skill do?

Take an OpenRouterIncubator/ori or OpenRouterTeam/openrouter-web PR from ready to merged. Matthew runs /ori-pr once he has decided the PR is ready and understands the change. Asks perry for review once CI is green, handles perry's comments, and enqueues the merge once perry approves the head and CI is green, within quiet hours.

Why use Ori Pr on TypingMind?

Because you install it once and use it with any model. Ori Pr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ori Pr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/minghinmatthewlam/agent-guards/tree/main/skills/ori-pr. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ori Pr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ori Pr?

As many as you like. As long as a model supports skills, you can use Ori Pr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ori Pr AI skill free?

Yes. It is published on GitHub by minghinmatthewlam under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇