Token导航 LogoToken导航

Agent Skill · 研究检索

slash-command-builder(斜杠命令生成器)

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

slash-command-builder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 50,488。

总安装 612周安装 25GitHub Stars 16下载 196核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mike-coulbourn/claude-vibes --skill slash-command-builder

这个 Skill 是做什么的

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

slash-command-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于根据关键词、任务场景或来源线索进行信息筛选和整理。可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。使用时需注意数据来源的准确性和适用性,避免依赖未经验证的外部信息。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/mike-coulbourn/claude-vibes --skill slash-comm…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

slash-command-builder 怎么安装?

在终端执行 npx skills add https://github.com/mike-coulbourn/claude-vibes --skill slash-command-builde…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

slash-command-builder 支持哪些 AI 工具?

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

slash-command-builder 需要什么权限?

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

slash-command-builder 是免费的吗?

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

slash-command-builder 用的人多吗?

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

slash-command-builder 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

斜杠命令生成器 · 本页

61216执行命令MIT有提醒

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

SKILL.md 原文

Slash Command Builder

Create effective custom slash commands for Claude Code with proper structure, dynamic features, and best practices.

Quick Reference

Command File Location:

  • Project (shared): .claude/commands/name.md
  • Personal (individual): ~/.claude/commands/name.md

Dynamic Features:

  • Arguments: $ARGUMENTS (all) or $1, $2, $3 (positional)
  • Bash execution: [execute: command] (requires allowed-tools: Bash(...))
  • File references: @path/to/file

Frontmatter: Optional YAML with description, allowed-tools, argument-hint, model

The Slash Command Creation Workflow

Phase 1: Requirements Gathering

Use AskUserQuestion to understand what they need:

  1. What should the command do?

- What task or prompt does it automate? - What's the expected outcome?

  1. Who will use it?

- Just you (personal command) - Your team (project command)

  1. Does it need dynamic inputs?

- Fixed prompt (no arguments) - User-provided values (arguments needed) - Context from system (bash execution) - File contents (file references)

  1. What tools should it access?

- Read-only analysis (Read, Grep, Glob) - Git operations (Bash(git:*)) - Full access (default, no restrictions)

Phase 2: Choose Scope

Personal Command (~/.claude/commands/):

  • Your individual shortcuts
  • Experimental commands
  • Personal workflow automation
  • Not shared with team

Project Command (.claude/commands/):

  • Team-shared commands
  • Standardized workflows
  • Committed to git
  • Available to all team members

Phase 3: Design the Structure

Basic command structure:

---
description: Brief description for /help
allowed-tools: Optional tool restrictions
argument-hint: Optional argument guidance
---

[Your prompt here]

Decision tree:

  1. Start with basic prompt
  2. Add arguments if needed ($ARGUMENTS or $1/$2)
  3. Add bash execution if context needed ([execute: command])
  4. Add file references if analyzing files (@path)
  5. Add frontmatter for description and restrictions

Phase 4: Implementation

Step 1: Create the file
# For project commands
touch .claude/commands/your-command.md

# For personal commands
touch ~/.claude/commands/your-command.md

The filename (without.md) becomes the command name.

Step 2: Write the command

Use templates from templates/ directory:

Step 3: Add frontmatter (recommended)
---
description: What this command does (appears in /help)
allowed-tools: Read, Grep, Glob  # Optional restrictions
argument-hint: [arg1] [arg2]     # Optional user guidance
---

Phase 5: Testing

  1. Verify command appears: /help Look for your command in the list.
  2. Test basic invocation: /your-command
  3. Test with arguments (if applicable): /your-command arg1 arg2
  4. Test bash execution (if applicable):

- Verify commands execute - Check output appears in prompt

  1. Test file references (if applicable):

- Verify files load correctly - Check paths resolve

  1. Team testing (for project commands):

- Have teammates try it - Gather feedback - Iterate based on usage

Phase 6: Iteration

Start simple, add complexity incrementally:

  1. First: Basic prompt without dynamic features
  2. Test: Verify it works
  3. Add: One feature (arguments OR bash OR files)
  4. Test: Verify new feature works
  5. Repeat: Add next feature if needed

Don't try to add all features at once. Build incrementally.

Common Command Patterns

Pattern 1: Code Analysis

---
description: Analyze code for [specific criteria]
allowed-tools: Read, Grep, Glob
argument-hint: [file-or-directory]
---

Analyze @$1 for:
1. [Criterion 1]
2. [Criterion 2]
3. [Criterion 3]

Provide specific findings with examples.

Pattern 2: Git Workflow

---
description: [Git operation] with context
allowed-tools: Bash(git:*)
---

## Current State

Branch: [execute: git branch --show-current]
Status: [execute: git status --short]

## Task

[What to do with this context]

Pattern 3: Code Generation

---
description: Generate [artifact] following patterns
allowed-tools: Read, Grep, Glob, Write
argument-hint: [what-to-generate]
---

## Existing Patterns

@[relevant examples]

## Task

Generate $ARGUMENTS following the patterns above.

Pattern 4: Deep Analysis

---
description: Deep analysis of [topic]
---

Think deeply about $ARGUMENTS considering:
1. [Aspect 1]
2. [Aspect 2]
3. [Aspect 3]

[Extended thinking triggered by keywords]

Real-World Examples

See examples/ for complete working examples:

Advanced Features

Arguments: $ARGUMENTS vs $1/$2

