بنقرة واحدة
write-mempalace-skill
How to author new mempalace skills for Claude Code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
How to author new mempalace skills for Claude Code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | write-mempalace-skill |
| description | How to author new mempalace skills for Claude Code |
A mempalace skill is a directory under plugin/skills/<name>/ containing:
SKILL.md -- the skill definition (required, under 100 lines for action skills)EXAMPLES.md -- usage examples with expected output (action skills only)_shared/TROUBLESHOOTING.md -- common failures and fixes (action skills only)Reference skills have only SKILL.md.
Required structure with YAML frontmatter, quick start, why, workflow, and anti-patterns sections. All code fences must have a language identifier (markdownlint MD040). See any existing action skill (e.g., recall/, forget/) for the canonical example.
Top-level sections:
---
name: my-skill
description: One-line description of what the skill does
argument-hint: "[args]"
user-invocable: true
---
Context prompt for the agent: $ARGUMENTS
## Quick start
Brief 1-2 line example.
## Why
One sentence explaining the purpose.
## Workflow
1. Step one
2. Step two
## Anti-patterns
**WRONG** -- bad approach:
// Bad code example
**RIGHT** -- good approach:
// Good code example
> See TROUBLESHOOTING.md and EXAMPLES.md for more.
Reference skills are simpler -- only SKILL.md with frontmatter and content:
---
name: mempalace-xxx
description: Brief description
---
## Content
Reference data, tables, links.
recall, forget, handoff)mempalace- prefix (mempalace-config, mempalace-mcp-tools)SKILL.md.name, description, argument-hint, user-invocable.argument-hint and user-invocable.agentmemory- prefix -- use mempalace-.$ARGUMENTS placeholder in the body is replaced with the user's input at invocation time.Diagnose mempalace setup (config, palace path, MCP, FTS/index health)
List or inspect people/project entities tracked in the mempalace graph
Mine a project directory into the mempalace corpus (drawers, rooms, wings)
Hybrid search over the mempalace corpus (BM25 + vectors + optional graph)
Show mempalace palace status (drawers, wings, rooms, health)
Trace a file, function, or line back to the agent session that produced its current commit