ogm

ogm is a skill for Claude Code, Codex from ardiannurcahya/ogm-mcp-skills. It costs 60 tokens per session (2,645 once invoked), scanned A, original, MIT.

A knowledge and codebase memory skill that extracts information from documents, searches code structure, and stores operational notes for later use.

In plain words
What is it for?
Use it to index documents, inspect code symbols and call relationships, retrieve evidence, and preserve useful project memories.
Why use it?
It helps an agent find relevant specifications, code relationships, and earlier decisions without relying only on the current conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to index documents, inspect code symbols and call relationships, retrieve evidence, and preserve useful project memories.

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

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 ogm

README.md
[![agentmods](https://agentmods.dev/badge/skills/ardiannurcahya/ogm-mcp-skills/resources/github.svg)](https://agentmods.dev/skills/ardiannurcahya/ogm-mcp-skills/resources)
Your own site
<a href="https://agentmods.dev/skills/ardiannurcahya/ogm-mcp-skills/resources"><img src="https://agentmods.dev/badge/skills/ardiannurcahya/ogm-mcp-skills/resources/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 ogm

Your own site · 80×15
<a href="https://agentmods.dev/skills/ardiannurcahya/ogm-mcp-skills/resources"><img src="https://agentmods.dev/badge/skills/ardiannurcahya/ogm-mcp-skills/resources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00060 $0.02645
Opus 5 $0.00030 $0.01323
Sonnet 5 $0.00012 $0.00529
Haiku 4.5 $0.00006 $0.00265

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

Security

Grade A, and why

ogm scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

* **NEVER** run `curl` commands to `/v1/...` API endpoints manually.
src/ogm_mcp_skills/resources/SKILL.md · 189 lines

How it starts

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

OpenGraphMemory (OGM) Skill

This skill provides a comprehensive, unambiguous, production-grade operational guide for AI Agents interacting with OpenGraphMemory (OGM). It covers all three core capabilities: Document Knowledge Graphs, Codebase AST Call-Graphs, and Persistent Agent Operational Memory.


🎯 Task Intent Routing (English & Indonesian Triggers)

Default to using OGM whenever a task involves reading documents, navigating codebases, or executing non-trivial engineering/operational work.

📄 Category 1: Document Upload & Knowledge Extraction

English Triggers:

  • "Upload/index document spec.pdf or design.md into OGM"
  • "Extract knowledge graph from document X"
  • "Show evidence quotes for relation Y"

Indonesian Triggers:

  • "Upload/index dokumen spec.pdf ke OGM"
  • "Extract knowledge graph dari dokumen design.md"
  • "Tampilkan bukti kutipan relasi Y"

Action Protocol:

  1. Identify dataset (ogm_list_datasets).
  2. Upload document using ogm_upload_document.
  3. Inspect relation evidence quotes using ogm_get_evidence or ogm_get_relation_evidence.

💻 Category 2: Codebase AST Call-Graphs & Centrality

English Triggers:

  • "Extract/index this codebase into OpenGraphMemory / OGM"
  • "Build AST call-graph for project Y"
  • "Which symbols are most connected / have top degree in repo Z?"

Indonesian Triggers:

  • "Tolong extract codebase ini ke dalam knowledge graph menggunakan ogm"
  • "Index repo ini ke dalam OGM"
  • "Simbol apa yang paling banyak keterhubungannya / urutkan degree terbanyak"

Action Protocol:

  1. Full Repo Onboarding (Oneshot): Call ogm_index_codebase with dataset_id and path.
  2. Incremental Single-File Edit: Call ogm_sync_code_file when editing 1 file during pair programming.
  3. Symbol Search & Call Graphs: Use ogm_search_code_symbols and ogm_get_code_call_graph.
  4. Degree Centrality Ranking: Use ogm_get_code_chunks to fetch hub nodes sorted by degree.

Read the full file on GitHub · 189 lines

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. 12d ago First seen · 189 lines · 60 tokens per session scan A d651271247fe

Subscribe to this mod's changes

ogm is a skill published in the GitHub repository ardiannurcahya/ogm-mcp-skills (6 stars, last pushed 29d ago), licensed MIT. It adds 60 tokens to every session and 2,645 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

memory-audit-pattern-extraction

A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.

Dataojitori/nocturne_memory · 48 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

memorix-mini-skills

Use when durable project knowledge, gotchas, workflows, or repeated fixes should become reusable agent guidance instead of ordinary memory.

AVIDS2/memorix · 30 tokens

memorix-sessions

Use when resuming work, preparing handoff context, binding an HTTP control-plane project, or deciding whether sessionstart is useful.

AVIDS2/memorix · 31 tokens

frontmcp-extensibility

Use when extending FrontMCP beyond the core SDK by integrating external npm packages, libraries, or third-party services into providers and tools. Covers VectoriaDB for in-memory semantic and vector search (ML-based embeddings or TF-IDF keyword engines, with persistence) and the tamper-evident, hash-chained skill…

agentfront/frontmcp · 124 tokens

frontmcp-testing

Use for anything about testing FrontMCP servers: writing or running unit, integration, and E2E tests and reaching the 95%+ coverage bar. Covers Jest setup and coverage gating; unit-testing a ToolContext execute() with mock context, inputs, and Zod schema validation; testing resources and prompts; in-memory testing via…

agentfront/frontmcp · 175 tokens