Multitenancy Isolation Guard

Multitenancy Isolation Guard is a skill for Claude Code from s977043/river-review. It costs 53 tokens per session (560 once invoked), scanned A, original, MIT.

A design review checker for multi-tenant systems, where one application serves multiple separate customers or organizations. It checks whether customer data, permissions, resources, and failures remain isolated.

In plain words
What is it for?
It is for reviewing tenant scoping in database queries, caches, queues, storage, authentication, authorization, rate limits, and monitoring.
Why use it?
It helps detect ways one customer could access another customer’s data, consume shared resources unfairly, or be affected by another customer’s outage.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the river-review plugin — 138 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit It is for reviewing tenant scoping in database queries, caches, queues, storage, authentication, authorization, rate limits, and monitoring.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s977043/river-review/multitenancy-isolation
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.

Any agent
npx skills add s977043/river-review --skill multitenancy-isolation
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: Claude Code.

Or install river-review, the plugin that ships this one along with the rest of its 138 skills, 18 commands, 5 agents, 3 hooks.

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 Multitenancy Isolation Guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/s977043/river-review/multitenancy-isolation/github.svg)](https://agentmods.dev/skills/s977043/river-review/multitenancy-isolation)
Your own site
<a href="https://agentmods.dev/skills/s977043/river-review/multitenancy-isolation"><img src="https://agentmods.dev/badge/skills/s977043/river-review/multitenancy-isolation/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 Multitenancy Isolation Guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/s977043/river-review/multitenancy-isolation"><img src="https://agentmods.dev/badge/skills/s977043/river-review/multitenancy-isolation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 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.00053 $0.00560
Opus 5 $0.00026 $0.00280
Sonnet 5 $0.00011 $0.00112
Haiku 4.5 $0.00005 $0.00056

Measured 8d ago against content hash d5e6030afc76, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Multitenancy Isolation Guard 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 8d 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.

skills/upstream/multitenancy-isolation/SKILL.md · 62 lines

What it actually says

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: マルチテナント設計の差分からテナント分離(データ/権限/リソース/障害影響)の抜けをレビューし、テナント越境シナリオを逆照射する。

Guidance

  • Confirm tenant scoping for data paths (queries, cache keys, queues, storage).
  • Check auth and authorization flows prevent cross-tenant access (IDOR, tenant headers).
  • Call out noisy-neighbor risks: shared pools, rate limits, or job queues without fairness.
  • Ensure failure isolation and observability are tenant-aware.

Non-goals

  • テナント以外の一般的な設計批評は避ける。

Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。

  • 対象ファイルにマルチテナントに関する設計・アーキテクチャドキュメントが含まれている
  • 対象ファイルにテナント分離(データアクセス・権限・リソース分離)に関する記述がある
  • inputContextにfullFileが含まれている

ゲート不成立時の出力: NO_REVIEW: multitenancy-isolation — マルチテナント設計に関する差分がない

False-positive guards

  • 既に tenant_id フィルターや RLS/名前空間化が明示されている場合、差分外の記述のみでは指摘しない。
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. 8d ago First seen · 62 lines · 53 tokens per session scan A d5e6030afc76

Subscribe to this mod's changes

Multitenancy Isolation Guard is a skill published in the GitHub repository s977043/river-review (3 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 560 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

punchcard

Architecture-level design review of a code change: module boundaries, dependency direction, data model, error paths, cost of the next change — never naming, formatting, or anything a linter catches. Use when the user invokes /punchcard, says 'punchcard review', or asks for any design, architecture, or structural…

Maksim-Burtsev/punchcard · 102 tokens

application-patterns

Architecture pattern selection, folder structures, coding conventions, error handling, testing strategies, and platform-specific patterns for structuring application code.

navraj007in/architecture-cowork-plugin · 29 tokens

python-services

Python patterns for CLI tools, async parallelism, and backend services. Use when building CLI apps, async/parallel Python, FastAPI services, background jobs, or configuring Python project tooling (uv, ruff, ty).

iliaal/whetstone · 48 tokens

nodejs-backend

Node.js backend patterns: framework selection, layered architecture, TypeScript, validation, error handling, security, production deployment. Use when building REST APIs, Express/Fastify servers, microservices, or server-side TypeScript.

iliaal/whetstone · 50 tokens

backend-clean-architecture

Use this skill when the user asks 'where does this code go', 'what layer', 'clean architecture', 'hexagonal', 'ports and adapters', 'domain layer', 'application layer', 'infrastructure layer', 'should this be in service or repository', or when designing or reviewing backend code organization. This skill enforces…

j4flmao/agent-skills · 118 tokens

php-laravel

Modern PHP 8.2+ and Laravel patterns: architecture, Eloquent, queues, Pest testing. Use when asked to "write PHP", "build a Laravel app", "fix Eloquent query", "add a queue job", "write a Pest test", or mentions PHP, Laravel, Eloquent, Blade, artisan, or migrations.

iliaal/whetstone · 74 tokens