Token导航 LogoToken导航

Agent Skill · 研究检索

create-command(创建命令)

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

create-command 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 42,343。

总安装 1,082周安装 46GitHub Stars 891下载 379核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/neolabhq/context-engineering-kit --skill create-command

这个 Skill 是做什么的

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

用于创建其他命令的脚手架, 理解目的并生成对应文件结构。决定命令类别与存放位置,适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。创建资源并更新文档。create-command 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

支持多种命令模式,包括规划、文档生成与交互式对话类型。

来源仓库内路径:skills/create-command

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

create-command 怎么安装?

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

create-command 支持哪些 AI 工具?

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

create-command 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/neolabhq/context-engineering-kit --skill create-command 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

create-command 是免费的吗?

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

create-command 用的人多吗?

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

create-command 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
create-command

创建命令 · 本页

1,082891执行命令未明确通过

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

SKILL.md 原文

Command Creator Assistant

This meta-command helps create other commands by:

  1. Understanding the command's purpose
  2. Determining its category and pattern
  3. Choosing command location (project vs user)
  4. Generating the command file
  5. Creating supporting resources
  6. Updating documentation

<command_categories>

  1. Planning Commands (Specialized)

- Feature ideation, proposals, PRDs - Complex workflows with distinct stages - Interactive, conversational style - Create documentation artifacts - Examples: @/.claude/commands/01_brainstorm-feature.md @/.claude/commands/02_feature-proposal.md

  1. Implementation Commands (Generic with Modes)

- Technical execution tasks - Mode-based variations (ui, core, mcp, etc.) - Follow established patterns - Update task states - Example: @/.claude/commands/implement.md

  1. Analysis Commands (Specialized)

- Review, audit, analyze - Generate reports or insights - Read-heavy operations - Provide recommendations - Example: @/.claude/commands/review.md

  1. Workflow Commands (Specialized)

- Orchestrate multiple steps - Coordinate between areas - Manage dependencies - Track progress - Example: @/.claude/commands/04_feature-planning.md

  1. Utility Commands (Generic or Specialized)

- Tools, helpers, maintenance - Simple operations - May or may not need modes </command_categories>

<command_frontmatter>

CRITICAL: Every Command Must Start with Frontmatter

All command files MUST begin with YAML frontmatter enclosed in --- delimiters:

---
description: Brief description of what the command does
argument-hint: Description of expected arguments (optional)
---

Frontmatter Fields

  1. description (REQUIRED):

- One-line summary of the command's purpose - Clear, concise, action-oriented - Example: "Guided feature development with codebase understanding and architecture focus"

  1. argument-hint (OPTIONAL):

- Describes what arguments the command accepts - Examples: - "Optional feature description" - "File path to analyze" - "Component name and location" - "None required - interactive mode"

Example Frontmatter by Command Type

# Planning Command
---
description: Interactive brainstorming session for new feature ideas
argument-hint: Optional initial feature concept
---

# Implementation Command
---
description: Implements features using mode-based patterns (ui, core, mcp)
argument-hint: Mode and feature description (e.g., 'ui: add dark mode toggle')
---

# Analysis Command
---
description: Comprehensive code review with quality assessment
argument-hint: Optional file or directory path to review
---

# Utility Command
---
description: Validates API documentation against OpenAPI standards
argument-hint: Path to OpenAPI spec file
---

Placement

  • Frontmatter MUST be the very first content in the file
  • No blank lines before the opening ---
  • One blank line after the closing --- before content begins </command_frontmatter>

<command_features>

Slash Command Features

Namespacing

Use subdirectories to group related commands. Subdirectories appear in the command description but don't affect the command name.

Example:

  • .claude/commands/frontend/component.md creates /component with description "(project:frontend)"
  • ~/.claude/commands/component.md creates /component with description "(user)"

Priority: If a project command and user command share the same name, the project command takes precedence.

Arguments

All Arguments with $ARGUMENTS

Captures all arguments passed to the command:

# Command definition
echo 'Fix issue #$ARGUMENTS following our coding standards' > .claude/commands/fix-issue.md

# Usage
> /fix-issue 123 high-priority
# $ARGUMENTS becomes: "123 high-priority"
Individual Arguments with $1, $2, etc.

Access specific arguments individually using positional parameters:

# Command definition
echo 'Review PR #$1 with priority $2 and assign to $3' > .claude/commands/review-pr.md

