by memorax-ai
A memory plugin for AI coding that turns engineering experience, repository knowledge, and your way of working into memory that remains useful in future tasks.
# Add to your Claude Code skills
git clone https://github.com/memorax-ai/memorax-codememorax-code is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by memorax-ai. A memory plugin for AI coding that turns engineering experience, repository knowledge, and your way of working into memory that remains useful in future tasks. It has 95 GitHub stars.
memorax-code'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/memorax-ai/memorax-code" and add it to your Claude Code skills directory (see the Installation section above).
memorax-code is primarily written in JavaScript. It is open-source under memorax-ai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM 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 memorax-code 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.
Coding agents are good at the task in front of them, but a new session often starts without the architecture, failed attempts, repository rules, or working preferences established before it.
MemoraX Code gives Codex and Claude Code a shared memory layer for that context. It can recall prior engineering knowledge, capture reusable lessons from completed work, maintain repository knowledge, and carry your procedures and preferences into future sessions.
The goal is not to remember everything. It is to bring back the small amount of memory relevant to the current task so the agent can reach useful investigation and validation sooner.
Prepare Node.js 24+ and either Codex or Claude Code. Python 3 is required for Repo Memory operations.
Sign up at MemoraX Console and create an API key. Enter the key only in your local installation terminal; do not paste it into chats or public issues.
npm install -g @memorax/memorax-code --foreground-scripts
Keep --foreground-scripts so the complete setup remains visible. The
installer automatically detects runnable Codex and Claude Code clients and
connects the clients it finds. Follow the prompts to enter your Base User ID,
preferred language, and API key. Codex users must also approve Hook activation
and trust when prompted.
If setup is skipped or cannot prompt, the package remains installed but MemoraX-backed search, retrieval, and writeback remain unavailable.
Clone the example repository from the product website, then open Codex or Claude Code in the project directory:
git clone https://github.com/SWE-agent/test-repo.git
cd test-repo
Invoke the Skill as $memorax-code in Codex or /memorax-code in Claude Code.
The prompts below use its product name and work in either client.
Send these prompts in order in the same session:
- Use the MemoraX Code skill to build Repo Memory, retrieving only the latest 3 issues, pull requests, and commits.
- Review the recent Repo Memory issue: the zeroth number was once calculated incorrectly. Avoid repeating the same problem now.
- Use the MemoraX Code skill to remember the engineering lesson from this coding task.
Close the current conversation, start a new session in the same repository, and send:
Use the MemoraX Code skill to recall the earlier engineering lesson and suggest what to check.
The agent should retrieve the saved lesson and use it to make suggestions for the current repository.
[!TIP] The prompts above are only for quick verification. In normal use, you do not need to invoke the MemoraX Code skill to add memory manually. It writes relevant memory in the background and guides agents to search when useful. You can view content-free local activity and status in the Memory Viewer.
| Memory | The question it answers | Examples |
|---|---|---|
| Coding Memory | What engineering lessons should carry into the next task? | Verified fixes, failed approaches, design rationale, pitfalls, and regression checks |
| Repo Memory | What should an agent know about this repository? | Architecture maps, module ownership, entry points, and commit/PR/MR/issue evidence |
| Personal Memory | How should the agent communicate and collaborate with you? | User Profile preferences such as language, tone, explanation depth, and result format |
| Procedure Memory | How should this kind of task be carried out? | Reusable steps, checklists, prerequisites, exceptions, and validation gates |
| Capability | What it does |
|---|---|
| Background memory writeback | Extracts reusable knowledge from completed turns and writes it to Coding Memory in the background. |
| Preference continuity | Records User Profile preferences and injects them into future tasks on a configured cadence. |
| Procedure reuse | Records reusable task procedures and reminds future agents to apply them. |
| Background Repo Memory maintenance | Automatically organizes repository structure, entry points, and history evidence in the background, then updates them according to policy to reduce repeated searching and summarization. |
| Active memory control | Lets you search and add memory through the bundled MemoraX Code skill ($memorax-code in Codex or /memorax-code in Claude Code) or the CLI. |
| Hook integration | Uses Codex and Claude Code Hooks to trigger memory retrieval, reminders, and writeback. |
| Local visualization | Uses the local Memory Viewer to summarize activity counts, retrieval, and writeback status. |
MemoraX is required for cloud-backed memory. Entering a Base User ID and API key after the installer's disclosure activates MemoraX search/add and the generated configuration's automatic writeback; there is no second writeback confirmation. Automatic retrieval remains off until explicitly enabled.
Active memory operations send their query or selected content to MemoraX. Automatic writeback sends selected user instructions and the matching final Agent response from trusted workspace turns for extraction and storage. It does not upload the complete retained client trace artifact or local trace path.
Sign in to MemoraX Console at any time to view, edit, or delete saved memories. MemoraX Cloud does not receive model-provider credentials or local Backend tokens.
Read Configuration for all settings and Security for network, local-data, and retention boundaries.
For a global npm installation:
memorax-code update
The command follows the installed release channel and preserves configuration. Restart or refresh Codex and Claude Code when a release changes plugin assets or skills.
Run the product lifecycle before removing the npm package:
memorax-code uninstall
This removes managed integrations and the global package while retaining
MEMORAX_CODE_HOME (default ~/.memorax-code), Claude plugin data, provider
configuration, and memories stored in MemoraX. Remove retained local or cloud
data separately only after reviewing what you still need.
Issues and pull requests are welcome. Read CONTRIBUTING.md before making a change, and never include API keys, raw transcripts, private memory, or local trace artifacts in a public report.
MemoraX Code is available under the MIT License.