magequery

magequery is a skill for Claude Code, Codex from cresset-tools/magequery. It costs 336 tokens per session (4,303 once invoked), scanned C, original, EUPL-1.2.

A command-line tool for inspecting how Magento 2 connects classes, configuration, and dependency rules.

In plain words
What is it for?
Use it to find which class Magento selects, how plugins and virtual types affect it, and which constructor arguments are used.
Why use it?
It shows how the codebase is wired before you search files manually or start Magento commands.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to find which class Magento selects, how plugins and virtual types affect it, and which constructor arguments are used.

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

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 magequery

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cresset-tools/magequery/skill"><img src="https://agentmods.dev/badge/skills/cresset-tools/magequery/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 336 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00336 $0.04303
Opus 5.5 $0.00134 $0.01721
Sonnet 5.5 $0.00067 $0.00861
Haiku 4.5 $0.00034 $0.00430

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

Security

Grade C, and why

magequery scanned grade C with 2 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 2d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

`curl -LsSf https://bougie.tools/magequery.sh | sh`.

Makes network callslowCapability

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

`curl -LsSf https://bougie.tools/magequery.sh | sh`.
assets/skill/SKILL.md · 292 lines

The source is not reproduced here

Licensed EUPL-1.2

The repository is licensed EUPL-1.2, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed · +5 lines 6457c77ab70e
  2. 5d ago Changed · +3 lines b33a34d7b7db
  3. 8d ago Changed · +47 lines · +28 tokens per session 1b2a3202f398
  4. 12d ago Changed · +2 lines d51a7dd086ed
  5. 1mo ago First seen · 235 lines · 308 tokens per session scan C e50b5ec7e71a

Subscribe to this mod's changes

magequery is a skill published in the GitHub repository cresset-tools/magequery (9 stars, last pushed 3d ago), licensed EUPL-1.2. It adds 336 tokens to every session and 4,303 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, 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

api-integration-architect

Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

sickn33/agentic-awesome-skills · 33 tokens

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

convex-performance-audit

Audits Convex performance for reads, subscriptions, write contention, and function limits. Use for slow features, insights findings, OCC conflicts, or read amplification.

openclaw/clawhub · 38 tokens

convex-insights

Query a running Convex app's logs + health in natural language (official MCP): failures, slow/expensive functions, deploy causality — scoped, evidence-backed, with a dashboard deep link.

openclaw/clawhub · 45 tokens

diagnose-backend-bug

Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Use when a service, API, RPC, worker, queue, CLI, or scheduled job bug needs correlation through the project's existing observability route before repair; do…

QoderAI/better-harness · 87 tokens

platform-apex-anonymous-run

Runs anonymous Apex against the connected org (.apex file or pasted snippet), capturing the debug log, surfacing errors. Triggers on "run this anonymous apex", "execute this script against my org", "what does this code return", or "execute scripts/foo.apex". Wraps scripts in savepoint+rollback; warns before running in…

forcedotcom/sf-skills · 119 tokens