cortex-query

cortex-query is a skill for Claude Code, Codex from Fozikio/cortex-engine. It costs 30 tokens per session (195 once invoked), scanned A, original, MIT.

A deprecated memory skill that has been merged into cortex-engine, a local memory system for AI agents.

In plain words
What is it for?
Install and use cortex-engine instead. The input says it includes everything from cortex-query plus additional memory-grounded review workflows.
Why use it?
Using the replacement avoids following old instructions and provides the newer code-review and source-verification workflows mentioned in the input.

Skill for Claude CodeCodex

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

Good fit Install and use cortex-engine instead. The input says it includes everything from cortex-query plus additional memory-grounded review workflows.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fozikio/cortex-engine/cortex-query"><img src="https://agentmods.dev/badge/skills/fozikio/cortex-engine/cortex-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 195 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.00030 $0.00195
Opus 5.5 $0.00012 $0.00078
Sonnet 5.5 $0.00006 $0.00039
Haiku 4.5 $0.00003 $0.00019

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

Security

Grade A, and why

cortex-query 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 1mo 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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/cortex-query/SKILL.md · 26 lines

What it actually says

Deprecated — Use cortex-engine

This skill has been consolidated into cortex-engine.

Install the replacement:

clawhub install idapixl/cortex-engine

The ClawHub slug is idapixl/cortex-engine. @fozikio/cortex-engine is the npm package this skill depends on, which is a separate install:

npm install -g @fozikio/cortex-engine

The new skill includes everything from cortex-query plus memory-grounded code review workflows, current install instructions, and source verification links.

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. 1mo ago First seen · 26 lines · 30 tokens per session scan A 5f9d5965077d

Subscribe to this mod's changes

cortex-query is a skill published in the GitHub repository Fozikio/cortex-engine (50 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 195 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-08-30.

Related

Other skills, from other repositories

ori-memory

Persistent agent memory with learning retrieval. Knowledge graph on markdown files — capture insights, decisions, research, and learnings during work, then retrieve them weeks or months later. Use when knowledge is too valuable to lose but too much to inject into every prompt.

aayoawoyemi/Ori-Mnemos · 54 tokens

lemmalog

Externalize working memory and logical state into the lemmalog Datalog engine (MCP). Use for ANY multi-step task where state should outlive one context window or span agents: long investigations, debugging sessions, audits, multi-agent searches, systematic explorations, planning with many interdependent constraints…

JordyZomer/lemmalog · 105 tokens

linglu-discipline

A set of 16 operating rules for an AI coding agent, including when to read or write long-term memory and how to report completed actions. It is designed to work with the Lingshu memory service through an MCP connection.

FuRongJun-1999/dsh-memory · 73 tokens

braindb-agent

Persistent memory across sessions via the BrainDB agent. Use at conversation start and whenever you need to recall what you know about the user or save new information to long-term memory.

dimknaf/braindb · 40 tokens

forgetful-entities

Model the things knowledge attaches to — people, organisations, devices, products, system components. Use when a new thing surfaces that memories will reference, when relationships between things need recording (owns, depends on, part of), or when another skill routes a pointable thing here. Litmus: an entity is a…

ScottRBK/forgetful · 80 tokens

forget

Delete a memory from Wenlan by ID. Destructive and cannot be undone — prefer /capture with supersedes for corrections. Invoked as /forget .

wenlan-app/wenlan · 41 tokens