# Github Poller

> Monitor GitHub repositories for new issues, PRs, comments, and reviews on a schedule. Ready-to-use poller following the pollers.json contract. Install from ClawHub or copy into your agent's skills/ folder.

- **Type:** Skill
- **Install:** `agentstack add skill-tkellogg-open-strix-github-poller`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [tkellogg](https://agentstack.voostack.com/s/tkellogg)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [tkellogg](https://github.com/tkellogg)
- **Source:** https://github.com/tkellogg/open-strix/tree/main/optional-skills/github-poller

## Install

```sh
agentstack add skill-tkellogg-open-strix-github-poller
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# GitHub Repository Poller

Monitors GitHub repositories for new activity. Emits events to the agent only when there's something actionable.

## Installation

Install from [ClawHub](https://clawhub.ai):

```bash
npx clawhub install github-poller
```

Or copy this skill directory into your agent's `skills/` folder.

After installation, call `reload_pollers` to register the poller with the scheduler.

## Setup

### 1. Set environment variables

The poller reads credentials from the agent's environment (`.env` file or system env):

| Variable | Required | Description |
|----------|----------|-------------|
| `GITHUB_TOKEN` | yes | GitHub personal access token or `gh` CLI token |
| `GITHUB_REPOS` | yes | Comma-separated list of repos to monitor (e.g., `owner/repo1,owner/repo2`) |

**Note:** The `gh` CLI auth token works if `gh` is installed and authenticated. The poller tries `gh auth token` as a fallback if `GITHUB_TOKEN` isn't set.

### 2. Configure pollers.json

The skill ships with a default `pollers.json` that polls every 15 minutes:

```json
{
  "pollers": [
    {
      "name": "github-activity",
      "command": "python poller.py",
      "cron": "*/15 * * * *"
    }
  ]
}
```

Adjust the cron schedule as needed. For active repos, `*/5 * * * *` works but watch API rate limits.

### 3. Reload pollers

After installation, call `reload_pollers` to register the poller with the scheduler.

## What It Reports

The poller emits events for:
- **New issues** opened on your repos
- **New pull requests** opened on your repos
- **New comments** on issues and PRs (excluding your own bot account)
- **PR reviews** submitted (excluding your own)

Each event includes the repo, author, title/body, and URLs needed to act.

## Filtering

- Comments and reviews from the authenticated account are excluded (avoids self-notification loops)
- Only activity since the last successful poll is reported
- Empty polls produce no output (silence = nothing new)

## Dependencies

Requires either:
- The `gh` CLI installed and authenticated, OR
- A `GITHUB_TOKEN` environment variable with repo read access

No additional Python packages needed — uses `subprocess` to call `gh` API.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [tkellogg](https://github.com/tkellogg)
- **Source:** [tkellogg/open-strix](https://github.com/tkellogg/open-strix)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** yes
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-tkellogg-open-strix-github-poller
- Seller: https://agentstack.voostack.com/s/tkellogg
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
