Use Case
GitHub Knowledge Base is a powerful AI agent skill that extends your assistant with new capabilities. Manage a local GitHub knowledge base and provide GitHub search capabilities via gh CLI. Use when users ask about repos, PRs, issues, request to clone GitHub repositories, explore codebases, or need information about GitHub projects. Supports searching GitHub via gh CLI and managing local KB with GITHUB_KB.md catalog. Configure via GITHUB_TOKEN and GITHUB_KB_PATH environment variables. This guide walks you through installing GitHub Knowledge Base, configuring it for your setup, and running your first commands β so you can start getting value in minutes.
Install GitHub Knowledge Base: npx clawhub@latest --dir ~/.claude/skills install github-kb
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to developer & devops to trigger GitHub Knowledge Base
Review the output and refine your prompt for better results
Combine GitHub Knowledge Base with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing GitHub Knowledge Base
Help me get started with GitHub Knowledge Base
What can GitHub Knowledge Base do for my developer & devops workflow?
Show me an example of using GitHub Knowledge Base
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install github-kbOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install github-kbβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/github-kb/π‘Extract and place the folder at the path above, then restart your agent.