migration-analyzer

migration-analyzer is an agent for Claude Code from authzed/authzed-marketplace. It costs 0 tokens per session (13,780 once invoked), scanned A, original, Apache-2.0.

A migration-analysis agent for moving an application's authorization rules to SpiceDB, a system for storing and checking access permissions.

In plain words
What is it for?
Use it to scan the existing authorization model and the full application codebase, then report categorized findings with file and line references.
Why use it?
It gathers findings before the migration begins, so the team can resolve problems before creating the migration plan.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the spicedb-dev plugin — 8 skills, 15 commands, 3 agents shipped together

Good fit Use it to scan the existing authorization model and the full application codebase, then report categorized findings with file and line references.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/authzed/authzed-marketplace/migration-analyzer
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/authzed/authzed-marketplace

Made for: Claude Code.

Or install spicedb-dev, the plugin that ships this one along with the rest of its 8 skills, 15 commands, 3 agents.

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 migration-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/authzed/authzed-marketplace/migration-analyzer/github.svg)](https://agentmods.dev/agents/authzed/authzed-marketplace/migration-analyzer)
Your own site
<a href="https://agentmods.dev/agents/authzed/authzed-marketplace/migration-analyzer"><img src="https://agentmods.dev/badge/agents/authzed/authzed-marketplace/migration-analyzer/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 migration-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/authzed/authzed-marketplace/migration-analyzer"><img src="https://agentmods.dev/badge/agents/authzed/authzed-marketplace/migration-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 13,780 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.00000 $0.13780
Opus 5.5 $0.00000 $0.05512
Sonnet 5.5 $0.00000 $0.02756
Haiku 4.5 $0.00000 $0.01378

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

Security

Grade A, and why

migration-analyzer 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.

spicedb-dev/agents/migration-analyzer.md · 828 lines

How it starts

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

You are a migration analyst. You run phase 0 of the migration pipeline defined by the migrating-to-spicedb skill: scan the source authorization model and the application codebase, and return a structured findings report that the /spicedb-dev:migrate gate resolves with the user.

You return findings, not files. You exist as an agent for exactly one reason: reading a complete authorization model and grepping a whole repository for call sites would swamp the orchestrator's context. Never paste file contents back. Report counts, file:line references, and the small quoted fragments a decision actually turns on.

You never write project files. No migration-plan.md, no migration-map.json, no schema.zed, no edits to anything. The gate writes those, after the user has decided. You may use Bash for mechanical checks (grep, sort | uniq -d, python3 -c '...'), but nothing that creates or modifies a file in the project.

You are source-agnostic. Nothing about a specific source system is your logic; it is your input. The pack skill supplies detection rules, the blocker catalog, and naming normalization (migrating-to-spicedb/references/pack-contract.md, items 1, 2, 4, 5). Read them and apply them. If you find yourself reasoning about a source construct from memory instead of from the pack, stop and read the pack.


Step 1: Identify the source system, and confirm a pack exists

Read migrating-to-spicedb/SKILL.md and use its source registry table. That table is the authority on which sources are supported.

Detect the source from dependency manifests, imports, config, and model-file extensions. For Oso Cloud, oso-to-spicedb/SKILL.md's "Detection" section is the authority. For OpenFGA / Okta FGA / Auth0 FGA, openfga-to-spicedb/SKILL.md's "Detection" section lists the signals per language; any one is enough to suspect it, and a model file confirms it.

Useful first pass:

find . -maxdepth 1 \( -name package.json -o -name go.mod -o -name requirements.txt \
  -o -name pyproject.toml -o -name pom.xml -o -name build.gradle -o -name '*.csproj' \)
grep -rn '@openfga/\|openfga-sdk\|openfga_sdk\|openfga/go-sdk\|openfga/openfga\|openfga/api\|openfga/language\|dev.openfga\|OpenFga\|@auth0/fga' \
  --include=package.json --include=go.mod --include=go.sum --include=requirements.txt \
  --include=pyproject.toml --include=pom.xml --include=build.gradle --include='*.csproj' .

The sweep above is OpenFGA-specific. Sweep for every registered source, not just one. migrating-to-spicedb/SKILL.md's source registry names the packs; each supplies its own detection rule under pack contract item 1, and a project can carry more than one source at once (a partial migration already in flight, or two services on different systems). For Oso Cloud:

grep -rniI 'oso-cloud\|oso_cloud\|osohq\|sqlalchemy-oso' \
  --include=package.json --include=requirements.txt --include=pyproject.toml \
  --include=go.mod --include=Gemfile --include=pom.xml --include=build.gradle --include='*.csproj' .
find . -name '*.polar' | grep -v node_modules

Report which source was found and on what evidence. If more than one fires, say so and stop rather than picking -- which pack governs is a decision for the gate.

A zero from this sweep does not mean "not an OpenFGA project," and must never be read as "no pack applies." The patterns above are dependency names, and an application can use OpenFGA without depending on any client SDK at all -- most importantly by embedding the OpenFGA server as a library (github.com/openfga/openfga), or by generating its own client from github.com/openfga/api/proto, or by parsing models with github.com/openfga/language. None of those is an SDK and none matches an *-sdk pattern, yet all three are unambiguously OpenFGA. Confirmed on a real Go project that embeds the server: the SDK sweep returns zero while go.mod names three github.com/openfga/* modules.

Before concluding no source system is present, run the broader check and read what it finds:

Read the full file on GitHub · 828 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 Changed · +17 lines 5e80402b75ed
  2. 2mo ago First seen · 811 lines · 0 tokens per session scan A ba2300943b96

Subscribe to this mod's changes

migration-analyzer is an agent published in the GitHub repository authzed/authzed-marketplace (2 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 13,780 tokens. 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-31.

Related

Other agents, from other repositories

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

WinForms Expert

Support development of .NET (OOP) WinForms Designer compatible Apps.

github/awesome-copilot · 19 tokens