Stop Retyping Everything: A Slash-Command Console for Your Local LLM Stack
Описание и применение
Консоль lm позволяет быстро настраивать локальный LLM с помощью слэш-команд, заменяя ручной ввод и ускоряя работу как человека, так и автоматизаций.
Задача
Users spend 15 minutes each session retyping or pasting a set of commands to configure a local LLM session, leading to inefficiency and error.
Результат
The lm console reduces setup time from 15 minutes to a single slash command, eliminates repetitive typing, and provides a unified interface for both manual use and automated workflows.
Рабочий процесс
- 1. Install the
lmdispatcher script and place it in PATH. - 2. Create a
~/.lm/commands/directory for prompt commands (markdown files). - 3. Write tool scripts (e.g.,
compact.sh) for state changes. - 4. Use slash commands:
/help,/clear,/context,/model,/compact, or/skill <name>to perform actions. - 5. For plain text input, type the question and it is appended to the session file.
- 6. Automations (e.g., n8n) can invoke the same slash commands via shell calls.
- 7. Review and edit markdown command files to refine prompts or tool behavior.
Доказательства
A slash-command console for a local LLM stack is a small shell CLI (e.g. lm) that dispatches typed commands to three species: prompt-commands, tool-commands, and connector-commands.
Thirty lines, and you already have /help, /clear, /context, /model, and any prompt-command you drop into ~/.lm/commands/.
- Дата записи: 2026-09-21T17:45:11.383Z