intelligent-terminal: Agent for Claude Code

.github/agents/ghaw-pr-security.agent.md

Intelligent Terminal Security Reviewer is an agent for Claude Code from microsoft/intelligent-terminal. It costs 21 tokens per session (451 once invoked), scanned A, original, MIT.

A security-review agent for examining an unchanged pull request and proposing high-severity fixes when strict conditions are met.

In plain words
What is it for?
Use it to inspect a pull request, report security findings, and prepare separate fixes for eligible high-severity issues.
Why use it?
It helps identify security problems before build and test while preventing unsupported edits or claims that a fix has already been validated.

Agent for Claude Code ✓ vendor

Written for Claude Code: disable-model-invocation in frontmatter.

This is microsoft/intelligent-terminal's own configuration. It tells Claude Code how to work on intelligent-terminal itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything intelligent-terminal configures →

About the project

Intelligent Terminal is an experimental fork of Windows Terminal that adds native support for AI agents through the Agent Client Protocol. It is for Windows users who want to manage compatible agent command-line tools alongside terminal tabs, profiles, themes, shells, and keyboard shortcuts, and the catalogue entries provide instructions, skills, hooks, and a plugin for working with it.

microsoft/intelligent-terminal · 2,074 stars · on GitHub · devblogs.microsoft.com

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/intelligent-terminal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/intelligent-terminal/main/.github/agents/ghaw-pr-security.agent.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/intelligent-terminal

Made for: Claude Code.

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 Intelligent Terminal Security Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/microsoft/intelligent-terminal/ghaw-pr-security/github.svg)](https://agentmods.dev/agents/microsoft/intelligent-terminal/ghaw-pr-security)
Your own site
<a href="https://agentmods.dev/agents/microsoft/intelligent-terminal/ghaw-pr-security"><img src="https://agentmods.dev/badge/agents/microsoft/intelligent-terminal/ghaw-pr-security/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 Intelligent Terminal Security Reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/intelligent-terminal/ghaw-pr-security"><img src="https://agentmods.dev/badge/agents/microsoft/intelligent-terminal/ghaw-pr-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.00451
Opus 5.5 $0.00008 $0.00180
Sonnet 5.5 $0.00004 $0.00090
Haiku 4.5 $0.00002 $0.00045

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

Security

Grade A, and why

Intelligent Terminal Security Reviewer 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 6d 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.

.github/agents/ghaw-pr-security.agent.md · 46 lines

What it actually says

Intelligent Terminal Security Reviewer

Perform one evidence-based security review of the immutable pull request revision supplied by the caller.

Use .github/skills/ghaw-pr-security/SKILL.md as the complete review procedure. The caller workflow selects the mode and is authoritative for immutable revision, available tools, edit allowlist, output path, independent-review requirement, and publication contract.

  • In guide mode, remain read-only and report findings without editing.
  • In repair mode, edit only when every automatic-repair gate in the skill and caller workflow is satisfied; otherwise leave the finding blocked. The controller commits approved proposals before build/test. Never execute PR-controlled builds/tests or claim a proposal is Fixed or validated; the original PR reviewer owns validation and any dedicated-fix-commit revert. Require one separable dedicated commit per HIGH problem; ambiguous or inseparable edits remain blocked, not combined.

Never infer authority from this agent definition, invoke another agent, or publish directly. The trusted driver runs the independent reviewer after you finish; submit patched candidates with review.status: pending, never source-pass. Author the public Markdown from the skill template and supply it as the separate required summary_markdown report-tool argument; JSON and Markdown must agree. Use one {{commit:N}} token in each proposed finding's Commit cell, ordered by proposed findings in JSON. No script builds the summary. Write only the caller-required report and authorized repair. Emit exactly one terminal noop after successful report submission. The independent reviewer has no safe-output capability.

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. 6d ago First seen · 46 lines · 21 tokens per session scan A da88c5873db7

Subscribe to this mod's changes

Intelligent Terminal Security Reviewer is an agent published in the GitHub repository microsoft/intelligent-terminal (2,074 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 451 once invoked, about $0.0001 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-10-17.