repo2skill

Convert GitHub, GitLab, or Gitee repositories into SKILL.md format.

1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/gatieme/agent-toolkit --skill repo2skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo2skill
Source: https://github.com/gatieme/agent-toolkit/tree/main/skills/repo2skill
Command: npx skills add https://github.com/gatieme/agent-toolkit --skill repo2skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of new AI agent skills by converting existing code repositories or local projects into a structured SKILL.md format.

Core Features & Use Cases

  • Repository Conversion: Transforms remote GitHub, GitLab, or Gitee repositories into functional agent skills.
  • Local Project Conversion: Creates skills from local directories, analyzing project structure and metadata.
  • Use Case: You have a useful Python script for data analysis. Use this Skill to convert its repository into a new agent skill that other team members can easily discover and use.

Quick Start

Use the repo2skill skill to convert the GitHub repository at https://github.com/user/example-repo into a new skill.

Frequently Asked Questions about repo2skill

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

FAQPage Schema
How do I convert a GitHub repository into an AI agent skill?

Converting a GitHub repository into an agent skill involves automatically generating a structured SKILL.md file from the remote codebase. This tool analyzes remote repositories from GitHub, GitLab, or Gitee to extract project metadata and structure for seamless agent toolkit integration.

Can I generate agent skills from local project directories?

Generating agent skills from local project directories is fully supported alongside remote repository conversion. The tool analyzes your local directory's project structure and metadata to automatically produce the SKILL.md format required for agent skill creation.

What is the process for turning existing code into a structured SKILL.md format?

Turning existing code into a structured SKILL.md format requires analyzing the project's metadata and structure. The process automates skill generation by extracting relevant information from your code repositories and formatting it for discovery and integration within agent toolkits.

Does repo2skill work with GitLab and Gitee repositories?

Yes, repository conversion works seamlessly with GitLab and Gitee repositories in addition to GitHub. The skill supports remote repository analysis across these three platforms to automate the generation of AI agent skills.

What is the best way to automate code conversion for agent toolkits?

The best way to automate code conversion for agent toolkits is to use a skill generation tool that analyzes project metadata directly from the source. This approach automatically transforms code repositories into the structured SKILL.md format, facilitating immediate discovery and integration.