Skip to main content

write-agentmemory-skill

The house format and rules for writing or updating an agentmemory skill. Use when adding a new skill, restructuring an existing one, or reviewing a skill contribution for consistency.

来源信息

仓库
rohitg00/agentmemory
最近来源活动
2026年10月25日 11:40
检测到的 SKILL.md 语言
英语
星标
29,991
Forks
2,649

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
write-agentmemory-skill
description
The house format and rules for writing or updating an agentmemory skill. Use when adding a new skill, restructuring an existing one, or reviewing a skill contribution for consistency.
user-invocable
false
agentmemory skills follow one tiered format so they stay skimmable, accurate, and current. Match it exactly. ## Directory layout ```text plugin/skills/<name>/ SKILL.md (required, under 100 lines) REFERENCE.md (optional, dense facts; auto-generate data tables) EXAMPLES.md (optional, worked transcripts) TROUBLESHOOTING.md (generated support file) ``` ## SKILL.md rules - Frontmatter: `name`, `description`, optional `argument-hint`, and `user-invocable`. Set `user-invocable: true` only for skills the user runs as a slash command; reference and knowledge skills are `false`. - Description is two sentences and the only thing the agent sees when deciding to load the skill. Sentence one states the capability. Sentence two starts "Use when" and lists concrete triggers. Keep it distinct from sibling skills, under 1024 chars, third person. - Body order: Quick start (one concrete example), Why (the governing principle), Workflow (numbered steps with decision gates), Anti-patterns (a WRONG vs RIGHT callout for the top mistake), Checklist, See also (cross-link siblings), Reference or Troubleshooting pointer. - Stay under 100 lines. Move dense facts to REFERENCE.md and examples to EXAMPLES.md. - Keep supporting files inside the skill directory so each skill works when installed separately. Link [TROUBLESHOOTING.md](TROUBLESHOOTING.md); the generator copies shared recovery instructions into each skill root. ## Keep it current Facts that exist in source (tool names and parameters, REST endpoints, env vars, connect adapters, hook events) are generated, never hand-typed. Edit the source, then run `npm run skills:gen`. CI runs `npm run skills:check` and fails on drift, so generated tables cannot fall behind the code. ## Style No external or competitor product names. No emojis. No em-dashes. No filler. State the thing and stop. ## Checklist - Description has a "Use when" sentence with real triggers. - SKILL.md is under 100 lines. - No time-sensitive claims and no duplicated troubleshooting block. - Concrete example present; generated facts come from the generator. - Cross-links resolve and go one level deep.
在 GitHub 查看