Token导航 LogoToken导航

Agent Skill · 研究检索

generate-skill(生成技能)

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

generate-skill 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 45,111。

总安装 870周安装 37GitHub Stars 2下载 305核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/antjanus/skillbox --skill generate-skill

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息,支持快速定位候选结果。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景使用。通过 GitHub 安装,使用 npx skills add 命令添加技能。需确认权限范围和维护状态,注意是否触发联网或命令执行。

generate-skill 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/generate-skill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

generate-skill 怎么安装?

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

generate-skill 支持哪些 AI 工具?

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

generate-skill 需要什么权限?

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

generate-skill 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

generate-skill 用的人多吗?

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

generate-skill 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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调用外部服务未明确有提醒
generate-skill

生成技能 · 本页

8702操作浏览器未明确通过

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

SKILL.md 原文

Generate Skill - Interactive Skill Builder

Overview

This skill guides users through creating high-quality Claude Code skills using proven patterns from top community skills (obra/superpowers, Anthropic, Vercel). It asks targeted questions to understand requirements, then generates a complete SKILL.md file with appropriate structure, documentation, and best practices.

Core principle: Generate skills that activate reliably, enforce processes effectively, and consume context efficiently.

When to Use

Always use when user asks to:

  • "Create a skill for [topic]"
  • "Generate a SKILL.md for [workflow]"
  • "Build me a skill that does [task]"
  • "Help me make a custom skill"
  • "Turn these instructions into a skill"

Useful for:

  • Capturing team workflows as reusable skills
  • Documenting methodology enforcement (TDD, debugging, code review)
  • Creating automation skills (deployment, testing, setup)
  • Building domain-specific guidance (architecture, security, performance)

Avoid when:

  • User just wants general help (not skill creation)
  • Requirement is too vague to create useful skill
  • Task is better solved with existing skills

The Skill Generation Process

Phase 1: Discovery - Understanding Requirements

You MUST gather this information through AskUserQuestion:

  1. Skill purpose and triggers

- What should this skill help with? - When should Claude activate it? - What user phrases should trigger it?

  1. Skill type identification

- Methodology enforcement? (TDD, debugging process, code review) - Technical implementation? (project setup, build automation, deployment) - Rule-based auditing? (code quality, performance, accessibility) - Automation/integration? (browser testing, API calls, CI/CD) - Reference/knowledge? (library patterns, architecture, best practices)

  1. Content requirements

- Existing documentation to incorporate? - Specific rules or checklists? - Code examples needed? - Scripts or automation required?

  1. Enforcement level

- Strict methodology with "Iron Laws"? - Flexible guidance with recommendations? - Checklist-based verification?

Ask these questions interactively:

Use AskUserQuestion tool with these questions:

Question 1: "What task or workflow should this skill help with?"
- Header: "Purpose"
- Options:
  1. Enforce a development methodology (TDD, debugging, code review)
  2. Automate technical tasks (setup, deployment, testing)
  3. Audit code against rules (performance, accessibility, security)
  4. Provide reference knowledge (patterns, architecture, APIs)
  5. Integrate external tools (browsers, services, CI/CD)

Question 2: "What should trigger this skill?"
- Header: "Triggers"
- Options:
  1. Specific user phrases (list them)
  2. File types or patterns (e.g., *.tsx files)
  3. Project characteristics (e.g., Next.js projects)
  4. Development phases (e.g., before implementing features)

Question 3: "How strict should enforcement be?"
- Header: "Enforcement"
- Options:
  1. Strict - Iron Laws with mandatory phases
  2. Guided - Clear recommendations with Red Flags
  3. Flexible - Best practices and suggestions
  4. Reference only - Information when needed

Verification before proceeding:

  • Skill purpose clearly defined
  • Activation triggers identified
  • Skill type determined
  • Enforcement level chosen
  • User provided any existing documentation or rules

Phase 2: Pattern Selection

Based on skill type, select the appropriate pattern:

