A complete system for contributing to open-source repos. Four skills work together in a learning loop --each contribution makes the next one better.
oss discover <repo-url-or-name>
oss auto <repo> #12345
oss check <repo>
oss pr review <repo> #12345
text
discover --> auto --> pr --> check --> retrospective
^ ^ | |
| +-------+ |
| (human review loop) |
| v
| profile grows (lessons, patterns)
| |
+---- checks archived history -------------+
(avoid past mistakes)
Profile ( ./oss-pilot-data/profiles/<repo>.md): Stores repo-specific knowledge --build commands, maintainer styles, bot behavior, lessons learned. Grows with each contribution. See _template.md for the schema.
Context files ( ./oss-pilot-data/context/pr-<repo>-<N>.md): Track each PR's approach, bot decisions, and outcome. Archived after merge/close for future reference.
Find high-value issues with the highest merge probability.
Read: discover.md
One command from issue to opened PR. Orchestrates discover + pr.
Read: auto.md
Quality gate for PRs. Validates before requesting review.
Read: pr.md
Morning check-in for all pending PRs.
Read: check.md
gh CLI installed and authenticated ( gh auth status)This skill instructs the agent to run build, lint, and test commands (e.g., pnpm install, make, cargo test) from the target repository. This is inherent to contribution automation --you cannot validate a fix without running the repo's toolchain.
Threat surface: If the target repo contains malicious build scripts (e.g., postinstall hooks), those commands execute on your machine. This is the same risk as manually cloning a repo and running npm install.
How risk is managed:
Recommended hardening:
openclaw --container <name>) or VM when targeting unfamiliar repos.package.json scripts / Makefile targets before first run.The system creates and manages these directories:
./oss-pilot-data/profiles/ --one profile per repo./oss-pilot-data/context/ --active PR context files./oss-pilot-data/context/_archived/ --completed PR context files (for learning)