# Usage
> /review-pr 456 high alice
# $1 becomes "456", $2 becomes "high", $3 becomes "alice"

Bash Command Execution

Execute bash commands before the slash command runs using the ! prefix. The output is included in the command context.

Note: You must include allowed-tools with the Bash tool.

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---

## Context

- Current git status: !`git status`
- Current git diff: !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`

File References

Include file contents using the @ prefix to reference files:

Review the implementation in @src/utils/helpers.js
Compare @src/old-version.js with @src/new-version.js

Thinking Mode

Slash commands can trigger extended thinking by including extended thinking keywords.

Frontmatter Options

FrontmatterPurposeDefault
allowed-toolsList of tools the command can useInherits from conversation
argument-hintExpected arguments for auto-completionNone
descriptionBrief description of the commandFirst line from prompt
modelSpecific model stringInherits from conversation
disable-model-invocationPrevent Skill tool from calling this commandfalse

Example with all frontmatter options:

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
argument-hint: [message]
description: Create a git commit
model: claude-3-5-haiku-20241022
---

Create a git commit with message: $ARGUMENTS

</command_features>

<pattern_research>

Before Creating: Study Similar Commands

  1. List existing commands in target directory: # For project commands ls -la /.claude/commands/ # For user commands ls -la ~/.claude/commands/
  2. Read similar commands for patterns:

- Check the frontmatter (description and argument-hint) - How do they structure sections? - What MCP tools do they use? - How do they handle arguments? - What documentation do they reference?

  1. Common patterns to look for: # MCP tool usage for tasks Use tool: mcp__scopecraft-cmd__task_create Use tool: mcp__scopecraft-cmd__task_update Use tool: mcp__scopecraft-cmd__task_list # NOT CLI commands ❌ Run: scopecraft task list ✅ Use tool: mcp__scopecraft-cmd__task_list
  2. Standard references to include:

- @/docs/organizational-structure-guide.md - @/docs/command-resources/{relevant-templates} - @/docs/claude-commands-guide.md </pattern_research>

<interview_process>

Phase 1: Understanding Purpose

"Let's create a new command. First, let me check what similar commands exist..."

*Use Glob to find existing commands in the target category*

"Based on existing patterns, please describe:"

  1. What problem does this command solve?
  2. Who will use it and when?
  3. What's the expected output?
  4. Is it interactive or batch?

Phase 2: Category Classification

Based on responses and existing examples:

  • Is this like existing planning commands? (Check: brainstorm-feature, feature-proposal)
  • Is this like implementation commands? (Check: implement.md)
  • Does it need mode variations?
  • Should it follow analysis patterns? (Check: review.md)

Phase 3: Pattern Selection

Study similar commands first:

# Read a similar command
@{similar-command-path}

# Note patterns:
- Task description style
- Argument handling
- MCP tool usage
- Documentation references
- Human review sections

Phase 4: Command Location

🎯 Critical Decision: Where should this command live?

Project Command (/.claude/commands/)

  • Specific to this project's workflow
  • Uses project conventions
  • References project documentation
  • Integrates with project MCP tools

User Command (~/.claude/commands/)

  • General-purpose utility
  • Reusable across projects
  • Personal productivity tool
  • Not project-specific

Ask: "Should this be:

  1. A project command (specific to this codebase)
  2. A user command (available in all projects)?"

Phase 5: Resource Planning

Check existing resources:

# Check templates
ls -la /docs/command-resources/planning-templates/
ls -la /docs/command-resources/implement-modes/

# Check which guides exist
ls -la /docs/

</interview_process>

<generation_patterns>

Critical: Copy Patterns from Similar Commands

Before generating, read similar commands and note:

  1. Frontmatter (MUST BE FIRST): --- description: Clear one-line description of command purpose argument-hint: What arguments does it accept ---

- No blank lines before opening --- - One blank line after closing --- - description is REQUIRED - argument-hint is OPTIONAL

  1. MCP Tool Usage: # From existing commands Use mcp__scopecraft-cmd__task_create Use mcp__scopecraft-cmd__feature_get Use mcp__scopecraft-cmd__phase_list
  2. Standard References: <context> Key Reference: @/docs/organizational-structure-guide.md Template: @/docs/command-resources/planning-templates/{template}.md Guide: @/docs/claude-commands-guide.md </context>
  3. Task Update Patterns: <task_updates> After implementation: 1. Update task status to appropriate state 2. Add implementation log entries 3. Mark checklist items as complete 4. Document any decisions made </task_updates>
  4. Human Review Sections: <human_review_needed> Flag decisions needing verification: - [] Assumptions about workflows - [] Technical approach choices - [] Pattern-based suggestions </human_review_needed>

</generation_patterns>

<implementation_steps>

  1. Create Command File

- Determine location based on project/user choice - Generate content following established patterns - Include all required sections

  1. Create Supporting Files (if project command)

- Templates in /docs/command-resources/ - Mode guides if generic command - Example documentation

  1. Update Documentation (if project command)

- Add to claude-commands-guide.md - Update feature-development-workflow.md if workflow command - Add to README if user-facing

  1. Test the Command

- Create example usage scenarios - Verify argument handling - Check MCP tool integration </implementation_steps>

<creation_checklist> Before finalizing:

  • Includes YAML frontmatter with description (required) and argument-hint (optional)
  • Frontmatter is the very first content (no blank lines before opening ---)
  • Studied similar commands in the category
  • Command follows naming conventions (use numeric prefix for ordered workflows)
  • Includes proper task/context structure
  • References @organizational-structure-guide.md
  • Uses MCP tools (not CLI) - check existing patterns
  • Includes human review sections
  • Has clear examples like other commands
  • Updates task states appropriately
  • Creates proper documentation
  • Follows established patterns from similar commands
  • Correct command prefix (project: or user:) </creation_checklist>

<example_session> User: "I need a command to help validate our API documentation"

🔍 Research: Let me check existing analysis commands...

*Use Read tool to examine: /.claude/commands/review.md*

I notice the review command:

  • Uses MCP tools for task operations
  • Includes human review sections
  • References organizational structure
  • Has clear output formatting

🤔 Question: Can you tell me more about this API documentation validation?

  • What format is the documentation in?
  • What aspects need validation?
  • Should it create tasks for issues found?

User: "It's OpenAPI specs, need to check for completeness and consistency"

💡 Category: This is an Analysis command similar to 'review'.

🔍 Pattern Check: Looking at review.md, I see it:

<task>
You are a code reviewer conducting a comprehensive review...
</task>

<mcp_usage>
Always use MCP tools:
- mcp__scopecraft-cmd__task_list
- mcp__scopecraft-cmd__task_update
</mcp_usage>

🎯 Location Question: Should this be:

  1. A project command (specific to this API project)
  2. A user command (useful for all your API projects)

User: "Project command - it needs to reference our specific API standards"

✅ Creating project command: /.claude/commands/validate-api.md

Generated command (following review.md patterns):

---
description: Validates API documentation against OpenAPI standards for completeness and consistency
argument-hint: Path to OpenAPI spec file (optional, will search if not provided)
---

<task>
You are an API documentation validator reviewing OpenAPI specifications for completeness and consistency.
</task>

<context>
References:
- API Standards: @/docs/api-standards.md
- Organizational Structure: @/docs/organizational-structure-guide.md
Similar to: @/.claude/commands/review.md
</context>

<validation_process>
1. Load OpenAPI spec files
2. Check required endpoints documented
3. Validate response schemas
4. Verify authentication documented
5. Check for missing examples
</validation_process>

<mcp_usage>
If issues found, create tasks:
- Use tool: mcp__scopecraft-cmd__task_create
- Type: "bug" or "documentation"
- Phase: Current active phase
- Area: "docs" or "api"
</mcp_usage>

<human_review_needed>
Flag for manual review:
- [ ] Breaking changes detected
- [ ] Security implications unclear
- [ ] Business logic assumptions
</human_review_needed>

</example_session>

<final_output> After gathering all information:

  1. Command Created:

- Location: {chosen location} - Name: {command-name} - Category: {category} - Pattern: {specialized/generic}

  1. Resources Created:

- Supporting templates: {list} - Documentation updates: {list}

  1. Usage Instructions:

- Command: /{prefix}:{name} - Example: {example usage}

  1. Next Steps:

- Test the command - Refine based on usage - Add to command documentation </final_output>

平台分布

Codex

36.24%
按下载量换算137

Claude

29.46%
按下载量换算112

Cursor

17.9%
按下载量换算68

Gemini CLI

9.35%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/neolabhq/context-engineering-kit --skill create-command 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills