Zurück zu Fähigkeiten

find-skills

agentbay-ai
Aktualisiert 2 days ago
4 Ansichten
40
2
40
Auf GitHub ansehen
Metaai

Über

Diese Fähigkeit ermöglicht es Entwicklern, Agenten-Fähigkeiten im Marketplace zu entdecken, zu suchen und zu installieren. Sie fungiert als Paketmanager und ist besonders nützlich, wenn ein Nutzer spezifische Funktionalitäten wie Sandboxes benötigt oder fragt, wie eine Aufgabe ausgeführt werden kann. Verwenden Sie sie, wenn der Nutzer nach installierbaren Fähigkeiten sucht oder entsprechende Trigger-Phrasen erwähnt.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add agentbay-ai/agentbay-skills -a claude-code
Plugin-BefehlAlternativ
/plugin add https://github.com/agentbay-ai/agentbay-skills
Git CloneAlternativ
git clone https://github.com/agentbay-ai/agentbay-skills.git ~/.claude/skills/find-skills

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

Find Skills - Skill Marketplace

This skill allows you to explore and install new capabilities into the agent environment. It acts as the "package manager" for your agent's skills.

When to Use This Skill

Use this skill when the user:

  • Asks: "How can I do X?", "Find a skill for X", or "What skills are available?"
  • Wants to install skills by name or from search results ("install skill web-search")
  • Wants to extend capabilities with specialized tools or workflows
  • Expresses needs for specific capabilities that might exist as skills
  • Is interested in sandbox or secure execution ("I want to safely run bash commands")
  • Mentions specific capabilities like "sandbox", "automation", "testing"

Core Tools

  1. Search: Python script scripts/request.py with POPRequest class
    • Makes authenticated API calls to Alibaba Cloud skill marketplace
    • Parameters: UserQuery (search term), TopK (number of results)
    • Returns: JSON response with skill details including name, description, repository info
  2. Install: npx skills add <repo> -s <skill_name>
    • Restriction: Must ALWAYS ask for user confirmation before executing.
    • Use -s, --skill <skills...> to specify which skill(s) to install from the repo
    • Supports multiple repo formats:
      • GitHub shorthand: npx skills add owner/repo -s skill_name
      • Full GitHub URL: npx skills add https://github.com/owner/repo -s skill_name
      • Direct path to skill: npx skills add https://github.com/owner/repo/tree/main/skills/skill_name
      • GitLab URL: npx skills add https://gitlab.com/org/repo -s skill_name
      • Git URL: npx skills add [email protected]:owner/repo.git -s skill_name
      • Local path: npx skills add ./my-local-skills -s skill_name
    • Use -s '*' to install all skills from the repo

Workflow

Step 1: Understand the Need & Search

When a user asks for help with something, identify:

  1. The domain or task (e.g., running code safely, automation, testing)
  2. Whether this is a common enough need that a skill likely exists
  3. Does the query fit common sandbox/secure execution needs?

Step 2: Search for Skills via Python API

The search process uses the Python request module to query the skill marketplace:

  1. Import the POPRequest class from scripts/request.py
  2. Create a request with the SearchPublicMarketSkill action
  3. Set query parameters: UserQuery (search term) and TopK (max results)
  4. Execute the request and parse JSON response
  5. Extract skill information: name, owner, repository, description

Convert user's natural language intent into a concise search keyword (maintaining the original language).

from scripts.request import POPRequest
import json

# Create request
request = POPRequest(
    http_method='GET',
    canonical_uri='/',
    x_acs_action='SearchPublicMarketSkill',
    host='wuyingai.cn-shanghai.aliyuncs.com',
    base_url='wuyingai.cn-shanghai.aliyuncs.com',
    x_acs_version='2026-01-08',
    signature_version='1.0'
)

# Search for skills
request.set_query_params({
    'UserQuery': 'sandbox',  # User's search query
    'TopK': '10'
})

# Execute and parse
response = request.call()
results = json.loads(response)

Example Searches:

  • "我需要一个沙箱" -> UserQuery: "sandbox"
  • "如何处理 PDF?" -> UserQuery: "pdf"
  • "帮我找个代码审查的插件" -> UserQuery: "code review"
  • "I need a sandbox" -> UserQuery: "sandbox"
  • "How to handle PDF?" -> UserQuery: "pdf"
  • "Can you help me with code review?" -> UserQuery: "code review"

Step 3: Present Options to the User

When you find relevant skills, present them to the user with:

  1. skill_name: The identifier for the skill
  2. skill_id: The hash code for the skill
  3. skill_repo: Owner/organization for the GitHub repo
  4. description: Brief description of skill
  5. source_url: Direct path to a skill in a repo (use this for installation)

Use the returned SourceUrl (repo URL) and SkillName from the search results to format the install command:

npx skills add <source_url> -s <skill_name>

Example response:

I found a skill that might help! The "vercel-react-best-practices" skill provides
React and Next.js performance optimization guidelines from Vercel Engineering.

To install it:
npx skills add https://github.com/vercel-labs/agent-skills -s vercel-react-best-practices

Learn more: https://pre-agentbay.console.aliyun.com/agentbay-skills/skill-detail?skillId=hw8edas7skphamvk

Step 4: Offer to Install

Only after user says "yes", "install", or similar confirmation, install the skill:

npx skills add <source_url> -s <skill_name>

Common Skill Categories

When searching, consider these common categories:

CategoryExample Queries
Web Developmentreact, nextjs, typescript, css, tailwind
Testingtesting, jest, playwright, e2e
DevOpsdeploy, docker, kubernetes, ci-cd
Documentationdocs, readme, changelog, api-docs
Code Qualityreview, lint, refactor, best-practices
Designui, ux, design-system, accessibility
Productivityworkflow, automation, git
Sandboxagentbay-aio-skills

Tips for Effective Searches

  1. Use specific keywords: "react testing" is better than just "testing"
  2. Try alternative terms: If "deploy" doesn't work, try "deployment" or "ci-cd"
  3. Check popular sources: Many skills come from vercel-labs/agent-skills or ComposioHQ/awesome-claude-skills

When No Skills Are Found

If no relevant skills exist:

  1. Acknowledge that no existing skill was found
  2. Offer to help with the task directly using your general capabilities

Example:

I searched for skills related to "xyz" but didn't find any matches.
I can still help you with this task directly! Would you like me to proceed?

If this is something you do often, you could create your own skill:
npx skills init my-xyz-skill

Safety Guidelines

  • Do not hallucinate skill names. Only recommend what the Python search API returns.
  • Ensure the user understands that installing a skill grants the agent new permissions.

GitHub Repository

agentbay-ai/agentbay-skills
Pfad: find-skills
0

Verwandte Skills

content-collections

Meta

Diese Skill bietet eine produktionsgetestete Einrichtung für Content Collections – ein TypeScript-first-Tool, das Markdown/MDX-Dateien in typsichere Datensammlungen mit Zod-Validierung umwandelt. Verwenden Sie ihn beim Erstellen von Blogs, Dokumentationsseiten oder inhaltsstarken Vite + React-Anwendungen, um Typsicherheit und automatische Inhaltsvalidierung zu gewährleisten. Er behandelt alles von der Vite-Plugin-Konfiguration und MDX-Kompilierung bis hin zur Deployment-Optimierung und Schema-Validierung.

Skill ansehen

polymarket

Meta

Diese Fähigkeit ermöglicht es Entwicklern, Anwendungen mit der Polymarket-Prognosemärkte-Plattform zu erstellen, einschließlich API-Integration für Handel und Marktdaten. Sie bietet außerdem Echtzeit-Datenstreaming über WebSocket, um Live-Trades und Marktaktivitäten zu überwachen. Nutzen Sie sie zur Implementierung von Handelsstrategien oder zur Erstellung von Tools, die Live-Marktaktualisierungen verarbeiten.

Skill ansehen

creating-opencode-plugins

Meta

Diese Fähigkeit unterstützt Entwickler dabei, OpenCode-Plugins zu erstellen, die in über 25 Ereignistypen wie Befehle, Dateien und LSP-Operationen eingreifen. Sie bietet die Plugin-Struktur, Event-API-Spezifikationen und Implementierungsmuster für JavaScript/TypeScript-Module. Nutzen Sie sie, wenn Sie den Lebenszyklus des OpenCode KI-Assistenten mit benutzerdefinierter ereignisgesteuerter Logik abfangen, überwachen oder erweitern müssen.

Skill ansehen

sglang

Meta

SGLang ist ein hochperformantes LLM-Serving-Framework, das sich auf schnelle, strukturierte Generierung für JSON, Regex und agentenbasierte Workflows unter Verwendung seines RadixAttention-Prefix-Cachings spezialisiert. Es bietet deutlich schnellere Inferenz, insbesondere für Aufgaben mit wiederholten Präfixen, was es ideal für komplexe, strukturierte Ausgaben und Mehrfachdialoge macht. Wählen Sie SGLang gegenüber Alternativen wie vLLM, wenn Sie constrained decoding benötigen oder Anwendungen mit umfangreicher Präfix-Weitergabe entwickeln.

Skill ansehen