foundation: Skill for Cursor

.cursor/skills/store-neotoma/SKILL.md

store-neotoma is a skill for Cursor from markmhendrickson/foundation. It costs 41 tokens per session (2,352 once invoked), scanned A, a copy of store-neotoma, MIT.

A workflow for reviewing a conversation, showing the exact data that would be saved, and storing it in Neotoma after user confirmation. Neotoma is the specified data store.

In plain words
What is it for?
Use it when a user asks to save the current chat in Neotoma, including the conversation, user and assistant messages, relationships, and attachments.
Why use it?
It prevents unreviewed chat storage and keeps each conversation turn and its attachments linked in a defined structure.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is markmhendrickson/foundation's own configuration. It tells Cursor how to work on foundation itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything foundation configures →

Reuse

Borrowing it

Nothing to install: this file belongs to markmhendrickson/foundation. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/markmhendrickson/foundation/main/.cursor/skills/store-neotoma/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/markmhendrickson/foundation

Made for: Cursor.

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 store-neotoma

README.md
[![agentmods](https://agentmods.dev/badge/skills/markmhendrickson/foundation/store-neotoma.svg)](https://agentmods.dev/skills/markmhendrickson/foundation/store-neotoma)
Your own site
<a href="https://agentmods.dev/skills/markmhendrickson/foundation/store-neotoma"><img src="https://agentmods.dev/badge/skills/markmhendrickson/foundation/store-neotoma.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,352 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 97% 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.00041 $0.02352
Opus 5 $0.00020 $0.01176
Sonnet 5 $0.00008 $0.00470
Haiku 4.5 $0.00004 $0.00235

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

Security

Grade A, and why

store-neotoma 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 8d 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

97% identical to store-neotoma — 21 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.

.cursor/skills/store-neotoma/SKILL.md · 148 lines

How it starts

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

store-neotoma

Purpose

Define the workflow for reviewing chat, building a Neotoma store preview, and executing storage after user confirmation. Neotoma is the only data store; there is no Parquet migration phase.

Canonical location: foundation/.cursor/skills/store-neotoma/SKILL.md (foundation git submodule). Consumer repos may symlink or copy this into .cursor/skills/store-neotoma/ via setup_cursor_copies / setup_cursor_rules.

Scope

Applies when the user asks to store the current chat in Neotoma. Covers preview, user revisions, confirmation, storage, and relationships. Excludes one-off store operations without preview.

Reviews the current chat conversation, builds a preview of records to store in Neotoma, waits for user confirmation (or revision input), then stores conversation, two agent_message entities per logical turn (role: "user" and role: "assistant"), each with PART_OF → conversation — the canonical shape from Neotoma MCP live chat instructions — plus attachments.

Preview-before-execute: On first run, this workflow MUST preview what will be stored and MUST NOT execute storage until the user confirms. User input (corrections, scope changes, exclusions) MUST be applied to revise the preview.

Prerequisites

  • Chat transcript available in agent context (user and agent messages).
  • Neotoma MCP available.
  • Load .cursor/rules/conversation_tracking.mdc and .cursor/rules/neotoma_access_policy.mdc for entity schemas and access rules. conversation_tracking defines dual-message + PART_OF; do not use merged role_user/role_agent on a single agent_message.

Phase 0: Preview (MANDATORY — Execute First)

Step 0.1 — Extract and build preview

Parse all user and agent messages in the conversation. For each logical turn (user message + following assistant reply):

  • User row (preview + store): entity_type: agent_message, role: "user", content = exact user text, turn_key (stable per turn), optional turn_number (1-based), timestamp, files_modified, tools_used, platform, model, neotoma_operations (inferred from the turn).
  • Assistant row (preview + store): entity_type: agent_message, role: "assistant", content = exact assistant text shown in chat, turn_key e.g. same base + :assistant, optional same turn_number / timestamp for sorting.
  • Topics: extract from user questions, entity types discussed, file paths, domain keywords (finance, admin, health, work).
  • Decisions: extract when agent states an approach, user confirms a choice, or implementation strategy is chosen.
  • Action items: tasks to create, follow-ups mentioned.
  • files_modified: file paths from tool calls, @-mentions, or explicit file references (typically attributed to the user message for that turn).
  • neotoma_operations: inferred from agent tool-call patterns (store_structured, correct, create_relationship).

Read the full file on GitHub · 148 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. 8d ago First seen · 148 lines · 41 tokens per session scan A 34f4a2abcfe5

Subscribe to this mod's changes

store-neotoma is a skill published in the GitHub repository markmhendrickson/foundation (2 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 2,352 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to store-neotoma, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens