cortex-query

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

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.

agentmods
npx agentmods add skills/fozikio/cortex-engine/cortex-query
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.

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. Scan, not verified.
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 $0.00030 $0.00195
Opus 5 $0.00015 $0.00097
Sonnet 5 $0.00006 $0.00039
Haiku 4.5 $0.00003 $0.00019

Measured yesterday against content hash 5f9d5965077d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 (49 stars, last pushed 13d ago), licensed MIT. It adds 30 tokens to every session and 195 once invoked, about $0.0002 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

graph-mutation-plan

Cookbook for composing an applygraphmutations plan — stable entitykey patterns, the canonical label/edge vocabulary, evidence/invalidation/confidence discipline, and a worked example. Load this when building a non-trivial mutation plan.

potpie-ai/potpie · 51 tokens

potpie-infra-architecture

Use for project infra and architecture context: environments, adapters, runtime configuration, deployments, service dependencies, datastores, API contracts, ownership, incidents, and dependency blast radius.

potpie-ai/potpie · 43 tokens

wiki-context-pack

Produce a token-bounded, citation-ready context slice from an existing Obsidian vault for a downstream agent or task. Use for "/wiki-context-pack", "use my vault as context", "context slice for X", "pack the wiki for my agent", or "bounded context for Y".

Ar9av/obsidian-wiki · 63 tokens

alfworld-receptacle-finder

Searches for a suitable empty or appropriately occupied receptacle (like a shelf or table) to place an object. Use when you are holding an object that needs to be stored or placed and must find a receptacle that meets the placement criteria. Examines candidate receptacles by navigating to and inspecting each one until…

zjunlp/SkillNet · 76 tokens

alfworld-search-pattern-executor

Systematically searches a sequence of likely locations for a target object based on common sense. Use when you need to find a specific object and know which receptacles to check but not which one contains it. Takes a list of candidate receptacles, orchestrates navigation and inspection, and outputs when the target is…

zjunlp/SkillNet · 74 tokens

ux-ui-analyze-single-page

Analyze exactly one captured UI page (from uxuimap screenshots + request JSON) and immediately write/update uxuimap/pages/{page}.md in neutral descriptive language. Use when asked to analyze screenshots, rewrite corresponding analysis immediately, or avoid memory/context saturation.

raphaelmansuy/edgequake · 58 tokens