Official agent skill

Modcommand Migration

by JetBrains in JetBrains/intellij-community

Convert LocalQuickFix or IntentionAction to the ModCommand API.

OfficialCustom licenceAuto-check passed

Install Modcommand Migration

skills CLI
$ npx skills add JetBrains/intellij-community --skill modcommand-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/intellij-community modcommand-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/intellij-community.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/modcommand-migration .claude/skills/modcommand-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
modcommand-migration
GitHub stars
21k
Token cost
~3.7k tokens
SKILL.md length
1,610 words
Files
4 (incl. references)
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Convert LocalQuickFix or IntentionAction to the ModCommand API.

  • Works in 5 steps: Triage before you touch anything → Pick the target base class → Mechanical edits → …
  • SKILL.md covers Step 1 — Triage before you…, Step 2 — Pick the target base…, Step 3 — Mechanical edits and Step 4 — Rules inside psiUpdate, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Modcommand Migration is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Convert LocalQuickFix or IntentionAction to the ModCommand API.

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/capabilities.md`, `references/psi-updater.md` and `references/recipes.md`).

The repository describes itself as: IntelliJ IDEA & IntelliJ Platform.

Example prompts

  • “/modcommand-migration”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Triage before you touch anything
  2. Pick the target base class
  3. Mechanical edits
  4. Rules inside psiUpdate
  5. Find more candidates

What it can do on your machine

Read from SKILL.md and the folder at commit 562e3a2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are java).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • jetbrains.team
    • docs.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Modcommand Migration loads about 3.7k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 21 tokens; SKILL.md has 1,610 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,610 words (~3,691 tokens).

“Two APIs coexist in this repo, and they are not two styles of the same thing — they have opposite execution models:”

— opening of SKILL.md by JetBrains, Custom licence
name
modcommand-migration

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in .agents/skills/modcommand-migration of JetBrains/intellij-community.

  • SKILL.md
  • references/capabilities.md
  • references/psi-updater.md
  • references/recipes.md

Open the folder on GitHubat commit 562e3a2

Compare with similar skills

Modcommand Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Modcommand Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Modcommand Migration this skillJetBrains/intellij-community21k—~3.7kAutomated safety check: PassCustom licence
Reversible MigrationJuliusBrussee/caveman110k1 repos~196Automated safety check: PassApache-2.0
Convertremotion-dev/remotion62k—~247Automated safety check: PassCustom licence
Database Migrationsaffaan-m/ECC275k4 repos~3kAutomated safety check: PassMIT
Database Migrationsaffaan-m/ECC275k1 repos~2.4kAutomated safety check: PassMIT
Safe Database Migration Patternsaffaan-m/ECC275k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Reversible Migration

    JuliusBrussee/caveman

    Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and…

    110k GitHub starsUsed in 1 repo~196 tokens
    DevelopmentAuto-check passed
  • Convert

    remotion-dev/remotion

    Official

    Start the local @remotion/convert app and open it in the Codex browser.

    62k GitHub stars~247 tokensUpdated today
    Media & CreativeAuto-check passed
  • Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…

    275k GitHub starsUsed in 4 repos~3k tokens
    DatabasesAuto-check passed
  • Şema değişiklikleri, veri migration'ları, rollback'ler ve PostgreSQL, MySQL ve yaygın ORM'ler (Prisma, Drizzle, Django, TypeORM, golang-migrate) arasında sıfır kesinti deployment'ları için…

    275k GitHub starsUsed in 1 repo~2.4k tokens
    DatabasesAuto-check passed
  • Rules and examples for safe, reversible schema changes in production: zero-downtime column and index changes, large data backfills and ORM migration workflows.

    275k GitHub stars~3.3k tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • Guides migrating AngularJS 1.x apps to modern Angular: choosing a strategy, running a hybrid app with ngUpgrade, and converting controllers, directives and services.

    40k GitHub starsUsed in 11 repos~1.8k tokens
    DevelopmentAuto-check passed

More from JetBrains/intellij-community

All 38 skills in this repo
  • Youtrack Community

    JetBrains/intellij-community

    Official

    YouTrack CLI for a community checkout; the monorepo uses youtrack.

    21k GitHub stars~3.2k tokensUpdated today
    Auto-check: notes
  • Compare Python Typecheckers

    JetBrains/intellij-community

    Official

    Compare Python type inference with ty, pyrefly, and basedpyright.

    21k GitHub stars~617 tokensUpdated today
    Auto-check passed
  • Sibling Checkout Commits

    JetBrains/intellij-community

    Official

    Take commits from a sibling checkout as patches, without a fetch.

    21k GitHub stars~753 tokensUpdated today
    Auto-check passed
  • Code Style

    JetBrains/intellij-community

    Official

    Apply IntelliJ Kotlin and Java code style when writing or reviewing.

    21k GitHub stars~795 tokensUpdated today
    Auto-check passed
  • Notebook For Experiment

    JetBrains/intellij-community

    Official

    Create reproducible Jupyter notebooks for performance experiments.

    21k GitHub stars~4.4k tokensUpdated today
    Auto-check: warnings
  • Jewel Markdown

    JetBrains/intellij-community

    Official

    Build or debug Jewel Markdown parsing, rendering, and styling.

    21k GitHub stars~4.3k tokensUpdated today
    Auto-check passed

Questions about Modcommand Migration

What does Modcommand Migration do?

Convert LocalQuickFix or IntentionAction to the ModCommand API. Modcommand Migration is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Convert LocalQuickFix or IntentionAction to the ModCommand API.

How do I install Modcommand Migration in Claude Code?

Run `npx skills add JetBrains/intellij-community --skill modcommand-migration -a claude-code`. Or copy the skill folder (.agents/skills/modcommand-migration in JetBrains/intellij-community) into .claude/skills/modcommand-migration in your project. Claude Code loads it when a task matches its description.

How do I install Modcommand Migration in Codex?

Run `npx skills add JetBrains/intellij-community --skill modcommand-migration -a codex`. Or copy the skill folder (.agents/skills/modcommand-migration in JetBrains/intellij-community) into .agents/skills/modcommand-migration in your project. Codex loads it when a task matches its description.

Can I use Modcommand Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/intellij-community --skill modcommand-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/modcommand-migration, .gemini/skills/modcommand-migration, .github/skills/modcommand-migration and .opencode/skills/modcommand-migration in your project.

What does Modcommand Migration need to run?

SKILL.md names no scripts, command-line tools or credentials: Modcommand Migration is instructions for the agent only.

Does Modcommand Migration access the network?

SKILL.md names 2 domains. As links in the text: jetbrains.team and docs.google.com. This is read from the text; nothing was executed.

Is Modcommand Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Modcommand Migration use?

Modcommand Migration has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Modcommand Migration use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.3k tokens, read only when the agent opens those files.

What are the alternatives to Modcommand Migration?

Skills that share tags, products or a category with Modcommand Migration: Reversible Migration (JuliusBrussee/caveman, 110k stars), Convert (remotion-dev/remotion, 62k stars), Database Migrations (affaan-m/ECC, 275k stars) and Database Migrations (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Modcommand Migration?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/intellij-community, which has 20,613 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 8, 2026.

Source: JetBrains/intellij-community on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.