Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

agents-skillsAgent 技巧

Agent Skill

agents-skills 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,508

周安装

61

GitHub Stars

60

下载量

473
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agents-skills(Agent 技巧)
来源仓库:https://github.com/vasilyu1983/ai-agents-public
仓库路径:skills/agents-skills
安装命令:
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill agents-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill agents-skills

简介

agents-skills 提供创建和组织代理技能的元参考,定义标准组件和结构。

  • 明确 SKILL.md、scripts、references 等模块的作用和加载机制。
  • 适用于开发自定义技能时的架构设计和技术规范查阅。
  • 包含系统命令执行提示,需人工复核后方可在生产环境启用。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Agent Skills - Meta Reference

This skill provides the definitive reference for creating, organizing, and maintaining agent skills. Use this when building new skills or improving existing skill architecture.

Quick Reference

ComponentPurposeRequired
SKILL.mdMain reference file with frontmatterYes
scripts/Executable code (prefer running)Optional
references/Documentation (loaded on-demand)Recommended
assets/Output files (templates, icons)Optional
data/sources.jsonCurated external linksRecommended

Cross-Platform: Agent Skills are designed to be portable across runtimes (Claude Code, Codex CLI, Gemini CLI, VS Code Copilot).

Skill Structure

skills/
	└── skill-name/
	    ├── SKILL.md           # Main reference (required)
	    ├── scripts/           # Executable code (Python/Bash) - prefer running; read only to patch/review
	    │   └── validate.py
	    ├── references/        # Documentation loaded into context on-demand
	    │   ├── patterns.md
	    │   └── examples.md
    ├── assets/            # Files for OUTPUT (templates, icons, fonts)
    │   └── template.html
    └── data/
        └── sources.json   # External references

Directory purposes:

  • scripts/ - Executable code; prefer running scripts and consuming output (read only when you need to modify/review)
  • references/ - Documentation loaded into context when the agent needs it
  • assets/ - Files used in generated output (not loaded into context)

Notes:

  • Prefer executing scripts instead of pasting large code into context; read scripts only when you need to modify or review them.

SKILL.md Template

---
name: skill-name
description: One-line description of what this skill provides and when to use it (include trigger keywords here)
---

# Skill Name - Quick Reference

Brief overview of the skill's purpose and value.

## Quick Reference

| Task | Tool/Method | When to Use |
|------|-------------|-------------|
| Task 1 | Tool A | Context for usage |

## Scope (Optional)

Keep this brief; the primary trigger mechanism is the frontmatter `description`.

## Core Concepts

### Concept 1

Explanation with code example:

\`\`\`language
code example
\`\`\`

### Concept 2

Additional patterns...

## Navigation

**Resources**
- [references/skill-patterns.md](references/skill-patterns.md) - Common patterns
- [references/skill-validation.md](references/skill-validation.md) - Validation criteria

**Related Skills**
- [../agents-subagents/SKILL.md](../agents-subagents/SKILL.md) - Agent creation

Progressive Disclosure

Skills use progressive disclosure to optimize token usage:

LayerContentToken Cost
DiscoveryName + description only~50 tokens
ActivationFull SKILL.md body2K-5K tokens
Executionscripts/, references/, assets/On-demand

Pattern: SKILL.md provides overview -> Resources load only when needed

Limits: Keep SKILL.md under 500 lines (<5K tokens)

When to Split Content

Keep in SKILL.mdMove to references/
Decision treesFull API references
Quick commandsStep-by-step tutorials
Common patternsEdge case handling
1-2 code examplesComplete implementations

Frontmatter Specification

FieldTypeRequiredPurpose
namestringYesKebab-case, must match folder name
descriptionstringYesPrimary trigger — runtime reads this to decide invocation
argument-hintstringNoAutocomplete hint shown in / menu (e.g. [issue-number])
disable-model-invocationboolNotrue prevents auto-triggering; user must invoke with /
user-invocableboolNofalse hides from / menu; still loads as background context
allowed-toolsstringNoComma-separated tool allowlist (e.g. Read, Grep, Glob)
contextstringNoSet to fork to run skill body in a subagent
agentstringNoSubagent type when context: fork (e.g. Explore, Plan)
modelstringNoModel override (opus, sonnet, haiku)
hooksobjectNoLifecycle hooks scoped to this skill
licensestringNoLicense identifier
compatibilitystringNoPlatform/version notes (1-500 chars)
metadataobjectNoAuthor, version, mcp-server

See references/frontmatter-reference.md for full specification, examples, and string substitutions.

Name rules:

  • Use kebab-case: ai-llm, not AI_LLM_Engineering
  • Match folder name exactly
  • Be specific: software-backend not backend
  • No claude or anthropic in names (reserved words)
  • No XML angle brackets (< >) in any frontmatter value

Description rules (PRIMARY TRIGGER):

  • The runtime uses descriptions to decide which skills to auto-invoke
  • Format: [What it does]. Use when [trigger phrases].
  • Target ~150 chars when library has 50+ skills (budget: 2% of context window, ~16K chars shared across ALL skill descriptions)
  • Include key technologies/concepts as trigger keywords
  • Single-line YAML only — no multiline >-

String substitutions (usable in skill body):

  • $ARGUMENTS / $ARGUMENTS[N] / $N — user-provided arguments from /skill-name arg1 arg2
  • ${CLAUDE_SESSION_ID} — current session identifier
  • ${CLAUDE_SKILL_DIR} — absolute path to this skill's directory

Dynamic context injection: Use `!command ` in the skill body to inject command output at load time.

Skill Categories

CategoryPrefixExamples
AI/MLai-ai-llm, ai-ml-data-science
Softwaresoftware-software-backend, software-frontend
Operationsops-ops-devops-platform
Datadata-data-lake-platform, data-sql-optimization
Qualityqa-qa-debugging, qa-docs-coverage
Developer Toolsdev-dev-api-design, dev-git-commit-message, dev-workflow-planning
Productproduct-product-management, docs-ai-prd
Documentdocument-document-pdf, document-xlsx
Testingtesting-, qa-testing-qa-testing-playwright, qa-testing-strategy
Marketingmarketing-marketing-social-media, marketing-seo
Agents/Toolsagents-agents-subagents, agents-skills, agents-hooks

sources.json Schema

{
  "metadata": {
    "title": "Skill Name - Sources",
    "description": "Brief description",
    "last_updated": "YYYY-MM-DD",
    "skill": "skill-name"
  },
  "category_name": [
    {
      "name": "Resource Name",
      "url": "https://example.com/docs",
      "description": "What this covers",
      "add_as_web_search": true
    }
  ]
}

Categories should group logically:

  • official_documentation
  • tutorials
  • community_resources
  • tools_and_libraries

Quality Checklist

SKILL VALIDATION CHECKLIST

Frontmatter:
[ ] name matches folder name (kebab-case)
[ ] description is concise and actionable

Structure:
[ ] SKILL.md under 500 lines (split into references/ if needed)
[ ] references/ for detailed content
[ ] data/sources.json with curated links

Content:
[ ] Quick reference table at top
[ ] Frontmatter `description` includes trigger keywords
[ ] Code examples are copy-paste ready
[ ] Related skills linked at bottom

Quality:
[ ] >40% operational content (code, tables, checklists)
[ ] <50% prose paragraphs
[ ] All URLs are live (no 404s)
[ ] Sources updated within 6 months

Multi-Tech vs Single-Tech Skills

Single-Tech Skill

software-backend/
├── SKILL.md              # Node.js focus
└── references/
    └── nodejs-patterns.md

Multi-Tech Skill

software-backend/
├── SKILL.md              # Overview + decision tree
├── references/
│   ├── nodejs-patterns.md
│   ├── go-patterns.md
│   ├── rust-patterns.md
│   └── python-patterns.md
└── assets/
    ├── nodejs/
    ├── go/
    ├── rust/
    └── python/

Navigation

Resources

Related Skills

Fact-Checking

  • Use web search/web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.
  • Prefer primary sources; report source links and dates for volatile information.
  • If web access is unavailable, state the limitation and mark guidance as unverified.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.96%
按下载量换算161

Claude

31.47%
按下载量换算149

Cursor

18.28%
按下载量换算86

Gemini CLI

9.13%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills