GitHub research scout — runs targeted gh investigation in an isolated subagent session and returns concise path-first findings with line-ranged evidence
Researches GitHub repos via the gh CLI and returns concise, path-first findings with line-ranged evidence.
When the answer to a question likely lives in one or more GitHub repos and you don't want exploratory gh search, tree probes, and file reads polluting your main session, github-librarian takes that work elsewhere — to an isolated subagent when one's available — and reports back with concise path-first findings. It:
gh search code, tree, and contents API calls in a fresh /tmp workspacepath:lineStart-lineEnd from real file content (never from search snippets alone)Three install paths exist. They are not equivalent — pick based on your harness.
If you're on Claude Code, install via the marketplace. This wires up the github-librarian agent and /github-librarian slash command, and uses Claude Code's built-in Task subagent so the investigation runs in a separate context — gh responses, cached files, and tree dumps stay out of your main conversation.
/plugin marketplace add diegopetrucci/ai-agents-skills
/plugin install github-librarian@diegopetrucci-claude-plugins
If you're on Codex, add the marketplace and then install the plugin from the Codex plugin directory.
codex plugin marketplace add diegopetrucci/ai-agents-skills
Restart Codex, then install github-librarian from the "Diego Petrucci Agent Skills" marketplace in the plugin directory.
npx skillsFor all other harnesses, use npx:
npx skills add https://github.com/diegopetrucci/github-librarian --skill github-librarian
The skill's SKILL.md will delegate to a Task / general-purpose subagent if one is available, and fall back to running inline in your session otherwise. In the inline-fallback case there is no context isolation — every gh response and file Read lands in the main conversation.
/github-librarian <query> — pass scope hints (repo names, owners, refs, paths) inline when you have them.github-librarian subagent directly via the Task tool.Example:
/github-librarian where does anthropics/claude-code define the marketplace.json schema?
Found this skill useful? Browse all my hand-crafted ones in the AI Agents skills repo.
MIT
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub diegopetrucci/ai-agents-skills --plugin github-librarianStress-test a repo's agent-facing workflow and report issues
Critically evaluate PR review comments against actual code
Rebase a branch onto main and resolve conflicts
Plan TfL journeys and warn about disruptions
Interface with Sentry's error reporting from agents
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.