Borrowing it
Nothing to install: this file belongs to omeryemba/mcp-hayabusa. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/omeryemba/mcp-hayabusa/master/.claude/commands/query.mdgit clone --depth 1 https://github.com/omeryemba/mcp-hayabusaWrote 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.
[](https://agentmods.dev/commands/omeryemba/mcp-hayabusa/query)<a href="https://agentmods.dev/commands/omeryemba/mcp-hayabusa/query"><img src="https://agentmods.dev/badge/commands/omeryemba/mcp-hayabusa/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.
<a href="https://agentmods.dev/commands/omeryemba/mcp-hayabusa/query"><img src="https://agentmods.dev/badge/commands/omeryemba/mcp-hayabusa/query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.00359 |
| Opus 5.5 | $0.00004 | $0.00144 |
| Sonnet 5.5 | $0.00002 | $0.00072 |
| Haiku 4.5 | $0.00001 | $0.00036 |
Grade A, and why
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.
What it actually says
Workflow
You are performing a defensive security investigation.
Input
Arguments: $ARGUMENTS
Parse as:
- query_file (required) — path to a file containing the SIEM query to run. If missing, stop and ask the user for a query file.
- timerange (optional) — defaults to
-24hif not given.
Example:
/query queries/suspicious_logons.txt -24h
Steps
-
Confirm
query_filewas supplied and exists; stop and ask if not. Read the query from it, then execute that query for the giventimerange(default-24h) against SIEM data, if a SIEM MCP tool or resource is configured in this environment. If no SIEM integration is available, say so explicitly rather than silently skipping this step. -
Analyse the results and extract:
- suspicious processes
- users
- IP addresses
- files
- commands
- authentication activity
-
Identify possible MITRE ATT&CK techniques from the findings.
-
Use the detection MCP resources to check:
- whether detection rules exist
- which Sigma rules provide coverage
- whether coverage gaps exist
-
Generate an investigation note.
Output
Investigation Summary
Findings
ATT&CK Mapping
| Technique | Description |
|---|---|
Detection Coverage
| Technique | Status | Rule |
|---|---|---|
Recommendations
- Investigate uncovered techniques.
- Review existing detections.
- Improve detection coverage where gaps exist.
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.
- 1mo ago First seen · 69 lines · 9 tokens per session scan A d0e8c2edfd56
query is a command published in the GitHub repository omeryemba/mcp-hayabusa (1 stars, last pushed 2mo ago), licensed MIT. It adds 9 tokens to every session and 359 once invoked, about $0.0000 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-31.
Other commands, from other repositories
fortigate
Run cs-security-analyst (AT + CA workflows) against the Fintech FortiGate zero-day scenario and produce a 7-task scorecard.
run
Load a USAP skill SKILL.md and activate it as your operating persona. Argument: skill slug.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.