setup-memory

setup-memory is a command for coding agents from SomtoUgeh/somto-dev-toolkit. It costs 12 tokens per session (2,270 once invoked), scanned D, original, no licence file.

A command for setting up session memory with qmd integration.

In plain words
What is it for?
Use it when configuring smart session memory for a project or coding-agent environment.
Why use it?
It helps establish a memory system for retaining useful context between coding-agent sessions.

Command

Part of the somto-dev-toolkit plugin — 9 skills, 15 commands, 2 agents, 6 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/somtougeh/somto-dev-toolkit/setup-memory
Clone the repo
git clone --depth 1 https://github.com/SomtoUgeh/somto-dev-toolkit

Or install somto-dev-toolkit, the plugin that ships this one along with the rest of its 9 skills, 15 commands, 2 agents, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-memory

README.md
[![agentmods](https://agentmods.dev/badge/commands/somtougeh/somto-dev-toolkit/setup-memory.svg)](https://agentmods.dev/commands/somtougeh/somto-dev-toolkit/setup-memory)
Your own site
<a href="https://agentmods.dev/commands/somtougeh/somto-dev-toolkit/setup-memory"><img src="https://agentmods.dev/badge/commands/somtougeh/somto-dev-toolkit/setup-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00012 $0.02270
Opus 5 $0.00006 $0.01135
Sonnet 5 $0.00002 $0.00454
Haiku 4.5 $0.00001 $0.00227

Measured 3d ago against content hash c8649e1f5410, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

setup-memory scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

echo " Ubuntu/Debian: sudo apt install python3-pip"

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Logs: `tail ~/.claude/session-sync.log`

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ~/.claude/qmd-sessions/
commands/setup-memory.md · 316 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 316 lines · 12 tokens per session scan D c8649e1f5410

Subscribe to this mod's changes

setup-memory is a command published in the GitHub repository SomtoUgeh/somto-dev-toolkit (2 stars, last pushed 8d ago), with no licence file. It adds 12 tokens to every session and 2,270 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.