9 kensaurus
shell Skill
将 /shell 请求的剩余内容作为字面 shell 命令运行。仅在用户显式调用 /shell 并希望后续文本直接在终端执行时使用。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
Run Shell Commands
Use this skill only when the user explicitly invokes /shell.
Behavior
- Treat all user text after the
/shellinvocation as the literal shell command to run. - Execute that command immediately with the terminal tool.
- Do not rewrite, explain, or "improve" the command before running it.
- Do not inspect the repository first unless the command itself requires repository context.
- If the user invokes
/shellwithout any following text, ask them which command to run.
Response
- Run the command first.
- Then briefly report the exit status and any important stdout or stderr.