- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add coco-research/coco --skill create-skill -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add coco-research/coco --skill create-skill -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add coco-research/coco --skill create-skill -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add coco-research/coco --skill create-skill -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/coco-research/coco/tree/HEAD/adapters/cursor/skills/create-skill来自发布者
This skill guides you through creating effective Agent Skills for Cursor. Skills are markdown files that teach the agent how to perform specific tasks: reviewing PRs using team standards, generating commit messages in a preferred format, querying database schemas, or any specialized workflow.
Before creating a skill, gather essential information from the user about:
If you have previous conversation context, infer the skill from what was discussed. You can create skills based on workflows, patterns, or domain knowledge that emerged in the conversation.
If you need clarification, use the AskQuestion tool when available:
Example AskQuestion usage:
- "Where should this skill be stored?" with options like ["Personal (~/.cursor/skills/)", "Project (.cursor/skills/)"]
- "Should this skill include executable scripts?" with options like ["Yes", "No"]
If the AskQuestion tool is not available, ask these questions conversationally.
Skills are stored as directories containing a SKILL.md file:
skill-name/
├── SKILL.md # Required - main instructions
├── reference.md # Optional - detailed documentation
├── examples.md # Optional - usage examples
└── scripts/ # Optional - utility scripts
├── validate.py
└── helper.sh
IMPORTANT: Never create skills in ~/.cursor/skills-cursor/. This directory is reserved for Cursor's internal built-in skills and is managed automatically by the system.
Every skill requires a SKILL.md file with YAML frontmatter and markdown body:
---
name: your-skill-name
description: Brief description of what this skill does and when to use it
---
# Your Skill Name
## Instructions
Clear, step-by-step guidance for the agent.
## Examples
Concrete examples of using this skill.
The description is critical for skill discovery. The agent uses it to decide when to apply your skill.
Write in third person (the description is injected into the system prompt):
Be specific and include trigger terms:
Include both WHAT and WHEN:
The context window is shared with conversation history, other skills, and requests. Every token competes for space.
Default assumption: The agent is already very smart. Only add context it doesn't already have.
For optimal performance, the main SKILL.md file should be concise. Use progressive disclosure for detailed content.
Put essential information in SKILL.md; detailed reference material in separate files that the agent reads only when needed.
Keep references one level deep - link directly from SKILL.md to reference files. Deeply nested references may result in partial reads.
Provide output format templates for consistent results.
For skills where output quality depends on seeing examples, provide concrete input/output pairs.
Break complex operations into clear steps with checklists.
For quality-critical tasks, implement validation loops.
Gather purpose, location, triggers, requirements, existing patterns.
Draft name, description, outline sections, identify supporting files.
Create directory, write SKILL.md, create reference files and scripts.
Check line count, description specificity, terminology consistency, file references.
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.
---name: create-skilldescription: Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or…---# adapters/cursor/skills/create-skill/SKILL.md常见问题
从发布者处下载 adapters/cursor/skills/create-skill/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/coco-research/coco。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。