Skip to content
Back to skills

Oss

ASecurity

Open-source router for the user's upstream work. Status of every open upstream PR with rebases of own-fork branches, fork cleanup once a fork's PRs are all merged or closed, vetting an idea against the 7/10 quality bar, finding contributions, and prepping a PR to the target repo's conventions. Use when the user says "open source", "OSS", "status of my open source", "rebase all open PRs", "delete this fork", "what maintainer asked", "is this worth contributing", "prep this PR for upstream", or...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 21, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 21, 2026

npx -y skills add Sagargupta16/agent-brain --skill oss --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Oss?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Oss
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sagargupta16-oss/badge)](https://www.skillsdirectory.com/skills/sagargupta16-oss)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oss
description: >-
  Open-source router for the user's upstream work. Status of every open
  upstream PR with rebases of own-fork branches, fork cleanup once a fork's
  PRs are all merged or closed, vetting an idea against the 7/10 quality bar,
  finding contributions, and prepping a PR to the target repo's conventions.
  Use when the user says "open source", "OSS", "status of my open source",
  "rebase all open PRs", "delete this fork", "what maintainer asked", "is
  this worth contributing", "prep this PR for upstream", or runs /oss
  [status|vet|prep|find]. Never comments on an upstream PR without the
  user's explicit permission; find respects any contribution pause the user
  has recorded.
argument-hint: "[status|find|vet|prep]"
---

# oss

One router for upstream contribution work. Pick the mode; read ONLY the matching reference, then follow it.

| Mode | Trigger | Reference |
|------|---------|-----------|
| `find` | "find contributions", hunt for issues matching skills | [references/find-contributions.md](references/find-contributions.md) |
| `vet` | "is this worth a PR?", judge an idea against the 7+/10 bar | [references/meaningful-oss-contribution.md](references/meaningful-oss-contribution.md) |
| `prep` | "prep upstream PR", match style/template before submitting | [references/upstream-pr-prep.md](references/upstream-pr-prep.md) |

Optional gate before `find` mode: if the user has recorded a contribution pause (`brain recall oss pause`), do NO new upstream PR hunting unless they explicitly ask in this session. `vet` and `prep` are always available for work the user initiates.

Standing rules (all modes):
- Quality bar is 7+/10: real problems, live code paths, no self-promo list adds, no bundled fixes.
- Trace the live entry point + read CONTRIBUTING for the base branch before writing anything. Patching a dead duplicate of the code, or targeting `main` when the project merges into `dev`, gets a PR closed.
- Never comment on upstream PRs without explicit permission.

## status mode and fork cleanup

Status and cleanup come up far more often than find or prep.

- `/oss status`: list every open upstream PR authored by the user with
  age, last maintainer activity and CI state (`gh search prs --author @me
  --state open`), then rebase any own-fork branch that is behind
  (`--force-with-lease` on the fork branch only). Never comment upstream; a
  maintainer question is reported to the user, not answered.
- Fork cleanup: a fork whose every PR is merged or closed (verify each with
  `merged_at`, both search and per-PR API) is deleted after backing up unmerged
  diffs to a local patch backup dir (for example `~/branch-backup/fork-patches/`).
  Needs the `delete_repo` scope. Deleting the fork does not remove the PR
  record upstream.
- A recorded contribution pause gates `find` only; `status` and cleanup are
  always allowed.

Files in this skill

  • SKILL.md2.8 KB
  • references/find-contributions.md1.9 KB
  • references/meaningful-oss-contribution.md11.8 KB
  • references/upstream-pr-prep.md1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.