Official agent skill

Extract Module

by JetBrains in JetBrains/intellij-community

Extract optional plugin dependencies into IntelliJ content modules.

OfficialCustom licenceAuto-check passedMobile

Install Extract Module

skills CLI
$ npx skills add JetBrains/intellij-community --skill extract-module -a claude-code

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

GitHub CLI
$ gh skill install JetBrains/intellij-community extract-module --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/extract-module .claude/skills/extract-module && 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
extract-module
GitHub stars
21k
Token cost
~5.2k tokens
SKILL.md length
1,979 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Extract optional plugin dependencies into IntelliJ content modules.

  • Works in 8 steps: Create the module directory → Write the .iml → Write the module descriptor XML → …
  • Tasks that involve Android development
  • SKILL.md covers When to Use Each Pattern, Steps, Required Commands After Changes and Common Pitfalls, plus 2 more sections
  • Calls git and bun

What it does

Extract Module is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Extract optional plugin dependencies into IntelliJ content modules.

Its SKILL.md is about 5.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Android development. It works with JetBrains IDEs and Kotlin. The repository describes itself as: IntelliJ IDEA & IntelliJ Platform.

When your agent uses it

  • Tasks that involve Android development

Example prompts

  • “/extract-module”

Workflow steps

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

  1. Create the module directory
  2. Write the .iml
  3. Write the module descriptor XML
  4. Package and source file conventions
  5. Declare the EP in the host module (Pattern B only)
  6. Register the new module in the plugin
  7. Fix downstream consumers of the removed transitive dependency
  8. git add all new files

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

    Shell commands in SKILL.md call:

    • git
    • bun

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Extract Module loads about 5.2k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 1,979 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
~5.2k

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,979 words (~5,221 tokens).

“Use this guide when making a dependency of a plugin module optional by moving it into a separate content module.”

— opening of SKILL.md by JetBrains, Custom licence
name
extract-module

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/extract-module of JetBrains/intellij-community.

Open the folder on GitHubat commit 562e3a2

Compare with similar skills

Extract Module 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.

Extract Module compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Extract Module this skillJetBrains/intellij-community21k—~5.2kAutomated safety check: PassCustom licence
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Kotlin Tooling Kotlin ToolchainKotlin/kotlin-agent-skills1.1k—~2.4kAutomated safety check: PassApache-2.0
Migrate Intellij Utilflutter/flutter-intellij2k—~600Automated safety check: PassBSD-3-Clause
Kotlin Tooling Agp9 MigrationJetBrains/skills3642 repos~5.6kAutomated safety check: PassApache-2.0
CodefmtAmplicode/spring-skills126—~595Automated safety check: PassNone

Similar skills

  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Kotlin Tooling Kotlin Toolchain

    Kotlin/kotlin-agent-skills

    Load when building, running, testing, packaging, linting, or configuring a Kotlin/Java project with the Kotlin Toolchain (JetBrains' unified CLI, formerly Amper), when scaffolding a new or…

    1.1k GitHub stars~2.4k tokensUpdated 8 days ago
    MobileAuto-check passed
  • Migrate Intellij Util

    flutter/flutter-intellij

    Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

    2k GitHub stars~600 tokensUpdated today
    MobileAuto-check passed
  • Official

    Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+.

    364 GitHub starsUsed in 2 repos~5.6k tokens
    MobileAuto-check passed
  • Codefmt

    Amplicode/spring-skills

    Reformat source code in this project using its own code-style settings — through the IntelliJ IDE when it's running, otherwise via the project's own formatter (Spotless / google-java-format /…

    126 GitHub stars~595 tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Mps Tests

    JetBrains/MPS

    Official

    A skill your agent uses when writing or modifying tests inside MPS @tests models — NodesTestCase (typesystem, constraints, scopes, dataflow, generator output), EditorTestCase (intentions, actions…

    1.7k GitHub stars~2.9k tokensUpdated today
    MobileAuto-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

Categories

Questions about Extract Module

What does Extract Module do?

Extract optional plugin dependencies into IntelliJ content modules. Extract Module is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Extract optional plugin dependencies into IntelliJ content modules.

When should I use Extract Module?

Extract Module fits situations like: tasks that involve Android development.

How do I install Extract Module in Claude Code?

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

How do I install Extract Module in Codex?

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

Can I use Extract Module 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 extract-module -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/extract-module, .gemini/skills/extract-module, .github/skills/extract-module and .opencode/skills/extract-module in your project.

What does Extract Module need to run?

Going by SKILL.md and its folder, Extract Module needs the command-line tools its instructions call (git and bun).

Does Extract Module access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Extract Module 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 Extract Module use?

Extract Module 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 Extract Module use?

About 5.2k tokens (SKILL.md is roughly 21k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Extract Module?

Skills that share tags, products or a category with Extract Module: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Kotlin Tooling Kotlin Toolchain (Kotlin/kotlin-agent-skills, 1.1k stars), Migrate Intellij Util (flutter/flutter-intellij, 2k stars) and Kotlin Tooling Agp9 Migration (JetBrains/skills, 364 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Extract Module?

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.