install-review

install-review is a command for coding agents from el-feo/ai-context. It costs 15 tokens per session (539 once invoked), scanned A, original, MIT.

A command guide for installing a GitHub Actions workflow that reviews pull requests for refactoring opportunities using the Fowler plugin. GitHub Actions are automated jobs that run in a repository.

In plain words
What is it for?
Use it to install the Fowler review workflow, optionally limit reviews to selected file paths, and trigger reviews on pull requests or with the /fowler comment.
Why use it?
It checks that the repository and GitHub remote are suitable, avoids overwriting an existing workflow without approval, and sets up automated code-smell comments on pull requests.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the fowler plugin — 1 skill, 2 commands shipped together

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.

agentmods
npx agentmods add commands/el-feo/ai-context/install-review
Clone the repo
git clone --depth 1 https://github.com/el-feo/ai-context

Or install fowler, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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 install-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/el-feo/ai-context/install-review.svg)](https://agentmods.dev/commands/el-feo/ai-context/install-review)
Your own site
<a href="https://agentmods.dev/commands/el-feo/ai-context/install-review"><img src="https://agentmods.dev/badge/commands/el-feo/ai-context/install-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 539 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00539
Opus 5 $0.00008 $0.00269
Sonnet 5 $0.00003 $0.00108
Haiku 4.5 $0.00002 $0.00054

Measured 5d ago against content hash 7a1054fd4560, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

install-review 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 5d 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.

plugins/fowler/commands/install-review.md · 51 lines

What it actually says

Install the Fowler refactoring review workflow into this repository. The workflow runs claude-code-action on every opened/reopened PR (and on /fowler PR comments), installs the fowler plugin from the jebs-dev-tools marketplace into the CI runner, and delivers a code-smell diagnosis as inline PR comments plus one summary comment with a prioritized refactoring order.

The generic template lives at ${CLAUDE_PLUGIN_ROOT}/templates/fowler-review.yml.

Follow these steps:

  1. Verify the repo. Confirm the current directory is a git repository with a GitHub remote (git remote -v). If not, stop and explain that the workflow only works on GitHub-hosted repos.

  2. Check for an existing install. If .github/workflows/fowler-review.yml already exists, show the user how it differs from the template and ask before overwriting.

  3. Copy the template to .github/workflows/fowler-review.yml (create the directory if needed).

  4. Scope the review (optional). If the user passed path globs as arguments, or asks to limit the review to part of the codebase:

    • Add a paths: filter under the pull_request trigger with those globs (replace the commented example).
    • Update the Scope: paragraph in the prompt to say the review covers ONLY changed files matching those paths and ignores changes elsewhere.

    If no scope was given, leave the template as-is — it reviews all changed files in the PR.

  5. Verify the secret. Run gh secret list and check for CLAUDE_CODE_OAUTH_TOKEN. If it's missing, tell the user to create one:

    claude setup-token   # generates an OAuth token (requires a Claude subscription)
    gh secret set CLAUDE_CODE_OAUTH_TOKEN
    
  6. Summarize. Tell the user: the workflow file installed, how it triggers (auto on PR open/reopen; /fowler comment from an owner/member/collaborator for a re-review), any scoping applied, and whether the secret is in place. Offer to commit the workflow file — but do not commit without their say-so.

$ARGUMENTS

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. 5d ago First seen · 51 lines · 15 tokens per session scan A 7a1054fd4560

Subscribe to this mod's changes

install-review is a command published in the GitHub repository el-feo/ai-context (12 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 539 once invoked, about $0.0001 per session on Opus 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-30.