Skip to content

agentic-contributor Documentation

Research-and-engagement assistant for contributing to open-source projects — draft-only, human-in-the-loop.

Overview

The agentic-contributor plugin is the research-and-drafting half of a two-plugin system for OSS contributions. It handles everything up to—but not including—the actual send/post/push: it fetches live GitHub data, classifies your intent, and produces ready-to-review drafts. A separate execution/submission plugin (using gh CLI) performs the actual actions after you approve a draft.

The plugin exposes a single /oss command that routes to one of 9 contribution scenarios. A PreToolUse guardrail hook actively denies all outbound and mutating actions at the tool level, so the draft-only contract is enforced regardless of how the agents are used.

Component Diagram

flowchart TD
    U([User]) --> OSS["/oss command"]

    OSS --> SR["skills/oss-scenario-routing<br/>classifies intent into 9 scenarios"]

    SR --> IM["skills/issue-matching<br/>scenario 2: find"]
    SR --> CN["skills/contribution-norms<br/>scenario 3: norms"]
    SR --> DE["skills/dev-env-setup<br/>scenario 4: setup"]
    SR --> SQ["skills/smart-questions<br/>scenarios 5 / 6 / 7 / 8: drafting"]
    SR --> ID["skills/issue-drafting<br/>scenario 9: report"]

    OSS --> RES["agents/oss-researcher<br/>GitHub data (scenarios 1/2/3/4/5/7/8/9)"]
    OSS --> CA["agents/oss-claim-analyst<br/>claim detection (scenario 6)"]

    RES --> MCP["GitHub MCP server<br/>(preferred — GITHUB_MCP_TOKEN)"]
    RES --> GH["gh CLI<br/>(fallback — gh auth login)"]
    CA --> MCP
    CA --> GH

    OSS -.->|PreToolUse — DENIES all<br/>outbound/mutating actions| GRD["hooks/scripts/guard-outbound.sh"]
    RES -.-> GRD
    CA -.-> GRD

Getting Started

Guides

  • Using /oss — all 9 scenarios in depth with examples
  • GitHub Access — MCP server vs gh CLI, token setup, rate limits

Concepts

Reference

  • Commands/oss frontmatter, arguments, behavior steps
  • Agentsoss-researcher and oss-claim-analyst specs
  • Skills — all 6 skills with trigger phrases
  • Hooks — guardrail registration and full deny/allow matrix
  • Scenarios — canonical 9-scenario table with full detail

Back to README | CHANGELOG