Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/nanocoai/nanoclaw/add-githubnpx skills add nanocoai/nanoclaw --skill add-githubgit clone --depth 1 https://github.com/nanocoai/nanoclawWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00021 | $0.02071 |
| Opus 5 | $0.00010 | $0.01035 |
| Sonnet 5 | $0.00004 | $0.00414 |
| Haiku 4.5 | $0.00002 | $0.00207 |
Grade A, and why
add-github scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add GitHub Channel
Adds GitHub support via the Chat SDK bridge. The agent participates in PR and
issue comment threads. NanoClaw doesn't ship channels in trunk — this skill
copies the GitHub adapter in from the channels branch.
The mechanical steps under Apply carry nc: directive fences: an agent
reads the prose and applies them, and a parser can apply them deterministically
from the same document. Every directive is idempotent, so the whole skill is
safe to re-run; anything a parser can't apply falls back to the prose beside it.
Prerequisites
You need a dedicated GitHub bot account (not your personal account). The adapter uses this account to post replies and filters out its own messages to avoid loops. Create a free GitHub account for your bot (e.g. my-org-bot), then invite it as a collaborator with write access to the repos you want monitored.
Apply
1. Copy the adapter
Fetch the channels branch and copy the GitHub adapter into src/channels/
(overwrite — the branch is canonical):
src/channels/github.ts
src/channels/github-registration.test.ts
2. Register the adapter
Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core:
import './github.js';
3. Install the adapter package
Pinned to an exact version — the supply-chain policy rejects ranges and latest:
@chat-adapter/[email protected]
4. Build and validate
The build guards the typed createChatSdkBridge(...) core call and proves the
dependency is installed (the adapter import throws if @chat-adapter/github
isn't present):
pnpm run build
pnpm exec vitest run src/channels/github-registration.test.ts
github-registration.test.ts imports the real channel barrel and asserts the
registry contains github. It goes red if the import line is deleted or drifts,
if the barrel fails to evaluate, or if @chat-adapter/github isn't installed
(the import throws) — so it also covers the dependency from step 3.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 187 lines · 21 tokens per session scan A 290c02d116d4
add-github is a skill published in the GitHub repository nanocoai/nanoclaw (30,678 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 2,071 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
skill-creator
Create or update KafClaw skills with consistent structure and safety guidance.
agentmail
Email inboxes for AI agents - create addresses, send and receive email, manage threads.
agent-adaptive-coordinator
Agent skill for adaptive-coordinator - invoke with $agent-adaptive-coordinator.
agent-migration-plan
Agent skill for migration-plan - invoke with $agent-migration-plan.
agent-performance-monitor
Agent skill for performance-monitor - invoke with $agent-performance-monitor.
agent-consensus-coordinator
Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator.