@oss-autopilot/core
CLI and core library for managing open source contributions. Track PRs, respond to maintainers, discover issues, and maintain contribution velocity.
Part of OSS Autopilot.
Installation
npm install -g @oss-autopilot/core
Or run directly:
npx @oss-autopilot/core daily --json
Requirements
- Node.js 22+
- GitHub CLI (
gh) authenticated, or GITHUB_TOKEN environment variable
CLI Usage
oss-autopilot daily --json
oss-autopilot status --json
oss-autopilot search 10 --json
oss-autopilot track https://github.com/owner/repo/pull/123
oss-autopilot --help
All commands support --json for structured output:
{
"success": true,
"data": { ... },
"timestamp": "2026-05-04T00:00:00.000Z"
}
Library Usage
import { PRMonitor, getStateManager } from '@oss-autopilot/core';
import { runSearch, runVet } from '@oss-autopilot/core/commands';
const token = process.env.GITHUB_TOKEN!;
const monitor = new PRMonitor(token);
const result = await monitor.fetchUserOpenPRs();
const state = getStateManager();
const currentState = state.getState();
const searchResult = await runSearch({ maxResults: 10 });
const vetResult = await runVet({ issueUrl: 'https://github.com/owner/repo/issues/123' });
Claude Code Plugin
For the full AI-powered experience, install as a Claude Code plugin:
/plugin marketplace add costajohnt/oss-autopilot
See the main README for plugin setup.
License
MIT