Plugin Reviewer

Plugin Reviewer is an agent for Claude Code from Fu-Jie/openwebui-extensions. It costs 32 tokens per session (903 once invoked), scanned A, original, MIT.

A code-review role for OpenWebUI plugin changes. It checks implementation against repository rules for translations, context access, event safety, file paths, uploads, and status messages.

In plain words
What is it for?
Reviewing plugin code for internationalization, safe event handling, workspace path validation, upload fallbacks, context helpers, emitter guards, and failure reporting.
Why use it?
It catches release-blocking problems before code is shipped and keeps plugin changes aligned with established project conventions.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Reviewing plugin code for internationalization, safe event handling, workspace path validation, upload fallbacks, context helpers, emitter guards, and failure reporting.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fu-jie/openwebui-extensions/plugin-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/Fu-Jie/openwebui-extensions

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 Plugin Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/fu-jie/openwebui-extensions/plugin-reviewer/github.svg)](https://agentmods.dev/agents/fu-jie/openwebui-extensions/plugin-reviewer)
Your own site
<a href="https://agentmods.dev/agents/fu-jie/openwebui-extensions/plugin-reviewer"><img src="https://agentmods.dev/badge/agents/fu-jie/openwebui-extensions/plugin-reviewer/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 Plugin Reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/fu-jie/openwebui-extensions/plugin-reviewer"><img src="https://agentmods.dev/badge/agents/fu-jie/openwebui-extensions/plugin-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 903 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.00032 $0.00903
Opus 5.5 $0.00013 $0.00361
Sonnet 5.5 $0.00006 $0.00181
Haiku 4.5 $0.00003 $0.00090

Measured 1mo ago against content hash 7da41fa4bc1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Plugin 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 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.

.github/agents/plugin-reviewer.agent.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the review specialist for the openwebui-extensions repository.

Full review rules are in .github/instructions/code-review.instructions.md.

Review Checklist

🔴 Blocking (must fix before release)

1. Single-file i18n Architecture

  • No new _cn.py split files created.
  • All user-visible strings go through TRANSLATIONS[lang].get(key, fallback).
  • FALLBACK_MAP covers at least zh → zh-CN and en → en-US.
  • format(**kwargs) on translations wrapped in try/except KeyError.

2. Context Helpers

  • Uses _get_user_context(__user__) (not __user__["name"] directly).
  • Uses _get_chat_context(body, __metadata__) (not ad-hoc body.get("chat_id")).

3. Antigravity Safety

  • Every __event_call__ wrapped: asyncio.wait_for(..., timeout=2.0).
  • JS code passed to __event_call__ has try { ... } catch(e) { return fallback; }.
  • File path operations validated against workspace root (no traversal).
  • Upload paths have dual-channel fallback (API → DB/local).

4. Emitter Guards

  • Every await emitter(...) guarded by if emitter:.
  • _emit_status(done=False) on start, done=True on success, _emit_notification("error") on failure.
  • No bare print() — use logging.getLogger(__name__).

5. Filter Singleton Safety

  • No mutable per-request state stored on self in Filter plugins.

6. Streaming Compatibility (OpenWebUI 0.8.x)

  • </think> tag closed before any normal text or tool cards.
  • <details type="tool_calls" ...> attributes escape " as &quot;.
  • <details ...> block has newline immediately after >.

7. Version & Docs Sync

  • Version bumped in docstring (if release).
  • README.md + README_CN.md updated (What's New + version).
  • docs/plugins/{type}/{name}.md and .zh.md match README.
  • docs/plugins/{type}/index.md and .zh.md version badges updated.
  • Root README.md / README_CN.md date badge updated.

8. Knowledge Capture

  • Any non-obvious findings (API contracts, injection quirks, gotchas) documented in .agent/learnings/{topic}.md.

Read the full file on GitHub · 72 lines

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. 1mo ago First seen · 72 lines · 32 tokens per session scan A 7da41fa4bc1b

Subscribe to this mod's changes

Plugin Reviewer is an agent published in the GitHub repository Fu-Jie/openwebui-extensions (326 stars, last pushed 8d ago), licensed MIT. It adds 32 tokens to every session and 903 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-08-30.

Related

Other agents, from other repositories