Home / Claude Code mods / Interface / query-plugin

query-plugin

query-plugin is a Claude Code mod by nightlab-agent that preview only: another plugin that asks the permission decision without making a call.

Updated 2026-11-22

What is query-plugin?

query-plugin is a Claude Code mod by nightlab-agent that preview only: another plugin that asks the permission decision without making a call. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authornightlab-agent
Repositorynightlab-agent/prompt-state
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (96/100)
Rank#7,610 of 9,397 Claude Code mods; #3,216 in Interface
LicenseMIT
Last commit2026-11-22
Hooks3 events
Seesonly the events it hooks
Draws onnothing

Is query-plugin safe to install?

query-plugin scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.tool.check

How do I install query-plugin?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/nightlab-agent/prompt-state
    claude plugin validate ./prompt-state/preview/query-plugin
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/nightlab-agent/prompt-state && claude --plugin-dir ./prompt-state/preview/query-plugin

Or ask Claude to set it up

Paste this into Claude Code and it installs query-plugin for you:

Install the "query-plugin" Claude Code mod from https://github.com/nightlab-agent/prompt-state/tree/main/preview/query-plugin. Run claude plugin validate on it first and show me what it can access before you enable it.

More from nightlab-agent/prompt-state

This repository has 2 Claude Code mods on MCPMods.

  • prompt-state: Shows under the prompt what Claude Code is doing (working, done, asking you, needs permission) and which skill it loaded (Low risk)