SiftCoder
Persistent project memory + local-LLM offload + Salesforce domain skills for Claude Code.

📖 Full documentation: ialameh.github.io/sift-coder — quickstart, mental model, architecture, every CLI command, every skill, every agent, troubleshooting, and a cookbook of real workflows.
SiftCoder is a Claude Code plugin that adds four things Claude Code does not have natively:
- Persistent, queryable memory across sessions — with provenance (
mem_why), decay, and RRF retrieval.
- Local-LLM offload (Ollama) for summarisation and embeddings — cuts steady-state token cost ~50×.
- Salesforce domain expertise as skills + agents — Apex, LWC, Schema, Deploy, Architecture.
- Workflow contracts for build, fix, investigate, review, test, autonomous, docs, quality, ideation, project discovery, and compression.
Why this exists
Claude Code already has Plan/Explore/general-purpose subagents, native skills, native MCP, hooks, plan mode, /review, /security-review, prompt caching, and tool-use orchestration. What it lacks:
- Memory. Every session starts cold. SiftCoder gives Claude a per-workspace memory daemon that captures, summarises, and lets you query past work.
- Local LLM. API calls are not free. SiftCoder routes summarisation and embeddings through local Ollama by default, falling back to Anthropic only when local is unavailable or quality is insufficient.
- Domain depth. Generic AI is generic. SiftCoder ships skills/agents tuned for Salesforce — the largest enterprise platform without a domain-specific Claude flavour.
- Workflow leverage. Claude Code has strong native primitives; SiftCoder adds stricter contracts, evidence ledgers, memory grounding, and domain-specific rules around those primitives.
Install
Requires Node ≥ 20.
git clone https://github.com/ialameh/sift-coder.git
cd sift-coder
npm install
npm run build
In Claude Code, register the plugin:
# from any project
/plugin install /path/to/siftcoder
Recommended: install Ollama for local-LLM benefits.
brew install ollama && brew services start ollama
ollama pull nomic-embed-text llama3.2:3b
node bin/siftcoder.mjs setup
Quick start
# spawn the memory daemon for your workspace
node bin/siftcoder.mjs start
# verify
node bin/siftcoder.mjs status
Inside Claude Code:
/siftcoder:mem status
/siftcoder:mem drain
/siftcoder:ideate
/siftcoder:sf-deploy validate
/siftcoder:reverse-prompt deep
What ships
Skills (96) organised by family
Each skill is a workflow contract — explicit ordering, evidence gates, output shape, anti-patterns. Auto-loaded by trigger description; also invokable via slash command.
| Family | Skills |
|---|
| coding (14) | build, fix, add-feature, investigate, heal, tdd, pair, refactor, optimize, zen, debug, build-fix, perf, test |
| reasoning (7) | archaeologist, oracle, ghost, duck, dream, fortune, narrator |
| quality (9) | chaos, fuzz-mind, invariant, empathy, ripple, timewarp, blast-radius, polyglot, comply |
| review (2) | review, security |
| knowledge (5) | memory-usage, pattern-learn, pattern-search, knowledge, search |
| docs (8) | document, update-docs, update-codemaps, codemap, codemap-fast, codemap-diff, codemap-trust, codemap-export |
| workflow (14) | autonomous, swarm, pause, continue, handoff, checkpoint, session-eval, smart-retry, preview, scope, chroot, agent, focus, organize-project |
| spec (5) | improve-spec, spec-from-stories, gap-analysis, reverse-spec, feasibility |
| salesforce (12) | salesforce-apex, salesforce-lwc, salesforce-deploy, salesforce-architecture, salesforce-test, salesforce-agentforce, salesforce-einstein, salesforce-cpq, salesforce-comply, salesforce-flow, salesforce-security, schema-migrate |
| integrations (4) | api, integrate, migrate, bridge |
| ux (3) | ideate, surprise-me, reverse-prompt |
| meta (13) | siftcoder, onboard, prompt, team, sync, monitor, trace, analyze, compression, local-llm-setup, quality-check, budget, wizard |
Each skills/<family>/<name>/SKILL.md body documents: method, output shape, hard rules, anti-patterns, when-NOT-to-use, and value-add over native Claude Code.
Agents (15)