Universal open standard for AI agent skills โ write once, run anywhere
Project description
๐ง ai-skills
The universal open standard for AI agent skills โ write once, run anywhere.
The Problem
AI agent frameworks are exploding โ LangChain, AutoGen, CrewAI, Semantic Kernel, and dozens more. But skills (tools, functions, actions) built for one framework don't work in another. Every developer rewrites the same skills over and over, just in different formats.
This is the same problem the web solved with HTML. We need a common language for AI skills.
The Solution
ai-skills is an open specification + SDK that lets you:
- Write a skill once in a simple
skill.yamlfile - Publish it to the public registry
- Export it to any framework automatically
skill.yaml โ LangChain tool
โ AutoGen skill
โ CrewAI tool
โ Semantic Kernel function
โ Raw API call
How This Compares
Wondering how this compares to LangChain Tools, OpenAPI, MCP, or SKILL.md? Read our detailed breakdown: How ai-skills Compares.
Quick Start
Install the CLI
pip install ai-skills-sdk
Development install: If you want to contribute or run from source, clone the repo and install in editable mode:
git clone https://github.com/davyjones7321/AI-skills.git cd AI-skills pip install -e .
Create your first skill
aiskills init my-skill
cd my-skill
This creates a skill.yaml:
skill:
id: my-skill
version: 1.0.0
name: My Skill
description: What this skill does
inputs:
- name: input_text
type: string
required: true
outputs:
- name: result
type: string
execution:
type: prompt
prompt_template: "Do something with: {input_text}"
Validate and audit
# Check against the v0.1 schema specification
aiskills validate skill.yaml
# Run static security analysis (catch secrets & dangerous imports)
aiskills validate --audit skill.yaml
Export to your framework
aiskills export --target langchain # โ langchain_tool.py
aiskills export --target autogen # โ autogen_skill.py
aiskills export --target crewai # โ crewai_tool.py
Run a skill locally
# Dry-run: shows formatted prompt without calling any API
aiskills run skill.yaml --input '{"text": "hello"}'
# Run a code-type skill (no API key needed)
aiskills run examples/word-frequency/skill.yaml --input-file input.json
# Live execution: actually calls the LLM (requires OPENAI_API_KEY)
aiskills run skill.yaml --input-file input.json --execute
Publish to the registry
# Authenticate via GitHub OAuth (one-time)
aiskills login
# Preview what would be published (optional)
aiskills publish skill.yaml --dry-run
# Publish your skill to the registry
# Note: You can also publish via web upload or guided form at /publish
aiskills publish skill.yaml
Install a skill
# Optional: override the default hosted registry for this shell
export AISKILLS_REGISTRY_URL=https://ai-skills-sdk.onrender.com
# Download a published skill to your local workspace
aiskills install ai-skills-team/summarize-document
# Download and immediately auto-export it to LangChain!
aiskills install ai-skills-team/summarize-document --export langchain
Use the registry web app (MVP)
cd registry/frontend
npm install
npm run dev
Then open http://localhost:3000:
/โ marketing + discovery homepage with 12-card category grid/skillsโ browse/search with category filters and pagination/skills/{author}/{id}โ full skill detail page/publishโ interactive publishing studio (upload YAML or guided form)
Project Structure
ai-skills/
โโโ README.md โ You are here
โโโ CONTRIBUTING.md โ Contribution guidelines
โโโ CODE_OF_CONDUCT.md โ Community standards
โโโ .github/
โ โโโ workflows/ci.yml โ CI: validate all skills on push/PR
โ โโโ ISSUE_TEMPLATE/ โ Bug, feature, new skill templates
โ โโโ pull_request_template.md
โโโ docs/
โ โโโ SPEC.md โ The official v0.1 specification
โ โโโ SECURITY.md โ Security model and audit tools
โ โโโ COMPARISON.md โ How we compare to MCP/LangChain/etc
โโโ examples/ โ 19 complete, working example skills (prompt, code, tool_call, chain)
โ โโโ summarize-document/
โ โโโ generate-sql/
โ โโโ markdown-to-html/
โ โโโ ... (16 more)
โโโ sdk/
โ โโโ cli.py โ Main CLI entry point
โ โโโ validator.py โ Schema validation
โ โโโ security.py โ Security auditing
โ โโโ runner.py โ Skill execution engine (run command)
โ โโโ auth_config.py โ Authentication management
โ โโโ exporters/ โ Framework adapters
โโโ registry/
โโโ api/ โ FastAPI Registry Backend Server
โ โโโ categories.py โ 12-category fixed taxonomy
โ โโโ utils.py โ Shared utils like make_json_safe
โโโ frontend/ โ Next.js registry web app (homepage, browse, detail, publish)
โ โโโ lib/skill-categories.ts โ Shared category constants
โ โโโ lib/publish-utils.ts โ Web publishing form utilities
โ โโโ components/registry/publish-studio.tsx โ Interactive publish studio
โโโ index.json โ Prototype registry index
Skill Types
| Type | Description | Example |
|---|---|---|
prompt |
LLM prompt template | Summarize, classify, translate |
tool_call |
External API/function call | Web search, database query |
chain |
Multiple steps in sequence | Research โ summarize โ format |
code |
Execute a code snippet | Data processing, calculations |
Why ai-skills?
| ai-skills | LangChain | AutoGen | Semantic Kernel | |
|---|---|---|---|---|
| Framework-agnostic | โ | โ | โ | โ |
| Open standard | โ | โ | โ | โ |
| Public registry | โ | โ | โ | โ |
| Built-in benchmarks | โ | โ | โ | โ |
| Skill portability | โ | โ | โ | โ |
Contributing
We're in early days โ contributions, feedback, and ideas are very welcome.
- ๐ Read the Specification
- ๐ ๏ธ Check out example skills
- ๐ฌ Open an issue to discuss ideas
- ๐ Submit a PR
License
MIT โ free to use, modify, and distribute.
Session Update โ 2026-03-26
GitHub OAuth implementation for the registry was completed in this session across the backend, frontend, and CLI. The backend now uses signed JWTs with proper verification, GitHub OAuth state validation, frontend callback redirects, stateless logout, and user email plus last-login persistence. The frontend now includes /login, /auth/callback, an auth context/provider, and dynamic signed-in header state. The CLI aiskills login flow was updated to complete browser-based auth without manual token paste, and registry/api/.env.example was added with the required auth variables.
Session Update โ 2026-03-27
The hosted registry configuration was tightened up in this session. The backend GitHub OAuth callback URL is now built from BASE_URL, so production callbacks point back to the backend itself instead of the frontend. The API docs and example env file were updated with BASE_URL, the backend CORS allowlist now includes https://ai-skills-omega.vercel.app, and the CLI registry commands now honor AISKILLS_REGISTRY_URL with a default fallback of https://ai-skills-sdk.onrender.com.
Session Update โ 2026-03-27 (Production Hardening)
A comprehensive production audit was run and 10 issues were fixed: insecure default secrets removed (now required fields), debug defaults to False, CORS origins simplified to settings.frontend_url, OAuth state moved from in-memory dict to a persistent DB table (OAuthState), getattr removed from the code sandbox, deprecated @app.on_event("startup") replaced with modern lifespan, health check no longer exposes environment in production, duplicate DEFAULT_REGISTRY_URL import consolidated, and .env.example updated with all production variables.
Session Update โ 2026-03-28 (Standalone CLI)
The SDK is now published to PyPI as ai-skills-sdk. Users can install it directly with pip install ai-skills-sdk โ no repo clone required. All documentation across README.md, OVERVIEW.md, CONTRIBUTING.md, registry/README.md, registry/api/README.md, and docs/LAUNCH_POST.md has been updated to reflect this. The frontend publish page now shows the correct install steps and includes a clone notice for development contributors. The auth context bug (header not updating after OAuth callback) was also fixed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_skills_sdk-0.2.0.tar.gz.
File metadata
- Download URL: ai_skills_sdk-0.2.0.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b953ed14773932182bbdd083711f188ef4dbac7544a4f0fea853b3db615e0d56
|
|
| MD5 |
cc61feda9ef0961e7977da14898c9660
|
|
| BLAKE2b-256 |
0e68b826ff524de1954ab3d2c70f02fa5d30cc7305ace8de1f0ece12d05bba64
|
File details
Details for the file ai_skills_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ai_skills_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8362a0f4438b54001f5d66f64700bd738aefc7f1f32a5a54a5978efe874fdb6f
|
|
| MD5 |
6b46797f4352da296ace0982ea4f06e1
|
|
| BLAKE2b-256 |
53d00e90f28614535a6f4fef3cd242dd6b582f34a23e63cb98caa83687ec3963
|