Token导航 LogoToken导航

Agent Skill · 研究检索

claude-command-authoring(Claude command authoring 搜索)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

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

总安装 533周安装 22GitHub Stars 公开资料未说明下载 174核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add outfitter-dev/agents --skill "claude-command-authoring"

这个 Skill 是做什么的

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

辅助安全审计与权限检查,识别凭据风险与漏洞。适合在 CI/CD 流程中嵌入安全检查步骤。安装命令:npx skills add outfitter-dev/agents --skill "claude-command-authoring"。不能将工具输出视为最终结论,需人工复核。

原始 README 未提供常见误报处理建议。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add outfitter-dev/agents --skill "claude-command-authoring";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

claude-command-authoring 怎么安装?

在终端执行 npx skills add outfitter-dev/agents --skill "claude-command-authoring"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

claude-command-authoring 支持哪些 AI 工具?

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

claude-command-authoring 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add outfitter-dev/agents --skill "claude-command-authoring" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

claude-command-authoring 是免费的吗?

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

claude-command-authoring 用的人多吗?

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

claude-command-authoring 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 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调用外部服务未明确有提醒
claude-command-authoring

Claude command authoring 搜索 · 本页

533—执行命令MIT未收录

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

SKILL.md 原文

Claude Command Authoring

Create custom slash commands that extend Claude Code with reusable prompts and workflows.

Commands vs Skills

Critical distinction:

AspectCommands (This Skill)Skills
PurposeReusable prompts invoked by usersCapability packages auto-triggered
InvocationExplicit: /command-name argsAutomatic (model-triggered by context)
Locationcommands/ directoryskills/ directory with SKILL.md
StructureSingle .md fileDirectory with resources
Arguments$1, $2, $ARGUMENTSNo argument system

Commands are user-initiated. Skills are model-initiated.


Quick Start

Basic Command

Create .claude/commands/review.md:

---
description: Review code for best practices and issues
---

Review the following code for:
- Code quality and readability
- Potential bugs or edge cases
- Performance considerations
- Security concerns

Use with: /review

Command with Arguments

Create .claude/commands/fix-issue.md:

---
description: Fix a specific GitHub issue
argument-hint: <issue-number>
---

Fix issue #$1 following our coding standards.
Review the issue, implement a fix, add tests, and create a commit.

Use with: /fix-issue 123

Command with Context

Create .claude/commands/commit.md:

---
description: Create git commit from staged changes
allowed-tools: Bash(git *)
---

## Context

Current branch: !`git branch --show-current`
Staged changes: !`git diff --staged`
Recent commits: !`git log --oneline -5`

## Task

Create a commit with a clear message based on the staged changes.

Use with: /commit


Workflow Overview

  1. Discovery - Define purpose, scope, and target users
  2. Design - Choose features and configuration
  3. Implementation - Write frontmatter and content
  4. Validation - Verify against quality standards

Phase 1: Discovery

Before writing code, clarify:

  • Purpose: What task does this command automate?
  • Scope: Project-specific or personal workflow?
  • Arguments: What inputs does it need?
  • Tools: What operations will it perform?

Key questions:

  • Will this be shared with the team (project) or personal use?
  • Does it require bash execution or file references?
  • Should tool access be restricted for safety?

Phase 2: Design

Command Scopes

ScopeLocationVisibilityUse Case
Project.claude/commands/Team via gitShared workflows
Personal~/.claude/commands/You onlyIndividual preferences
Plugin<plugin>/commands/Plugin usersDistributed via marketplace

Project commands show "(project)" in /help. Personal show "(user)".

Core Features

FeatureSyntaxPurpose
Arguments$1, $2, $ARGUMENTSDynamic input from user
Bash execution!backtickcommandbacktickInclude shell output in context
File references@path/to/fileInclude file contents
Tool restrictionsallowed-tools:Limit Claude's capabilities

Frontmatter Schema

---
description: Brief description for /help      # Required for discovery
argument-hint: <required> [optional]          # Shown in autocomplete
allowed-tools: Read, Grep, Bash(git *)        # Restrict tool access
model: claude-3-5-haiku-20241022             # Override model
disable-model-invocation: true                # Prevent SlashCommand tool
---

See frontmatter.md for complete schema.


Phase 3: Implementation

File Structure

---
description: Deploy to environment with validation
argument-hint: <environment> [--skip-tests]
allowed-tools: Bash(*), Read
---

# Deployment

Target: $1
Options: $2

## Pre-flight Checks

Environment: !`echo "$1" | grep -E "^(staging|production)$" || echo "Invalid"`
Tests: !`[[ "$2" == *"--skip-tests"* ]] && echo "Skipped" || bun test`

## Task

Based on validation above, proceed with deployment or explain issues.

Argument Patterns

Positional arguments ($1, $2, $3):

Compare file $1 with file $2 and summarize differences.

Usage: /compare old.ts new.ts

