by dcostenco
Persistent session memory for AI coding agents — local-first, with on-device inference, associative recall, and drift detection. Works with Claude Code, Cursor, and Codex.
# Add to your Claude Code skills
git clone https://github.com/dcostenco/prism-coderprism-coder is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by dcostenco. Persistent session memory for AI coding agents — local-first, with on-device inference, associative recall, and drift detection. Works with Claude Code, Cursor, and Codex. It has 156 GitHub stars.
prism-coder's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/dcostenco/prism-coder" and add it to your Claude Code skills directory (see the Installation section above).
prism-coder is primarily written in TypeScript. It is open-source under dcostenco on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh prism-coder against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Give your AI agent memory that lasts — and see the cloud tokens it never had to spend. Persistent sessions, knowledge graphs, offline tool-routing, and an auditable savings meter. Fully local and free.
Current release: v20.22.5 — oMLX coding, review, and images Save exact coder and reviewer assignments, including models from an existing or managed oMLX server. The image model has its own setting. Compatible oMLX servers support controlled PNG requests with local screening. See the oMLX guide.

Local AI dashboard development preview. Screenshots below use an isolated demo with illustrative inventory and responses; they do not show a live account or prove model accuracy. The npm release may show an earlier interface.
Prism Coder is an MCP server that gives Claude, Cursor, and other AI tools long-term memory that survives across sessions. It ships with the open-weight prism-coder model fleet (2B–27B) for fast, offline tool-routing — no cloud required. And it keeps score: every call served locally is metered, so prism savings shows the token volume that never reached your cloud model — measured honestly, in tokens.
No account needed. No API keys. Runs on your machine.
A paid subscription adds cloud sync, higher model tiers, and team features through the Synalux portal.
prism savings (or the local_savings
tool from any host) reports the token volume local serving kept off your
cloud model: headline, local share, per-model breakdown. It reports tokens,
never an invented dollar figure, and prints its assumptions and known
undercounts inline — a number you can check, not marketing.route_guard: "local" disables that
correction only. cloud_fallback: false forbids cloud inference fallback and
verify: false (with no evidence) disables the grounding verifier. With all
three off, no request carries your prompt, draft or evidence; the per-call
entitlement check and telemetry still contact the portal and carry neither.prism connect configures Claude Code,
Claude Desktop, Cursor, Gemini CLI, and Codex while preserving unrelated
settings.prism connect adds two
small ones on top: mid-session prompt routing, and a post-compaction
re-injection of the protected-floor digest.PRISM_DARK_FACTORY_ENABLED=false disables Factory after an MCP restart.
Try the three-test filename fix.Run prism dashboard, open Account & Settings → Local AI, then work through
Connection → Models → Test. These controls configure local inference;
session memory continues to work without installing a model.
| Step | What you do | What to expect |
|---|---|---|
| 1. Connection | Choose an existing oMLX server or a Prism-managed installation, then Preview connection. | Review the effect on coder, reviewer and image assignments before Use this server switches the shared oMLX connection. Saved model IDs are preserved. |
| 2. Models | Choose Coder execution and Reviewer execution, then Save execution roles. Auto uses the local backend preferences below. Save the separate Image model form independently. | Detected local models, Synalux-managed cloud and trusted configured host profiles stay distinct. Saving loads no weights and executes no host. Missing exact choices refuse rather than substitute. |
| 3. Test | Select backend and purpose, then Test saved model. | A small request may load the saved model. The result reports execution or a blocking reason, with no cloud inference fallback. |
Coding and review. Auto prefers configured oMLX for eligible coding. You can choose Ollama instead; explicit task choices take precedence. oMLX coding and review need the integration's separate text safety classifier. Local drafts and reviews still need host inspection and tests.
In host-authorized mode (PRISM_HOST_TASKS=required), prism local run
executes reviewed local tasks. A host or Synalux cloud role must be handled by
its host/cloud executor; Prism refuses to replace it with a local worker.
An explicit local task choice can override the saved role.

The screenshot shows the model-selector detail. The current dashboard also includes the execution-role controls described in the table above.
Images have their own choice. Select an oMLX vision model under Image model, then Save image preference. It may be the same model used for coding, but the setting is independent. Refresh image models reads metadata without loading a model. Vision metadata and RAM estimates are advisory; each request repeats compatibility and resource checks. The saved Ollama image option currently refuses execution; leave the image backend Not selected to retain existing image routing.

Read image-test results in two parts. The built-in diagnostic sends a red square. Reference facts describe that known PNG; AI observations contain the model's answer. A wrong answer cannot change the reference. A passing test proves execution, not visual accuracy. User images do not receive catalog facts from this diagnostic. Starting another test or changing backend or purpose clears the previous image result.

Server setup is optional and separate from npm. On supported Apple Silicon Macs, expand Install or update a Prism-managed server to install the server without downloading the optional coding starter pack. Add models through Open oMLX model manager. Installing a server update does not restart it or switch your connection. Restart managed server interrupts local inference and is available only when Prism can establish managed ownership and idle activity. External servers use their own upgrade and restart procedure.
Updating the Prism npm package or restarting your AI client does not upgrade an external oMLX server. If image status says Server update required, follow the existing-server upgrade guide. Tested Prism-compatible source identifies the compatible revision; Latest upstream releases is for release notes and may lack Prism's routes. See the oMLX guide for requirements and troubleshooting.
Memory search automatically applies ACT-R ranking: relevance plus recency,
frequency and memory associations. No upvote or prompt instruction is required.
To opt out, use Account & Settings → Preferences → Automatic Memory Ranking
(ACT-R), then restart your AI client. PRISM_ACTR_ENABLED=false also disables
it. This ranking is separate from the neural graph's stored importance filter.
npm install -g prism-mcp-server
prism connect
prism dashboard
Use prism connect --dry-run to preview changes, prism connect --all to
configure every detected host, or `prism con