PatternUse WhenKey Sections
A: MethodologyTDD, debugging, code review, quality gatesPhases, Iron Laws, Red Flags, Verification Checklist
B: TechnicalProject setup, build automation, deploymentQuick Start, Configuration, Troubleshooting
C: AuditingCode quality, performance, accessibilityRule Categories, Output Format, Quick Reference
D: AutomationBrowser testing, API integration, CI/CDAuto-Detection, Configuration, Helper Functions
E: ReferenceLibrary patterns, architecture, best practicesCore Concepts, Patterns Library, Common Mistakes

For full pattern templates with complete structure skeletons, see Pattern Templates.

Verification before proceeding:

  • Pattern matches skill type
  • Pattern supports enforcement level
  • Pattern includes necessary sections

Phase 3: Content Generation

Generate SKILL.md with these 10 required components:

1. Frontmatter (CRITICAL)
---
name: skill-name-kebab-case
description: |
  Use when [trigger phrase 1], when asked to "[user phrase]",
  or when [situation]. Include multiple trigger variations for
  better activation. Be specific about WHEN to activate.
license: MIT
argument-hint: "<optional-args>"
metadata:
  author: [author-name]
  version: "1.0.0"
---

Required fields:

  • name - kebab-case skill identifier (used in /skill-name)
  • description - Trigger-rich activation text (see best practices below)

Optional fields:

  • license - License type (default: MIT)
  • metadata.author - Creator name
  • metadata.version - Semantic version (e.g., "1.0.0")
  • argument-hint - Top-level hint shown for skill arguments (e.g., <branch-name>)

Description field best practices:

  • Include 3-5 specific trigger phrases
  • Use "when" clauses for situations
  • Include user language ("when asked to 'do X'")
  • Be concrete, not vague
  • Avoid: "A skill for..." (too vague) or single generic descriptions

Hooks field (advanced): Use hooks to automate actions at specific points:

  • post_tool_use - Runs after Write, Edit, or other tools
  • stop - Runs before session ends (verification, cleanup)
2. Overview Section

Include 1-2 sentence description plus a Core principle one-liner.

3. When to Use Section

Include three subsections: "Always use when" (specific triggers), "Useful for" (broader use cases), and "Avoid when" (anti-cases with alternatives).

4. Main Content (Pattern-Specific)

Insert the selected pattern structure. See Pattern Templates for full skeletons.

5. Quick Reference (if applicable)

Add a summary table or command cheat sheet for fast lookup.

6. Red Flags (for methodology skills)

List 3-5 warning signs that indicate the user is going off-track. End with: "ALL of these mean: STOP. Return to Phase 1."

7. Examples Section

Include at least 2 Good/Bad code comparisons using <Good> and <Bad> tags. Show real-world scenarios with clear explanations.

8. Troubleshooting Section

Include 3-5 common problems with structured Problem / Cause / Solution format.

9. Integration Section

Document what the skill enables, what it pairs with, and what calls it.

10. References Section

Include source links: inspiration, official docs, and community resources.

Verification checklist:

  • All 10 components included
  • Trigger-rich description field
  • Clear examples with Good/Bad comparisons
  • Phase-based workflow (if methodology)
  • Troubleshooting section complete
  • Integration points documented

Phase 4: Finalization and Output

Before presenting skill to user:

  1. Run quality checklist:

- Description field has 3+ trigger phrases - Overview explains core principle clearly - Examples include Good/Bad comparisons - Troubleshooting section addresses common issues - Appropriate pattern for skill type - Under 500 lines or uses progressive disclosure - Integration points documented - References included

  1. Validate against anti-patterns:

- Vague description ("provides testing") - No examples - Missing troubleshooting - No clear triggers - Monolithic structure (>1000 lines without reference/) - No verification checklists (for methodology skills)

  1. Generate folder structure suggestion:
skill-name/
├── SKILL.md              # Core skill (generated)
├── reference/            # Optional: extended docs
│   ├── STANDARDS.md
│   └── EXAMPLES.md
├── scripts/              # Optional: automation
│   ├── setup.sh
│   └── execute.sh
└── lib/                  # Optional: helpers
    └── helpers.js
  1. Present complete output:

