Token导航 LogoToken导航

Agent Skill · 研究检索

agent-skills(Agent 技巧)

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

agent-skills 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 46,597。

总安装 774周安装 31GitHub Stars 5下载 250核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/third774/dotfiles --skill agent-skills

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于创建、修改和审查符合规范的 Agent 技能。适合从零开始构建或改进现有技能时使用。agent-skills 属于研究检索类 Skill,可作为该场景下的辅助能力补充。通过 GitHub 安装,遵循 RFC 2119 关键词定义要求级别。涵盖技能内容组织、渐进披露和最佳实践指导。

支持技能质量评估和结构重组以提升可用性。

来源仓库内路径:skills/agent-skills

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/third774/dotfiles --skill agent-skills;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

agent-skills 怎么安装?

在终端执行 npx skills add https://github.com/third774/dotfiles --skill agent-skills。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-skills 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-skills 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

agent-skills 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-skills 用的人多吗?

公开数据是累计安装 774 次,近一周安装 31 次,下载 250 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-skills 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-skills

Agent 技巧 · 本页

7745只读MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Skills

Agent Skills are folders of instructions, scripts, and resources that agents discover and load on demand. This skill covers creating, modifying, and reviewing skills to ensure they follow the specification and best practices.

When to Use This Skill

  • Creating a new skill from scratch
  • Modifying or improving an existing skill
  • Reviewing skill quality before sharing
  • Reorganizing skill content for better progressive disclosure

RFC 2119 Keywords

This skill and skills created with it use RFC 2119 keywords to indicate requirement levels.

KeywordMeaning
MUST, REQUIRED, SHALLAbsolute requirement. No exceptions.
MUST NOT, SHALL NOTAbsolute prohibition. No exceptions.
SHOULD, RECOMMENDEDStrong recommendation. Valid reasons to deviate may exist, but understand implications first.
SHOULD NOT, NOT RECOMMENDEDStrong discouragement. Valid reasons to do it may exist, but understand implications first.
MAY, OPTIONALTruly optional. Implement if useful for your context.

Reference: RFC 2119

Specification Quick Reference

Required Frontmatter

Every SKILL.md MUST start with YAML frontmatter containing name and description:

---
name: skill-name
description: What this skill does and when to use it.
---

Name Field Rules

The name field:

  • MUST be 1-64 characters
  • MUST use only lowercase alphanumeric characters and hyphens (a-z, 0-9, -)
  • MUST NOT start or end with a hyphen
  • MUST NOT contain consecutive hyphens (--)
  • MUST match the parent directory name exactly

Valid: pdf-processing, code-review, data-analysis Invalid: PDF-Processing, -pdf, pdf--processing, my_skill

Description Field Rules

The description field:

  • MUST be 1-1024 characters
  • SHOULD be written in third person (not "I can help you" or "You can use this")
  • MUST include a "Use when..." clause specifying trigger conditions
  • SHOULD contain specific keywords that help agents identify relevant tasks

Good:

description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

Bad:

description: Helps with PDFs.

Optional Frontmatter Fields

These fields are all OPTIONAL (MAY include):

FieldPurpose
licenseLicense name or reference to bundled LICENSE file
compatibilityEnvironment requirements (max 500 chars)
metadataArbitrary key-value pairs for custom properties
allowed-toolsSpace-delimited list of pre-approved tools (experimental)

Directory Structure

A skill is a directory that MUST contain a SKILL.md file:

skill-name/
├── SKILL.md          # REQUIRED - main instructions
├── scripts/          # MAY include - executable code
├── references/       # MAY include - additional documentation
└── assets/           # MAY include - static resources (templates, images, data)

When to Add References

You SHOULD add separate reference files when:

  • SKILL.md exceeds ~300 lines
  • Content applies to specific contexts (language-specific patterns, domain-specific schemas)
  • Details are needed only for certain tasks (advanced features, edge cases)

References MUST be one level deep from SKILL.md. Nested reference chains (SKILL.md → ref1.md → ref2.md) are NOT RECOMMENDED.

Best Practices

The following are RECOMMENDED practices. They represent strong guidance with valid reasons to deviate in specific contexts.

Conciseness is Key

The context window is shared with conversation history, system prompts, and other skills. Challenge every piece of information:

  • Does the agent really need this explanation?
  • Can the agent be assumed to know this?
  • Does this paragraph justify its token cost?

Target: You SHOULD keep SKILL.md body under 500 lines. Move detailed reference material to separate files.

Progressive Disclosure

Skills SHOULD be structured for efficient context usage:

  1. Metadata (~100 tokens): name and description loaded at startup for all skills
  2. Instructions (<5000 tokens): Full SKILL.md loaded when skill activates
  3. Resources (as needed): Reference files loaded only when required

SKILL.md SHOULD serve as an overview that points to detailed materials. Like a table of contents.

Degrees of Freedom

Match specificity to task fragility:

Freedom LevelWhen to UseExample
High (text instructions)Multiple valid approaches, context-dependentCode review guidelines
Medium (templates/pseudocode)Preferred pattern exists, some variation OKReport generation template
Low (exact scripts)Fragile operations, consistency criticalDatabase migrations

Workflow Checklists

For multi-step processes, you SHOULD provide a checklist the agent can copy and track:

Task Progress:
- [ ] Step 1: Analyze requirements
- [ ] Step 2: Create plan
- [ ] Step 3: Implement
- [ ] Step 4: Validate

Feedback Loops

Quality-critical tasks SHOULD include validation steps:

  1. Perform action
  2. Run validation
  3. If validation fails → fix and retry
  4. Only proceed when validation passes

Authoring Workflow

Copy this checklist when creating or modifying a skill:

Skill Authoring Progress:
- [ ] Step 1: Define purpose (what problem does this solve?)
- [ ] Step 2: Identify triggers (when should agent use this?)
- [ ] Step 3: Write frontmatter (name matches directory, description is specific)
- [ ] Step 4: Draft body (core instructions, workflows, examples)
- [ ] Step 5: Extract references (move detailed/contextual content)
- [ ] Step 6: Review against checklist (see references/best-practices-checklist.md)
- [ ] Step 7: Test with real tasks

Writing Effective Descriptions

The description enables skill discovery. It SHOULD include:

  1. What it does: Core capabilities in active voice
  2. When to use it: Specific triggers and keywords
  3. Third person: "Extracts text from PDFs" not "I extract text from PDFs"

Required "Use when..." Clause

Every description MUST include a "Use when..." sentence. This phrase signals trigger conditions to agents scanning skill metadata.

Pattern: [What it does]. Use when [trigger conditions].

Example:

description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

Using RFC 2119 in Skills

Skills created with this skill SHOULD use RFC 2119 keywords to indicate requirement levels.

Choosing the right keyword:

Use ThisWhen
MUST / MUST NOTHard constraint. A validator could check this. Breaking it causes failure.
SHOULD / SHOULD NOTStrong recommendation. Valid exceptions exist, but they're rare.
MAYTruly optional. No preference either way.

Example transformations:

# Before (ambiguous)
Keep SKILL.md under 500 lines.
The name field must match the directory.
Consider adding a checklist for multi-step tasks.

# After (precise)
SKILL.md SHOULD be under 500 lines.
The name field MUST match the directory.
Multi-step tasks MAY include a checklist for tracking.

Guideline: If you're unsure between MUST and SHOULD, ask: "Would breaking this rule cause the skill to malfunction, or just be suboptimal?" Malfunction → MUST. Suboptimal → SHOULD.

Common Anti-Patterns

Vague Descriptions

Descriptions SHOULD NOT be vague or generic:

# Bad - agent can't determine when to use this
description: Helps with documents.

# Good - specific capabilities and triggers
description: Extract text and tables from PDF files, fill PDF forms, merge multiple PDFs. Use when working with PDF files or document extraction.

Over-Explaining Common Knowledge

Skills SHOULD NOT explain concepts agents already know:

# Bad - agent knows what PDFs are
PDF (Portable Document Format) files are a common file format that contains
text, images, and other content. To extract text from a PDF...

# Good - get to the actionable content
Use pdfplumber for text extraction:

import pdfplumber with pdfplumber.open("file.pdf") as pdf: text = pdf.pages[0].extract_text()


### Deeply Nested References

Reference chains MUST NOT exceed one level:

Bad - agent may partially read nested files

SKILL.md → references/advanced.md → references/details.md

Good - one level deep

SKILL.md → references/advanced.md SKILL.md → references/details.md


### Time-Sensitive Information

Skills SHOULD NOT include time-sensitive information:

Bad - becomes outdated

If you're doing this before August 2025, use the old API.

Good - use "old patterns" section

Current method

Use the v2 API endpoint.

Old patterns (deprecated)

<details> <summary>Legacy v1 API</summary> The v1 API used: api.example.com/v1/messages </details>


### Too Many Options Without Defaults

Skills SHOULD NOT present options without clear defaults:

Bad - decision paralysis

You can use pypdf, or pdfplumber, or PyMuPDF, or pdf2image...

Good - clear default with escape hatch

Use pdfplumber for text extraction. For scanned PDFs requiring OCR, use pdf2image with pytesseract instead.


### Inconsistent Terminology

Skills SHOULD NOT mix synonyms. Pick one term and use it throughout:

- Always "API endpoint" (not mixing with "URL", "route", "path")
- Always "field" (not mixing with "box", "element", "control")

## Quality Review

Before finalizing a skill, review against the full checklist in `references/best-practices-checklist.md`.

For example patterns and structures, see `references/examples.md`.

If your description doesn't answer both, revise it.

平台分布

OpenCode

28.95%
按下载量换算72

Claude Code

23.41%
按下载量换算59

windsurf

17.03%
按下载量换算43

Codex

12.09%
按下载量换算30

Antigravity

8.17%
按下载量换算20

Gemini CLI

3.22%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills