github-docs

Search GitHub Docs pages and extract rendered markdown articles.

3|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill github-docs
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: github-docs
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/github-docs
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill github-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the time-consuming effort of manually locating and opening GitHub documentation by giving LLM-friendly, programmatic access to docs search, page lists, and rendered article bodies.

Core Features & Use Cases

  • Documentation Search: Find the right GitHub Docs article by querying the official docs search API.
  • Browse Available Pages: Enumerate docs pages by language and version to ensure accurate coverage.
  • Retrieve Rendered Markdown: Load the full rendered content of a known docs page as markdown for efficient context usage.

Use Case: When you need guidance on a specific GitHub Actions or REST topic, search the docs, select the correct versioned article, and pull its rendered markdown to ground the answer in official documentation.

Quick Start

Use the github-docs skill to retrieve the rendered markdown for a specific GitHub Docs page about a topic you name and describe.

Frequently Asked Questions about github-docs

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

FAQPage Schema
How do I retrieve rendered markdown from GitHub documentation pages?ā–¼

To retrieve rendered markdown from GitHub documentation, you provide a specific page pathname, language, and version. The skill fetches the full article body from docs.github.com, returning compact markdown context for downstream reasoning.

Can I search GitHub docs programmatically for specific API or Actions topics?ā–¼

Yes, you can search GitHub docs programmatically by querying the official docs search API. This allows you to find the correct versioned article for specific GitHub Actions or REST API topics before extracting the page content.

What is the best way to load official GitHub docs context for an LLM?ā–¼

The best way to load official GitHub docs context for an LLM is to use a retrieval skill that queries docs.github.com endpoints. It searches articles, selects the correct language and version variants, and loads the rendered markdown efficiently.

Does the GitHub docs retrieval skill require language and version inputs?ā–¼

Yes, the GitHub docs retrieval skill requires language and version inputs to ensure accurate coverage. Providing these parameters allows the tool to enumerate available pages and fetch the correct localized and versioned documentation.

How do I list available GitHub documentation pages by version?ā–¼

You can list available GitHub documentation pages by version using the page listing endpoint. By specifying the desired language and version inputs, the skill enumerates docs pages to ensure you retrieve accurate and relevant coverage.

What are the limitations of using docs.github.com endpoints for context loading?ā–¼

A limitation of using docs.github.com endpoints for context loading is that you must already know or search for the specific pathname, language, and version. Without exact inputs, the retrieval process cannot locate the correct rendered markdown article.