The skill-doc-generator is an MCP server that automatizes the conversion of any documentation URL into a Claude Code skill file. By crawling API docs, library references, or framework documentation, it generates ready-to-use markdown files without needing an API key. Simplify your documentation process with easy installation and seamless integration in various IDEs.
The skill-doc-generator is an innovative MCP server designed to streamline the creation of Claude Code skill files from any documentation URL. This server can efficiently convert API documentation, framework references, or library documentation into a ready-to-use .md skill file without the need for an API key.
Key Features
- Automated Documentation Extraction: The server employs an advanced AI agent to crawl relevant documentation pages and extract essential information, generating a skill that encapsulates key concepts, common operations, and actionable instructions.
- Simple Tooling: The server features two primary tools:
fetch_doc_page(url): This tool fetches a specified documentation page, stripping away unnecessary navigation, scripts, and styles to deliver clean text content along with the same-domain links found on the page.save_skill(content, skill_name, output_dir?): This function takes the generated skill content and saves it as a markdown file to the specified directory.
How It Works
Users only need to provide the URL of the documentation they wish to convert into a skill. The AI agent intelligently evaluates the content, determines which linked pages to crawl, and saves the generated .md skill in a user-specified location or a default directory at ~/.claude/skills/.
Easy Integration
The skill-doc-generator can be seamlessly integrated with any MCP-compatible IDE, including Claude Code, Cursor, and Windsurf. Users can quickly set it up, and the ease of use allows for immediate access to newly generated skills.
Example Usage
After integration, generating a skill is straightforward. Users can prompt the agent with requests like:
Generate a skill from https://laravel.com/docs/13.x/eloquent
Create a Claude Code skill from the Stripe API docs: https://stripe.com/docs/api
Build a skill from https://docs.python.org/3/library/asyncio.html and save it to ./skills
Output Format
The generated skill files adhere to a specified format which includes:
---
name: laravel-eloquent
description: Use when working with Laravel Eloquent ORM — models, relationships, queries, scopes
---
# Laravel Eloquent
...actionable instructions for the agent...
This project simplifies the process of skill generation, making it a valuable tool for developers looking to enhance their workflow with AI-powered documentation extraction.
No comments yet.
Sign in to be the first to comment.