query-memory

query-memory is a skill for Claude Code, Codex from markmhendrickson/neotoma. It costs 25 tokens per session (621 once invoked), scanned A, original, MIT.

A tool for searching and retrieving information saved in Neotoma memory, including records, relationships, and events over time. Neotoma is a memory system for storing information across sessions.

In plain words
What is it for?
Use it to retrieve contacts, tasks, events, transactions, and other entities by identifier, text, category, date, or relationship.
Why use it?
It helps you find previously saved facts without manually reviewing every stored item. You can look up a specific person or item, search by type, inspect dates, or follow related records.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve contacts, tasks, events, transactions, and other entities by identifier, text, category, date, or relationship.

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

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 query-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/markmhendrickson/neotoma/query-memory"><img src="https://agentmods.dev/badge/skills/markmhendrickson/neotoma/query-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 621 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.00621
Opus 5.5 $0.00010 $0.00248
Sonnet 5.5 $0.00005 $0.00124
Haiku 4.5 $0.00003 $0.00062

Measured 2mo ago against content hash 7a7f4899aa3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

query-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 2mo 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.

skills/query-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.

Query Neotoma Memory (deprecated)

Retired: this skill duplicated primitive Neotoma MCP retrieval behavior and had drifted from the live MCP contract (e.g. its own response-format rule below overrode the MCP's current display contract). Retrieval guidance for a connected MCP session now lives entirely in the live MCP tool instructions returned at session start — no skill needs to be loaded for it.

This file is kept on disk only so existing links (symlinks, SkillHub listings, GitHub blob links) keep resolving. It is excluded from fresh installs and from available_skills.

When to use

When the user asks about previously stored information, wants to recall facts, explore relationships, or view a timeline of events.

Retrieval strategy

Start with narrow, targeted queries and expand only on ambiguity or low confidence.

By identifier (names, emails, specific items)

Use retrieve_entity_by_identifier first:

  • Fast lookup by name, email, tax_id, or any canonical identifier.
  • Optionally scope to a specific entity_type.

By type or category

Use retrieve_entities with filters:

  • entity_type: filter to a specific type (task, contact, event, transaction).
  • search: free-text semantic search across all fields.
  • published_after/published_before: date range filters.
  • sort_by/sort_order: control ordering.
  • limit/offset: pagination.

By time

Use list_timeline_events for chronological queries:

  • Filter by event type, date range, or source.
  • Returns events derived from date fields in stored data.

By relationships

Use retrieve_related_entities to traverse the entity graph:

  • Start from a known entity and follow relationship links.
  • Control direction (inbound, outbound, both) and hop count.

Use retrieve_graph_neighborhood for a full picture:

  • Returns related entities, relationships, sources, and events around a node.

Entity details

Use retrieve_entity_snapshot for the full current state of a single entity with provenance. Use list_observations to see the complete history of changes. Use retrieve_field_provenance to trace a specific field back to its source.

Read the full file on GitHub · 79 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. 2mo ago Changed · +11 lines · +6 tokens per session 7a7f4899aa3a
  2. 2mo ago First seen · 68 lines · 19 tokens per session scan A 21a8f4936a8e

Subscribe to this mod's changes

query-memory is a skill published in the GitHub repository markmhendrickson/neotoma (37 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 621 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

query-memory compared with skills from other repositories

query-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
query-memorymarkmhendrickson/neotomaSkill37yesterdayMITA25Claude Code, Codex
taste-companionwhiteguo233/OpenBiliClawSkill3.8k4d agoMITA26Claude Code, Codex
taste-explorerwhiteguo233/OpenBiliClawSkill3.8k4d agoMITA33Claude Code, Codex
emem-multi-agent-handoffVortx-AI/ememSkill91yesterdayApache-2.0A172Claude Code
emem-sign-and-attestVortx-AI/ememSkill91yesterdayApache-2.0A172Claude Code
emem-shared-identityVortx-AI/ememSkill91yesterdayApache-2.0A0Claude Code
emem-long-horizon-memoryVortx-AI/ememSkill91yesterdayApache-2.0A164Claude Code