Use $ARGUMENTS when:

  • You want all input as a single block
  • Free-form text (messages, descriptions)
  • Don't need to reference parts separately

Use $1, $2, $3 when:

  • You need structured parameters
  • Different parts used in different places
  • Want to provide defaults for missing args

Example:

# $ARGUMENTS approach
Explain $ARGUMENTS in detail.

# Positional approach
Review PR #$1 with priority $2 assigned to $3.

Bash Execution

Execute commands BEFORE the prompt runs:

---
allowed-tools: Bash(git:*)
---

Current branch: [execute: git branch --show-current]
Recent commits: [execute: git log --oneline -5]

Requirements:

  1. Must include allowed-tools: Bash(...)
  2. Use [execute: command] syntax (backticks required)
  3. Output is captured and included in prompt

Security: Limit bash access with specific tool patterns:

allowed-tools: Bash(git:*)          # Git only
allowed-tools: Bash(npm:*), Bash(git:*)  # npm and git

File References

Include file contents with @ prefix:

Review @src/auth/login.js for security issues.

Features:

  • Automatic CLAUDE.md inclusion from file's directory hierarchy
  • Works with relative or absolute paths
  • Directories show listing (not contents)

Frontmatter Configuration

Complete frontmatter options:

---
description: Brief description (required for /help and SlashCommand tool)
allowed-tools: Read, Grep, Glob, Bash(git:*)  # Optional restrictions
argument-hint: [file] [priority]              # Optional guidance
model: claude-3-5-haiku-20241022              # Optional model override
disable-model-invocation: false               # Optional, prevent auto-calling
---

Best Practices

  1. Always include description

- Helps team understand command purpose - Required for SlashCommand tool - Appears in /help

  1. Use argument-hint for clarity

- Shows expected inputs - Self-documenting commands - Reduces user confusion

  1. Limit allowed-tools when appropriate

- Read-only commands: Read, Grep, Glob - Git-only: Bash(git:*) - Enhances security and safety

  1. Structure complex commands

- Use sections (Context, Task, Constraints) - Makes prompts easier to understand - Follows clear flow

  1. Reference project conventions

- Include @CLAUDE.md for standards - Reference example files - Ensures consistency

  1. Test incrementally

- Start simple, add features one at a time - Test each addition before next - Don't debug multiple features simultaneously

  1. Organize with subdirectories

- Group related commands - Cleaner file structure - Easier to maintain

  1. Commit project commands

- Share with team via git - Version control for commands - Team benefits from your work

Common Issues and Solutions

Issue: Command doesn't appear in /help

Causes:

  • File not in correct location
  • Missing.md extension
  • Filename has invalid characters

Solutions:

  • Check file is in .claude/commands/ or ~/.claude/commands/
  • Verify .md extension
  • Use lowercase-with-hyphens for filename

Issue: Arguments not replacing

Causes:

  • Typo in placeholder ($ARGUMENT instead of $ARGUMENTS)
  • Not passing arguments when invoking
  • Wrong syntax

Solutions:

  • Double-check spelling: $ARGUMENTS, $1, $2
  • Test with: /command arg1 arg2
  • Verify placeholder exists in template

Issue: Bash commands not executing

Causes:

  • Missing allowed-tools: Bash(...) in frontmatter
  • Wrong syntax (missing backticks)
  • Command fails when run

Solutions:

  • Add frontmatter: allowed-tools: Bash(command:*)
  • Use correct syntax: [execute: command]
  • Test command in terminal first

Issue: File references not working

Causes:

  • Missing @ prefix
  • File doesn't exist
  • Wrong path

Solutions:

  • Use @path/to/file syntax
  • Verify file exists: ls path/to/file
  • Try absolute path if relative fails

Slash Commands vs Skills

When to use each:

Use Slash CommandsUse Skills
Manual invocation (you decide when)Automatic discovery (Claude decides when)
Simple prompt templatesComplex multi-file workflows
Quick, focused operationsBroad capabilities
Single.md fileDirectory with multiple files

Example:

  • Slash command: /commit - You invoke when ready to commit
  • Skill: skill-builder - Claude discovers when you mention Skills

Both complement each other in your workflow.

Complete Syntax Reference

For detailed syntax documentation, see reference/syntax-guide.md.

For best practices and patterns, see reference/best-practices.md.

For troubleshooting help, see reference/troubleshooting.md.

Tips for Effective Commands

  1. Start with the simplest version that works
  2. Add complexity only when needed (YAGNI principle)
  3. Test with real scenarios before sharing
  4. Include clear descriptions in frontmatter
  5. Use tool restrictions for safety
  6. Reference project conventions with file refs
  7. Gather context with bash execution
  8. Structure prompts with clear sections
  9. Provide examples in argument-hint
  10. Iterate based on usage - improve over time

Next Steps

After creating a command:

  1. Test thoroughly with various inputs
  2. Share with team (if project command)
  3. Document in CLAUDE.md if it's a pattern others should know
  4. Create related commands for connected workflows
  5. Refine based on feedback - commands improve with use

Remember: Slash commands are user-invoked prompt templates. Start simple, test frequently, and add features incrementally. The best commands are clear, focused, and solve real workflow problems.

平台分布

Claude Code

29.74%
按下载量换算58

OpenCode

25.78%
按下载量换算51

Gemini CLI

17.59%
按下载量换算34

Antigravity

13.92%
按下载量换算27

Codex

8.36%
按下载量换算16

windsurf

3.12%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills