ownmem-init

ownmem-init is a skill for Claude Code, Codex from grpcer/ownmem. It costs 45 tokens per session (398 once invoked), scanned A, a copy of init, Apache-2.0.

A setup command for OwnMem, a local memory system that helps coding agents recall repository-specific decisions and lessons. It installs the package and generates its repository and host configuration.

In plain words
What is it for?
Use it to initialize or update OwnMem, select Claude Code or Codex hosts, enable memory layers, and verify the setup with audit commands.
Why use it?
It prevents useful project context from being lost between sessions and provides checks for the installation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to initialize or update OwnMem, select Claude Code or Codex hosts, enable memory layers, and verify the setup with audit commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/grpcer/ownmem/ownmem-init
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.

Any agent
npx skills add grpcer/ownmem --skill ownmem-init
Clone the repo
git clone --depth 1 https://github.com/grpcer/ownmem

Made for: Claude Code, Codex.

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 ownmem-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/grpcer/ownmem/ownmem-init/github.svg)](https://agentmods.dev/skills/grpcer/ownmem/ownmem-init)
Your own site
<a href="https://agentmods.dev/skills/grpcer/ownmem/ownmem-init"><img src="https://agentmods.dev/badge/skills/grpcer/ownmem/ownmem-init/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ownmem-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/grpcer/ownmem/ownmem-init"><img src="https://agentmods.dev/badge/skills/grpcer/ownmem/ownmem-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.1 $0.00045 $0.00398
Opus 5.5 $0.00018 $0.00159
Sonnet 5.5 $0.00009 $0.00080
Haiku 4.5 $0.00005 $0.00040

Measured 28d ago against content hash 51a5cfef9abe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ownmem-init scanned grade A with 0 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 28d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to init — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ownmem-init/SKILL.md · 44 lines

What it actually says

Set up OwnMem in this repository

OwnMem requires Node.js 20.6 or newer. Install the reviewed dependency, then generate the host adapters:

npm install --save-dev ownmem
npx ownmem init --hook --hosts claude,codex

Adjust the flags before running:

  • --hosts: any comma-separated combination of claude, codex, cursor, gemini, grok, and generic — match the tools the team uses. The list is recorded, and running init again with a new list is how a host is added or removed. Grok CLI reads Claude Code's files, so name it alongside claude when both are used.
  • --locale auto writes the generated instructions in the system language; the default is English.
  • Drop --hook if the team does not want the recall hooks. --hook also installs the layers those hooks need, up to the local Web console; --layers core,gates,compiler,dashboard installs a subset instead.

Initialization creates .ownmem/ plus bounded ownmem-generated blocks in the host instructions, and preserves every line outside those boundaries. Verify:

npx ownmem init --check
npx ownmem audit

The npm package is the engine. This plugin is an optional shortcut and does not auto-update on every host. After a version bump (for example a Dependabot pull request):

npx ownmem init --update && npx ownmem init --check && npx ownmem audit
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. 28d ago Changed · +5 lines 51a5cfef9abe
  2. 1mo ago Changed · +4 lines e794a824685b
  3. 1mo ago First seen · 35 lines · 45 tokens per session scan A 9a1736992a8a

Subscribe to this mod's changes

ownmem-init is a skill published in the GitHub repository grpcer/ownmem (431 stars, last pushed 6d ago), licensed Apache-2.0. It adds 45 tokens to every session and 398 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to init, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

ultramemory-snapshot

Compose and save a durable, wayback-grade session snapshot to UltraMemory. Use this whenever you are asked to write a session snapshot or rollup of the work just done — in particular when the UltraMemory capture hook nudges you to "Compose a session snapshot per the ultramemory-snapshot Skill rubric ... and save it…

LogicLabsAI/ultramemory-mcp · 97 tokens

setup

Guides Claude through first-time UltraMemory configuration after plugin install — API key, MCP server registration, test recall, and 401/403 troubleshooting.

LogicLabsAI/ultramemory-mcp · 32 tokens

ultramemory-recall-first

Load when the user asks about anything they may have told their AI before, wants persistent memory across tools, or asks what UltraMemory knows — recall from the user's connected UltraMemory connector first, write durable facts back, and never invent a memory.

LogicLabsAI/ultramemory-mcp · 56 tokens

krimto-write-fact

Use when the user asks you to remember something for later, save team knowledge, record a decision, or note a durable fact about the project, person, or team. Triggers on "remember that", "save this", "add to memory", "note for the team". Do not use for conversational context.

krimto-labs/krimto · 70 tokens

krimto-hierarchical-scope

Use when deciding what scope to store a fact at, or when reasoning about whether a fact applies to the current user. Krimto uses a user -> team -> org hierarchy with precedence rules. Triggers when scope selection is required.

krimto-labs/krimto · 56 tokens

krimto-recall-team

Use when starting a task, joining a conversation about a project, or before answering a question that needs team context. Triggers on "what do we know about X", "team's approach to Y", or before any domain-specific work.

krimto-labs/krimto · 55 tokens