add-github

Integrates GitHub PR and issue comment threads as agent conversations via Chat SDK.

1|Updated May 22, 2026
One-click install
npx skills add https://github.com/roseDwayane/LocalizeAgenticSys --skill add-github-rosedwayane
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-github
Source: https://github.com/roseDwayane/LocalizeAgenticSys/tree/main/nanoclaw/.claude/skills/add-github
Command: npx skills add https://github.com/roseDwayane/LocalizeAgenticSys --skill add-github-rosedwayane

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @chat-adapter/github.

What problem does it solve? NanoClaw does not ship channel adapters in trunk, so connecting an agent to GitHub requires manually copying the adapter, registering it, configuring credentials, and wiring database records. This Skill walks through that entire process with idempotent, re-runnable steps. ## Core Features & Use Cases - Adapter Installation: Copies the GitHub channel adapter and its registration test from the channels branch, appends the self-registration import, and installs the pinned @chat-adapter/github package. - Credential & Webhook Setup: Guides creation of a fine-grained personal access token for a dedicated bot account and per-repo webhook configuration for issue and PR review comments. - Channel Wiring: Inserts messaging group and agent group records with public or strict sender policies, plus member management for strict mode. - Use Case: A team wants their NanoClaw agent to respond when someone @-mentions the bot in a pull request comment, with each PR getting its own isolated per-thread session. ## Quick Start Ask the agent to add the GitHub channel to NanoClaw and follow the prompts to provide your bot token, webhook secret, and repository details.

Frequently Asked Questions about add-github

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a GitHub channel to NanoClaw?

Run the add-github skill, which copies the adapter from the channels branch, registers it in src/channels/index.ts, installs @chat-adapter/github, and guides you through token, webhook, and database wiring. Every step is idempotent and safe to re-run.

How do I set up a GitHub bot account for agent replies?

Create a dedicated GitHub account, invite it as a collaborator with write access, and generate a fine-grained personal access token with Pull requests and Issues read-write permissions. Set GITHUB_TOKEN and GITHUB_BOT_USERNAME in your .env file.

Does the GitHub adapter support private and public repositories?

Yes. For private repos use unknown_sender_policy 'public' since only collaborators can comment. For public repos use 'strict' so only registered members can trigger the agent, preventing strangers from consuming resources.

Why does the GitHub registration test fail after installation?

The test fails if the import './github.js' line is missing from the channel barrel, if the barrel fails to evaluate, or if @chat-adapter/github is not installed. Re-run the build and pnpm install steps to fix it.

How does the agent know when to respond in a GitHub thread?

The agent responds when someone @-mentions the bot username in a PR or issue comment. After the first mention, the thread is subscribed and the agent responds to all follow-up comments in that thread.