add-github
Skill by nanocoai
Adds GitHub channel support to NanoClaw through the Chat SDK bridge. The agent joins PR and issue comment threads and replies when a bot account is @-mentioned. It is for NanoClaw users who want a GitHub bot in their repositories.
Install add-github
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/.claude/skills/add-github ~/.claude/skills/add-githubRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nanocoai/nanoclaw /tmp/nanoclaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nanoclaw/.claude/skills/add-github ~/.gemini/antigravity-cli/skills/add-githubAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill adds GitHub support to NanoClaw, which does not ship channels in trunk. It copies the GitHub adapter from the channels branch into src/channels/, registers it in the channel barrel, and pins the @chat-adapter/github package to version 4.41.1. It then guides the user through creating a fine-grained token for a bot account, adding a webhook on each repo, and setting the GitHub environment variables. Build and test steps check that the adapter loads.
Once wired, the agent takes part in pull request and issue comment threads. It responds when someone writes the bot's @-mention, then follows up on later comments in that thread. Each PR or issue gets its own session in per-thread mode. The skill asks whether the repo is private or public to choose a sender policy. It suits NanoClaw users who want a dedicated GitHub bot account.
Written from the project's SKILL.md and checked against it.
What it can do
- Copy GitHub adapterCopies the GitHub channel adapter from the channels branch into src/channels/.
- Register channelAdds a self-registration import to the channel barrel so the adapter loads.
- Webhook-driven repliesReceives PR and issue comment events through a webhook and responds in those threads.
- Mention-triggered responsesResponds when the bot account is @-mentioned, then follows up on later thread comments.
- Per-thread sessionsGives each PR or issue its own isolated agent session in per-thread mode.
- Sender policy choiceUses a public policy for private repos or a strict policy that limits triggers to members.
What you need
- A running NanoClaw install with pnpm
- A dedicated GitHub bot account
- A fine-grained GitHub personal access token for the bot account
- Owner or admin access to each repo to add webhooks
- A publicly reachable URL for the webhook endpoint
Try asking
- Set up the GitHub channel for my owner/repo repository.
- Reply to the @-mention in this pull request comment thread.
- Answer the question in the issue where the bot was mentioned.
Good to know
- NanoClaw does not ship this channel in trunk; it is copied from the channels branch.
- The webhook server listens on 127.0.0.1 only unless WEBHOOK_HOST is set.
- Comments written by the bot account itself are filtered out by design.
- End-to-end message delivery is verified manually once the service runs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/add-github/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
REMOVE.md750 B -
SKILL.md9 KB -
apply-fixtures.json364 B
Alternatives to add-github
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
add-github: common questions
Does the GitHub bot need its own account?
Yes. The source recommends a dedicated bot account rather than a personal one, because the adapter uses it to post replies and filters its own messages to avoid loops.
How does the agent know when to reply?
It replies when someone writes the bot's username as an @-mention in a PR or issue comment. After the first mention, the thread is subscribed and follow-up comments get responses.
Which webhook events does the bot need?
The source says to subscribe to Issue comments and Pull request review comments. Push events alone are not enough.
How do I install add-github?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-github free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is add-github safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-github?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
