with one click
write-mempalace-skill
How to author new mempalace skills for Claude Code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
How to author new mempalace skills for Claude Code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
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
| 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.