global-memory

global-memory is a skill for Codex from ozankasikci/global-agent-memory. It costs 74 tokens per session (1,071 once invoked), scanned A, original, MIT.

A guide for retrieving and maintaining long-term project knowledge for coding-agent work through a shared memory service.

In plain words
What is it for?
It is for looking up project context before substantial work, searching past knowledge, requesting access to protected memories, and preparing reliable handoffs.
Why use it?
It helps agents recover earlier decisions, identifiers, conventions, recurring errors, and verified fixes instead of guessing or repeating investigations.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It is for looking up project context before substantial work, searching past knowledge, requesting access to protected memories, and preparing reliable handoffs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ozankasikci/global-agent-memory/global-memory
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 ozankasikci/global-agent-memory --skill global-memory
Clone the repo
git clone --depth 1 https://github.com/ozankasikci/global-agent-memory

Made for: 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 global-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/ozankasikci/global-agent-memory/global-memory.svg)](https://agentmods.dev/skills/ozankasikci/global-agent-memory/global-memory)
Your own site
<a href="https://agentmods.dev/skills/ozankasikci/global-agent-memory/global-memory"><img src="https://agentmods.dev/badge/skills/ozankasikci/global-agent-memory/global-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,071 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 original 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.1 $0.00074 $0.01071
Opus 5 $0.00037 $0.00535
Sonnet 5 $0.00015 $0.00214
Haiku 4.5 $0.00007 $0.00107

Measured 4d ago against content hash 959ebeb48410, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

global-memory 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 4d 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.

integrations/skills/global-memory/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Global Agent Memory

Skill version: 1.2.0 MCP contract version: v1

Use the canonical MCP capability names. Do not assume a client-specific server prefix. Read references/contract-v1.md only when exact capability selection or arguments are unclear.

Before substantial work

  1. Derive the project from the current working directory. Pass working_directory; add project only when the user supplied or confirmed it.
  2. Call memory_context with the concrete task before broad searches. Keep cross_project=false unless the user explicitly requests comparison or wider scope.
  3. Use memory_search for a prior decision, exact ID, symbol, error string, convention, or known solution that the context bundle did not answer.
  4. If retrieval returns protected_memory_may_be_relevant, do not guess at hidden metadata. Call memory_access_request with the concrete purpose, query, resolved project, least required permission, and shortest useful duration. Tell the user a request is waiting in the dashboard, where they choose the exact memories and may reduce the requested permission or duration. Poll memory_access_status, then pass an approved access_grant only to the operation it was requested for.
  5. Use memory_get before relying on, citing, or changing one result. Treat status and applicability labels as constraints, not decoration.
  6. When memory materially informs the work, cite its memory ID and Vault-relative path in the response or handoff.

Do not turn retrieval into ceremony for trivial work. If the available context is sufficient and no durable history could change the answer, proceed.

Open the dashboard

When the user explicitly asks to open, show, or launch the Global Agent Memory dashboard, call memory_dashboard_open with open_browser=true. Do not invent a URL or substitute Obsidian. The tool issues a short-lived authenticated local session and starts the localhost dashboard server on demand when necessary.

Agents never approve, deny, or revoke access requests. Sealed memories are owner-only and cannot be retrieved through MCP. Never store credentials or secrets as memory.

Read the full file on GitHub · 79 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +2 lines 959ebeb48410
  2. 8d ago First seen · 77 lines · 74 tokens per session scan A 895c15046e04

Subscribe to this mod's changes

global-memory is a skill published in the GitHub repository ozankasikci/global-agent-memory (14 stars, last pushed 7d ago), licensed MIT. It adds 74 tokens to every session and 1,071 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hermes-insight

Use when debugging, planning, or a pattern may recur.

PabloTheThinker/hermes-insight · 17 tokens

potpie-graph

Use when the task can read or write the project-memory graph through the potpie CLI: discover the contract with graph catalog, read named views with graph read, resolve entity identity with graph search-entities, create validated plans with graph propose, commit plans with graph commit --verify, inspect quality with…

potpie-ai/potpie · 94 tokens

potpie-repo-baseline

Use when establishing, refreshing, or deeply understanding a repository's baseline memory in Potpie: purpose, application type, features, services/modules, environments, deploy shape, dependencies, API contracts, datastores, integrations, ownership, and explicit preferences. The harness reads authored and…

potpie-ai/potpie · 75 tokens

potpie-debug-memory

Use while debugging or troubleshooting failures, flaky tests, incidents, production alerts, CI failures, local dev setup issues, repeated bugs, prior fixes, failed attempts, and verification history.

potpie-ai/potpie · 41 tokens

okf

Author, maintain, and consume Open Knowledge Format (OKF) knowledge bundles — portable markdown + YAML frontmatter that both humans and agents read. Use when capturing project knowledge (services, APIs, schemas, metrics, runbooks, decisions) into an OKF bundle, when updating one after code or docs change, or when a…

scaccogatto/okf-skills · 127 tokens

engraphis-memory

Give the agent durable, scoped, explainable memory across sessions and repositories through the Engraphis MCP tools. Use when you learn a convention, decision, bug cause/fix, or user preference worth keeping; when prior context would help before you answer or act (to avoid re-asking or re-deriving); when asked "why is…

Coding-Dev-Tools/engraphis · 134 tokens