- Write full SKILL.md content - Include folder structure - Include installation instructions - Include usage examples

Final verification:

  • Complete SKILL.md generated
  • Quality checklist passed
  • Installation instructions provided
  • Usage examples included
  • No anti-patterns present

Deep Reference

For detailed guides, load these files when needed:

*Only load these when specifically needed to save context.*

Quality Signals

A well-generated skill has these properties:

  • Description field has 5+ trigger phrases covering natural user language variations
  • Discovery questions answered before any content was generated
  • Pattern matches skill type — methodology skills have phases and checklists, not just prose
  • Good/Bad examples use real scenarios — not abstract placeholder code
  • Troubleshooting addresses actual pain points — problems users encounter, not hypothetical edge cases
  • Under 500 lines or uses progressive disclosure with reference/ links
  • Verification checklists present in methodology skills — enforcement requires measurable checkpoints

Examples of Generated Skills

Example 1: Methodology Skill

User: "Create a skill for enforcing commit message conventions"

  • Pattern A (Methodology Enforcement)
  • Iron Law: "No commit without following format"
  • Phases: Validate, Format, Verify
  • Red Flags, Verification Checklist, Good/Bad commit message examples

Example 2: Automation Skill

User: "Make a skill that runs database migrations safely"

  • Pattern D (Automation/Integration)
  • Auto-detect: Database type, migration tool
  • Workflow: Backup, Dry run, Execute, Verify
  • Scripts: setup.sh, migrate.sh, rollback.sh

Example 3: Auditing Skill

User: "Build a skill to check Python code for security issues"

  • Pattern C (Rule-Based Auditing)
  • Rule categories: CRITICAL, HIGH, MEDIUM, LOW
  • Output format: file.py:123 CRITICAL: SQL injection risk
  • Quick reference table, vulnerable-to-secure examples

Troubleshooting Skill Generation

Problem: User request is too vague

Example: "Make me a skill for React"

Solution: Use AskUserQuestion to clarify: What aspect of React? What should it enforce or guide? When should it activate? What's the primary goal?

Problem: Skill type unclear

Example: "Create a skill for deployment"

Solution: Determine if it's Automation (Pattern D) for scripted deployment, Methodology (Pattern A) for process enforcement, or Reference (Pattern E) for best practices. Ask: "Should this automate deployment or guide the process?"

Problem: Generated skill too long

Cause: Too much content in SKILL.md

Solution: Keep SKILL.md under 500 lines. Move extensive content to reference/. Use progressive disclosure pattern. Link to reference files with clear descriptions.

Problem: Description doesn't trigger activation

Cause: Description too generic

Solution: Include specific phrases users actually say. Bad: "A skill for testing". Good: "Use when writing tests, implementing TDD, creating test suites, or when asked to 'test my code' or 'add test coverage'"

Problem: No clear examples

Cause: Skill too abstract

Solution: Always include at least 2 Good/Bad code comparisons, real-world scenarios, before/after examples, and common use cases.

Meta: This Skill's Structure

This skill itself follows Pattern B (Technical Implementation):

  • Phase 1: Discovery (questions to user)
  • Phase 2: Pattern Selection (match type to structure)
  • Phase 3: Content Generation (create SKILL.md)
  • Phase 4: Finalization (quality check and output)
  • Advanced topics: Available in Advanced Topics

References

Official Resources:

Integration

This skill enables:

  • Custom skill creation for any workflow
  • Capturing team processes as skills
  • Extending Claude Code capabilities
  • Documenting methodologies

Pairs with:

  • Existing skills as examples
  • Git workflows for versioning skills
  • Team documentation processes

Use this skill to create:

  • Methodology enforcement skills
  • Technical automation skills
  • Audit and validation skills
  • Domain knowledge skills
  • Tool integration skills

平台分布

Codex

36.5%
按下载量换算111

Claude

27.72%
按下载量换算85

Cursor

18.32%
按下载量换算56

Gemini CLI

10.07%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills