by ZipengWu365
TOMC Memory: CPU context compression and task memory for Codex, Claude Code, Cursor, TRAE, WorkBuddy and other MCP clients.
# Add to your Claude Code skills
git clone https://github.com/ZipengWu365/TOMCGuides for using ai agents skills like TOMC.
Last scanned: 10/22/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-22T09:11:59.796Z",
"npmAuditRan": true,
"pipAuditRan": false,
"promptInjectionRan": true
}See how TOMC compares with popular alternatives.
TOMC is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ZipengWu365. TOMC Memory: CPU context compression and task memory for Codex, Claude Code, Cursor, TRAE, WorkBuddy and other MCP clients. It has 267 GitHub stars.
Yes. TOMC passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/ZipengWu365/TOMC" and add it to your Claude Code skills directory (see the Installation section above).
TOMC is primarily written in Python. It is open-source under ZipengWu365 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 TOMC against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
I got tired of re-explaining my project to every new AI chat, and then getting the old version of a decision back.
When a fact changes, only the latest version comes back.
Say your project chat moved from Flask to Django, then FastAPI, then Litestar. TOMC Memory hands your assistant framework = Litestar, plus the line it came from.
After installing, say to your assistant: "Try TOMC Memory". In a terminal: tomc try.
gpt-6.1-sol. Keeping 40% of the history cut request input by 29.7% on average, and all 45 answers stayed right. One run per condition.Every number, with its conditions and failures · Before you use it · Install
STATE? and that line is attached so you or your assistant can check it.prepare_context and recall_memory are not saved unless you turn it on (tomc settings --save-mcp-results on). Notes you save with remember_memory stay on your computer in ~/.tomc/memory.sqlite3. Delete one notebook with forget_memory, or everything with tomc erase-all --yes. Security and privacymake reproduce).Each path ends the same way: say "Try TOMC Memory" in a new chat, and run tomc doctor if something looks wrong. The Claude Code and Codex plugins need uv. Running from source needs Python 3.10 or newer (python3 --version; the macOS system Python 3.9 is too old).
/plugin marketplace add ZipengWu365/TOMC
/plugin install tomc-memory@tomc
Start a new session, check /mcp for plugin:tomc-memory:tomc, then say "Try TOMC Memory" or run /tomc-memory:try. More Claude Code notes
Download tomc-memory-codex-0.3.1.zip, unzip it into a folder you will keep, and run there:
uv run --no-project --python 3.12 install.py --check
uv run --no-project --python 3.12 install.py
The installer starts the server once to check it. Open a new Codex session and say "Try TOMC Memory". Full Codex steps
git clone https://github.com/ZipengWu365/TOMC.git && cd TOMC
python3 -m venv .venv && .venv/bin/python -m pip install -e '.[mcp]'
.venv/bin/tomc setup --client cursor --write # or claude-desktop, claude-code, codex, workbuddy
.venv/bin/tomc doctor
--write backs up the client's config file first and keeps your other servers. For TRAE or a project file, add --config path/to/mcp.json. Restart the client and say "Try TOMC Memory". On Windows use py -3.12 -m venv .venv and .venv\Scripts\. Per-client guides
from tomc import prepare_context # pip install -e . from a clone; no dependencies
prepared = prepare_context(history, task)
response = client.chat.completions.create(model=model, messages=prepared.messages)
Send prepared.messages in place of the old history; appending it adds input. .venv/bin/tomc try shows a worked example offline. API guide
If GitHub or PyPI downloads stall, use a mirror for pip and uv:
python3 -m pip install --user uv -i https://pypi.tuna.tsinghua.edu.cn/simple
export UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
export UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone
python3 -m uv run --no-project --python 3.12 install.py # Codex installer, run in the unzipped folder
For a source install, add -i https://pypi.tuna.tsinghua.edu.cn/simple to the pip install line. In PowerShell, set the variables with $env:UV_DEFAULT_INDEX="…".
Try, compare, contribute: First-run reports · Context-compression evaluation note · Contribution guide
Follow Zipeng Wu for work across time-series research software and AI task memory. Star this repository to save TOMC; use Watch settings for project notifications. Following or starring is optional and is never required for help.
MIT License: free to use, change and ship, including commercially; keep the copyright and license notice. If TOMC Memory helps your research, please cite it with CITATION.cff (GitHub's "Cite this repository" button). Examples are synthetic; the repository holds numeric benchmark aggregates only, without question text, answers or API payloads. Data provenance · Data and licensing