Agent Skills
› memohai/Memoh
› skill-creator
skill-creator
GitHub用于创建、初始化、编辑和验证 Memoh 工作区技能(Skill),包括生成 SKILL.md、管理脚本与参考文档,确保技能符合规范并可通过校验。
Trigger Scenarios
创建新的工作区技能
更新或修订现有技能配置
审计或解释技能结构
Install
npx skills add memohai/Memoh --skill skill-creator -g -y
SKILL.md
Frontmatter
{
"name": "skill-creator",
"description": "Create or update Memoh workspace skills under \/data\/skills, including SKILL.md, scripts, references, assets, and validation. Use when the user asks to create, scaffold, revise, audit, or explain a workspace skill."
}
Skill Creator
Use this skill to create or maintain Memoh workspace skills.
Location Policy
- Store user-created workspace skills under
/data/skills/<skill-name>/SKILL.md. - Treat
/data/.memoh/skillsas Memoh-managed built-in skill space. Do not create user skills there unless the user explicitly asks to maintain built-in templates. - Prefer lowercase hyphen-case names, for example
docs-publisherorgh-review-helper.
Workflow
- Clarify the skill's concrete triggers and 2-3 example user requests if the request is vague.
- Read
references/skill-files.mdbefore designing resource folders, scripts, references, or assets. - For a new skill, initialize it with the bundled script when available:
python3 /data/.memoh/skills/skill-creator/scripts/init_skill.py my-skill --path /data/skills --resources scripts,references
- Edit
SKILL.mdand add only the resource files that directly support the skill. - Test any script you add or modify.
- Validate the skill:
python3 /data/.memoh/skills/skill-creator/scripts/quick_validate.py /data/skills/my-skill
Core Shape
Every skill must have:
---
name: skill-name
description: Clear trigger-focused description of what the skill does and when to use it.
---
# Skill Name
Actionable instructions for the agent.
Common optional files:
scripts/: deterministic helpers the agent can run withpython3orbash.references/: detailed docs loaded only when needed.assets/: templates, images, fonts, or boilerplate copied into outputs.
Rules
- Keep
SKILL.mdconcise and move detailed schemas or long examples intoreferences/. - Do not add README, changelog, install guide, or other auxiliary docs unless the user explicitly asks.
- Preserve existing user-authored content unless the requested change clearly replaces it.
- Include scripts only when they remove repeated fragile work or provide deterministic validation.
- If script execution fails because the runtime lacks a dependency, either make the script dependency-free or document the dependency inside the script usage.
Version History
- 2fb1f05 Current 2026-08-20 08:31


