Skip to content

🧭 User guide

Daily-driving SLMCode without turning your repo into modern art. 🎨 (Unless modern art was the goal. In that case… carry on.)

πŸ›€οΈ

Recommended path: Install β†’ Quick start β†’ Concepts β†’ you are here. Welcome to adulthood.


Day-to-day loop πŸ”

cd your-project
slmcode init
# optional: AGENTS.md at repo root (be stern, be kind)
# edit .slmcode/PROJECT.md

slmcode                      # premium TUI
slmcode run -v "Add validation to the login handler"
slmcode board
slmcode studio
Habit Command Vibe
πŸ”Ž Explore only run --agent explorer "…" Maps, not edits
🎯 Pin craft run --skill atomic-coding "…" Tiny diffs or bust
πŸ‘€ Watch board watch ASMR for kanban
πŸ›‘οΈ Safe writes config set permission review β†’ apply Trust, but verify

More copy-paste β†’ πŸ§ͺ Recipes.


Pipeline (what happens) 🏭

flowchart TD
  Q[Query 🎯] --> I[Instructions + skills]
  I --> C[Context]
  C --> E{Explore?}
  E -->|reuse ♻️| P[Plan / split]
  E -->|deep πŸ•΅οΈ| X[Explorer] --> P
  P --> Coord[Coordinator 🧭]
  Coord --> W[Workers πŸ› οΈ]
  W --> R[Review ↔ correct πŸ”]
  R --> L[Learn / test / skills πŸ¦‹]

Force a fresh dig: SLMCODE_FORCE_EXPLORE=1 slmcode run -v "…".

Deep dive β†’ 🧠 Concepts.


Surfaces πŸŽ›οΈ

Surface Doc Mood
Premium TUI + chat πŸ–₯️ TUI & chat Keyboard wizard
Studio GUI + API 🎨 Studio Click enjoyer
Full CLI ⌨️ CLI reference Script goblin

Skills & specialists 🧩

Skills teach house style; specialists execute roles.

slmcode skills
slmcode run --skill multipass-quality "…"
slmcode run "Fix login @skill:atomic-coding"

β†’ πŸ¦‹ Skills Β· 🧩 Agents


Project memory (the real DB) πŸ’Ύ

Markdown. On disk. Boring on purpose. Future-you can grep it. Past-you cannot gaslight it.

File Role
.slmcode/PROJECT.md Durable facts
.slmcode/CONTEXT.md Working focus + discoveries
.slmcode/MEMORY.md Lessons / pitfalls
.slmcode/SKILLS.md Index + recent lessons
.slmcode/skills/learned/ Auto-grown conventions
.slmcode/sessions/ Resumable runs
.slmcode/pending/ Staged review writes
AGENTS.md / CLAUDE.md / .cursorrules Auto-injected instructions
slmcode context append "Prefer table-driven tests"
slmcode docs show MEMORY.md

Permissions πŸ›‘οΈ

Mode Behavior
auto Write now ✍️
dry-run Simulate 🎭
review Stage β†’ slmcode apply πŸ‘€
slmcode config set permission review
slmcode run "refactor foo"
slmcode apply && slmcode diff

Shell: shell_permission: allow | ask | deny β€” independent of file writes. β†’ βš™οΈ Config


Quality knobs πŸŽ›οΈ

slmcode config set think_passes 2
slmcode config set retries 2
slmcode config set parallel 2
slmcode config set max_context_kb 16
Symptom Try
πŸ₯΄ Wanders Lower context, pin atomic-coding, stern AGENTS.md
πŸ₯΄ Weak JSON More think passes / retries; better tool-calling model
🐒 Too slow Lower parallel; explore reuse; faster provider

β†’ ❓ FAQ


Sessions & resume πŸ›Ÿ

slmcode session list
slmcode session resume run-…
# TUI: /stop then /resume

Ctrl+C mid-run is a feature, not a crime β€” it checkpoints.


Develop from a checkout πŸ› οΈ

make lint && make test && make docs-build
RUN_E2E=1 make e2e

πŸ§ƒ

Hydration tip: if a run feels cursed, check doctor, then permissions, then whether you asked for a rewrite of the universe. Usually it’s #3.

β˜€οΈ Made with β™₯ by UnicoLab