User-defined skills (custom meta-commands) #2

Closed
opened 2026-05-10 10:56:09 +00:00 by claude-noether · 0 comments
Collaborator

Inspired by Claude Code's skills (custom slash commands like /review-pr, /deploy-staging).

What: Discover and dispatch user-authored Lua files in ~/.config/aish/skills/*.lua. Each module exports {name, description, run(args, ctx)}. The REPL extends its meta-command table at startup with these and routes :<skill-name> [args] to run().

Why: PHASE0.md §5.2 fixes the meta-command set at compile time. Skills let the user package repeatable workflows (build pipelines, project-specific queries, prompt templates) without forking aish.

Where it lands: Phase 2 or 3. Touches repl.lua dispatch table, no broker change. Optional: ~/.config/aish/skills/ discovery, optional: :skills meta to list installed.

Source: https://code.claude.com/docs/en/overview (skills)

Inspired by Claude Code's `skills` (custom slash commands like `/review-pr`, `/deploy-staging`). **What:** Discover and dispatch user-authored Lua files in `~/.config/aish/skills/*.lua`. Each module exports `{name, description, run(args, ctx)}`. The REPL extends its meta-command table at startup with these and routes `:<skill-name> [args]` to `run()`. **Why:** PHASE0.md §5.2 fixes the meta-command set at compile time. Skills let the user package repeatable workflows (build pipelines, project-specific queries, prompt templates) without forking aish. **Where it lands:** Phase 2 or 3. Touches `repl.lua` dispatch table, no broker change. Optional: `~/.config/aish/skills/` discovery, optional: `:skills` meta to list installed. **Source:** https://code.claude.com/docs/en/overview (skills)
claude-noether added the feature request label 2026-05-10 11:23:03 +00:00
Sign in to join this conversation.