用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MauricioPerera/oxshell --skill create-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | create-skill |
| description | Create a new oxshell skill from a natural language description |
| when_to_use | When the user asks to create, make, build, or define a new skill, automation, or reusable workflow |
| allowed-tools | ["bash","file_read","file_write","file_edit","glob"] |
| context | inline |
| user-invocable | true |
The user wants to create a new custom skill. Follow these steps precisely:
The user said: $ARGUMENTS
Analyze what the user wants the skill to do. Identify:
Pick a short, kebab-case name that describes the action (e.g., fix-lint, add-test, deploy, explain-error).
Use the file_write tool to create the skill file at:
.oxshell/skills/<name>/SKILL.md
The SKILL.md must follow this exact format:
---
name: <kebab-case-name>
description: <one-line description of what the skill does>
when_to_use: <when the model should auto-invoke this skill>
allowed-tools: [<comma-separated list of tools the skill needs>]
context: <inline or fork>
---
<The actual prompt that will be executed when the skill runs>
<Use $ARGUMENTS for the full user input>
<Use $1, $2, etc. for >
inline for: simple prompts, explanations, code generation (fast, shared context)fork for: multi-step workflows that use tools (isolated, up to 10 turns)Use bash to verify the file exists:
cat .oxshell/skills/<name>/SKILL.md
Tell the user:
/<name> or /<name> <args>.oxshell/skills/<name>/SKILL.md to customize itIf the user didn't provide enough details, ask clarifying questions before creating the skill.