Co-Pilot / 辅助式
更新于 25 days ago

skillmp-api

Kkevintsai1202
0.0k
kevintsai1202/skillmp-api
78
Agent 评分

💡 摘要

SkillsMP API 使用户能够通过关键字和 AI 语义搜索在 SkillsMP 市场中发现 AI 技能。

🎯 适合人群

寻找技能的 AI 开发者寻求 AI 工具的数据科学家希望集成技能的软件工程师探索 AI 能力的科技爱好者评估 AI 解决方案的产品经理

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);API Key/Token 的获取、存储与泄露风险;文件读写范围与路径穿越风险;依赖锁定与供应链风险。以最小权限运行,并在生产环境启用前审计代码与依赖。


name: SkillsMP API description: Search and discover AI skills from the SkillsMP marketplace

SkillsMP API Skill

This skill provides search functionality for the SkillsMP skill marketplace, supporting both keyword search and AI semantic search.

Prerequisites

Installation

First-time setup requires installing the requests library:

pip install requests

[!NOTE] This step only needs to be run once. Python's requests library is the only external dependency required.

API Key Configuration

Check if API Key is configured

Before running any search script, check if .env file exists:

# Check if .env exists test -f .env && echo "Configured" || echo "Not configured"

Setup API Key

Option 1: Using setup script (Recommended)

python scripts/setup.py <API_KEY>

Option 2: Create .env file directly

Create a .env file with the following content:

SKILLSMP_API_KEY=sk_live_skillsmp_xxxxxxxxxx

[!TIP] Get your API Key from SkillsMP API Settings


Features

1. Keyword Search

Search the skill library using keywords.

Usage:

python scripts/search.py "<keyword>" [page] [per_page] [sort]

Parameters:

| Parameter | Required | Description | |-----------|----------|-------------| | keyword | ✓ | Search keyword | | page | | Page number, default: 1 | | per_page | | Items per page, default: 20, max: 100 | | sort | | stars or recent |

Examples:

# Basic search python scripts/search.py "SEO" # With pagination and sorting python scripts/search.py "web scraper" 1 10 stars

2. AI Semantic Search

Use AI-powered semantic search (Cloudflare AI).

Usage:

python scripts/ai_search.py "<query>"

Parameters:

| Parameter | Required | Description | |-----------|----------|-------------| | query | ✓ | Natural language query |

Examples:

python scripts/ai_search.py "How to create a web scraper" python scripts/ai_search.py "skills for building REST APIs"

3. Install Helper

Search skills and get installation command suggestions.

Usage:

python scripts/install_helper.py "<keyword>" [limit]

Parameters:

| Parameter | Required | Description | |-----------|----------|-------------| | keyword | ✓ | Skill keyword to search | | limit | | Number of results to show, default: 5 |

Examples:

python scripts/install_helper.py "spring boot" python scripts/install_helper.py "react" 10

Output includes:

  • Skill name, author, stars, description
  • GitHub search link to find the repository
  • Installation command instructions


Skill Installation

This skill integrates with add-skill CLI to install skills directly from Git repositories.

Supported Agents

| Agent | Identifier | Global Skills Directory | |-------|------------|-------------------------| | Antigravity | antigravity | ~/.gemini/antigravity/skills/ | | Claude Code | claude-code | ~/.claude/skills/ | | Cursor | cursor | .cursor/skills/ | | Codex | codex | .codex/skills/ | | OpenCode | opencode | .opencode/skills/ | | GitHub Copilot | github-copilot | .github/copilot/skills/ | | Roo Code | roo | .roo/skills/ |

Install Command References

The add-skill tool installs skills from any Git repository.

Install specific skill to global scope (User-level):

npx add-skill <owner>/<repo> --skill "<skill-name>" -g -a antigravity -y

Install ALL skills from a repo:

npx add-skill <owner>/<repo> -g -a antigravity -y

Install to project scope (Local):

npx add-skill <owner>/<repo> --skill "<skill-name>" -a antigravity -y

List available skills in a repo:

npx add-skill <owner>/<repo> --list

Complete Installation Workflow

  1. Search for skills Use the helper script to find the repository and skill name:

    python scripts/install_helper.py "spring boot"
  2. Verify repository content List all skills available in the repository:

    npx add-skill <owner>/<repo> --list
  3. Install the skill Choose one of the installation commands above. For most cases, use the Global Install:

    npx add-skill <owner>/<repo> --skill "<skill-name>" -g -a antigravity -y
  4. Verify Installation Check if the skill files are created in the agent's skill directory.


Response Format

Success Response:

{ "success": true, "data": { "skills": [...] } }

Error Response:

{ "success": false, "error": { "code": "ERROR_CODE", "message": "Error message" } }

Agent Workflow

When a user requests SkillsMP search functionality:

  1. Check if .env exists

    • If exists → Run search script directly
    • If not → Guide user through setup
  2. Guide user to get API Key

    • Direct user to https://skillsmp.com/settings/api
    • Ask user to provide the API Key
  3. Configure API Key

    • Use setup.py script or create .env file
    • Verify setup before running search

[!CAUTION] The .env file contains sensitive information and is excluded from Git. Never share or expose your API Key publicly.

五维分析
清晰度8/10
创新性7/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 支持关键字和 AI 语义搜索
  • 设置简单,说明清晰
  • 与多种 AI 代理集成
  • 提供安装命令建议

缺点

  • 访问需要 API 密钥
  • 仅限于 Python 环境
  • 依赖外部请求库
  • 对于初学者来说,设置可能会令人困惑

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 kevintsai1202.