Home / Commands / microsoft/agent-governance-toolkit

agt-check

Check text against AGT prompt-injection, context-poisoning, and MCP threat detectors.

commandLicense: MIT Source: microsoft/agent-governance-toolkit

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/agt-check.md https://raw.githubusercontent.com/microsoft/agent-governance-toolkit/HEAD/agent-governance-claude-code/commands/agt-check.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/agt-check.md https://raw.githubusercontent.com/microsoft/agent-governance-toolkit/HEAD/agent-governance-claude-code/commands/agt-check.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
description: Check text against AGT prompt-injection, context-poisoning, and MCP threat detectors.
argument-hint: [text]
allowed-tools: mcp__agt_governance__agt_policy_check_text
---

If `$ARGUMENTS` is empty, tell the user to pass text to inspect.

Otherwise, call `mcp__agt_governance__agt_policy_check_text` exactly once with:

```json
{"text":"$ARGUMENTS"}
```

Print the JSON result verbatim. Do not summarize or add commentary.