AGENT SKILL

skill-author

暂无简介

License 许可
AGPL-3.0
最近更新
2026-06-17
Stars
★ 1
Forks
0

03 SKILL.md 正文

Skill Author

Use when the user asks to create, update, or remove a user skill, or when a task is important and likely to repeat.

When to create a skill

Create a skill under /app/user/skills/<slug>/SKILL.md when:

  • The user will need the same workflow again (weekly report, deploy checklist, project-specific commands).
  • You solved a multi-step problem and the steps are reusable.
  • The user explicitly asks for a skill.

Do not create a skill for one-off questions, greetings, or trivial single-command tasks.

Layout

/app/user/skills/my-skill/
  SKILL.md    # required

SKILL.md template

# Skill Title

One line: when to use this skill.

## When to use

- Bullet triggers

## Steps

1. Concrete steps (tools, paths, checks)

## Pitfalls

- What failed before and how to avoid it

Rules

  • Store skills under /app/user/skills (not under /app/codes/skills — that tree is shipped with the image).
  • After create/update, the skill appears in the system prompt skill list on the next turn; use skills_read to verify content.
  • Keep skills short and actionable; system prompt stays minimal — details live in the skill.
  • Prefer updating an existing skill over duplicating a new one.

Naming

  • Lowercase slug directory: weekly-backup, project-foo.
  • Title in the H1 can be human-readable.

04 同仓库更多 Skills