All arguments ($ARGUMENTS):

Fix the following issues: $ARGUMENTS

Usage: /fix memory leak in auth slow query in search

Combined with file references:

Analyze this file: @$1

Usage: /analyze src/main.ts

See arguments.md for advanced patterns.

Bash Execution

Execute commands and include output:

## Git Context
Branch: !`git branch --show-current`
Status: !`git status --short`
Diff: !`git diff --stat`

Based on the above, suggest next steps.

Important: Output is truncated at 15,000 characters by default. Use SLASH_COMMAND_TOOL_CHAR_BUDGET to adjust.

See bash-execution.md for patterns.

File References

Include file contents directly:

Review this configuration:
- Package: @package.json
- TypeScript: @tsconfig.json
- User input: @$1

See file-references.md for details.

Tool Permissions

Restrict what Claude can do:

# Read-only analysis
allowed-tools: Read, Grep, Glob

# Git operations only
allowed-tools: Bash(git *), Read

# Full bash with restrictions
allowed-tools: Bash(bun *), Bash(npm *), Read, Write, Edit

See permissions.md for patterns.


Phase 4: Validation

After creating a command, validate against these checklists.

Frontmatter Checks

  • Opens with --- on line 1, closes with ---
  • description present and action-oriented
  • argument-hint uses <required> and [optional] syntax
  • allowed-tools uses correct names (case-sensitive)
  • Uses spaces (not tabs) for indentation

Naming Conventions

  • Kebab-case filename: my-command.md
  • No spaces or special characters
  • Action-oriented: verb-noun pattern preferred
  • Concise: 1-3 words

Good: review-pr.md, deploy-staging.md, fix-issue.md Bad: my command.md, DoStuff.md, helper.md

Description Quality

  • Action-oriented (starts with verb)
  • Specific about what it does
  • Under 80 characters
  • Helpful for /help discovery

Good: "Deploy to staging with health checks and Slack notification" Bad: "Deploy stuff" or "Helps with deployment"

Content Quality

  • Clear instructions for Claude
  • Proper argument handling if used
  • Bash commands validated (test in terminal first)
  • File paths relative to project root
  • Error handling for edge cases

Validation Report Format

# Command Validation: [command-name]

## Summary
- **Status**: PASS | FAIL | WARNINGS
- **Location**: [path]
- **Issues**: [count]

## Critical Issues (must fix)
1. [Issue with fix]

## Warnings (should fix)
1. [Issue with fix]

## Strengths
- [What's done well]

Namespacing

Organize commands in subdirectories:

.claude/commands/
+-- frontend/
|   +-- component.md      # /component (project:frontend)
|   +-- styling.md        # /styling (project:frontend)
+-- backend/
|   +-- migration.md      # /migration (project:backend)
+-- review.md             # /review (project)

The namespace appears in /help but commands are invoked without prefix: /component or /frontend/component.

See namespacing.md for organization patterns.


Testing Commands

  1. Create the command file
  2. Verify with /help - should see your command listed
  3. Test basic invocation: /your-command
  4. Test with arguments: /your-command arg1 arg2
  5. Verify tool restrictions if using allowed-tools

Debug Mode

claude --debug

Shows command loading and execution details.


Troubleshooting

Command Not Found

  • Verify file location: .claude/commands/name.md
  • Check filename: lowercase, .md extension, no spaces
  • Restart Claude Code or use /clear

Arguments Not Working

  • Use $1, $2 not {1}, {2}
  • Use $ARGUMENTS for all arguments
  • Quote arguments with spaces: /cmd "arg with spaces"

Bash Commands Failing

  • Use ! before backticks: `!command `
  • Test command in terminal first
  • Check output length (15k char limit)
  • Verify allowed-tools includes Bash

Tool Restrictions Not Applied

  • Check YAML syntax (no tabs, proper quoting)
  • Tool names are case-sensitive: Read not read
  • Use wildcards for bash: Bash(git *)

References

ReferenceContent
frontmatter.mdComplete frontmatter schema and fields
arguments.mdArgument handling and patterns
bash-execution.mdShell command execution
file-references.mdFile inclusion syntax
permissions.mdTool restriction patterns
namespacing.mdDirectory organization
sdk-integration.mdAgent SDK usage
community.mdCommunity examples and resources

See EXAMPLES.md for complete real-world examples. See scripts/ for scaffolding and validation utilities.


Related Skills

  • claude-hook-authoring: Add automation triggers to command workflows
  • claude-plugin-development: Bundle commands into distributable plugins
  • claude-code-configuration: Configure Claude Code settings globally

平台分布

Claude Code

28.46%
按下载量换算50

windsurf

26.34%
按下载量换算46

trae

18.48%
按下载量换算32

OpenCode

11.82%
按下载量换算21

Cursor

7.95%
按下载量换算14

Codex

3.85%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add outfitter-dev/agents --skill "claude-command-authoring" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills