π§ User guide¶
Daily-driving SLMCode without turning your repo into modern art. π¨ (Unless modern art was the goal. In that caseβ¦ carry on.)
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 |
Permissions π‘οΈ¶
| Mode | Behavior |
|---|---|
auto | Write now βοΈ |
dry-run | Simulate π |
review | Stage β slmcode apply π |
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 π¶
Ctrl+C mid-run is a feature, not a crime β it checkpoints.
Develop from a checkout π οΈ¶
π§
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