PA

pratikxpanda/agentskills-sdk

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

24 stars 质量 71 趋势 30MIT

一个用于发现、检索并向LLM代理提供代理技能的Python开发工具——支持文件系统和HTTP服务,并集成LangChain、Microsoft代理框架和MCP。

概览

一个用于发现、检索并向LLM代理提供代理技能的Python开发工具包。 是一种开放格式,用于赋予人工智能代理新的能力和专业知识。该格式最初由Anthropic开发,现已被Claude Code、Cursor、GitHub、VS Code、Gemini CLI等众多平台支持。 这个项目对你有帮助。从文件系统、静态 HTTP 主机或你自己的提供者获取技能,验证它们是否符合规范,并通过官方 Skills 扩展发布到 MCP 主机。 需要使用 Python 3.12 或更新版本。测试时使用了 3.12、3.13 和 3.14。 一个提供者加上实现Skills扩展的主机的本地MCP服务器: 如果你写技能而不是消费技能,你更需要代理技能工具。 v0.7.0 是当前版本:仅本地 MCP 交付,支持 SDK 2.2+ 和协议 2026-07-28,包含八个维护包。升级前请先审查破坏性变更。

概述(AI 翻译)

一个用于发现、检索和向LLM代理提供代理技能的Python开发工具包。

代理技能是一种开放格式,旨在赋予AI代理新的能力和专业知识。该格式最初由Anthropic开发,现已被Claude Code、Cursor、GitHub、VS Code、Gemini CLI等众多平台支持。

该项目帮助你将技能整合到你自己的代理中。从文件系统、静态HTTP主机或你自己的提供者中获取技能,根据规范验证,并通过官方Skills扩展发布到MCP主机。

注: 需要使用 Python 3.12 或更新版本。测试对象为 3.12、3.13 和 3.14。


包裹

软件包 描述 版本 下载
agentskills-core 注册表、提供者接口和规范验证。其他所有软件包都依赖于它。
agentskills-adapters 适配器:导入 AGENTS.md、副驾驶指令、光标规则和克劳德技能作为原生技能对象。
agentskills-fs 提供者:从本地目录读取技能。
agentskills-http 提供者:从静态HTTP服务器或CDN读取技能。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Agent Skills SDK

A Python SDK for discovering, retrieving, and serving Agent Skills to LLM agents.

Agent Skills is an open format for giving AI agents new capabilities and expertise. Originally developed by Anthropic, the format is now supported by Claude Code, Cursor, GitHub, VS Code, Gemini CLI, and many others.

This project helps you integrate skills into your own agents. Retrieve skills from the filesystem, a static HTTP host, or your own provider, validate them against the spec, and publish them to MCP hosts through the official Skills extension.

Note: Requires Python 3.12 or newer. Tested against 3.12, 3.13, and 3.14.


Packages

Package Description Version Downloads
agentskills-core The registry, the provider interface, and spec validation. Every other package depends on it.
agentskills-adapters Adapter: import AGENTS.md, Copilot instructions, Cursor rules, and Claude skills as native Skill objects.
agentskills-fs Provider: read skills from a local directory.
agentskills-git Provider: read skills from a Git repository at a resolved commit. Under development for v0.8
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add pratikxpanda/agentskills-sdk
新手?先看 mcpskill.org 教程 →