/awesome-claude:intellij-pluginfrom awesome-claude
Use when creating, modifying, or debugging an IntelliJ IDEA / JetBrains / Android Studio plugin with the IntelliJ Platform SDK, Kotlin, and IntelliJ Platform Gradle Plugin 2.x. Triggers on plugin.xml, ToolWindowFactory, AnAction, services, EDT/threading, or IntelliJ UI components.
Ships in awesome-claude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Expert skill for building IntelliJ IDEA / Android Studio plugins using the IntelliJ Platform SDK, Kotlin, and Gradle Plugin 2.x.
plugins {
id("org.jetbrains.intellij.platform") version "2.6.0"
id("org.jetbrains.kotlin.jvm") version "2.1.20"
}
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
intellijPlatform {
// Pick ONE target IDE:
intellijIdeaCommunity("2025.2") // or:
// intellijIdeaUltimate("2025.2")
// androidStudio("2025.2.1.3")
// Bundled plugins your plugin depends on:
// bundledPlugin("org.jetbrains.android")
// bundledPlugin("com.intellij.java")
pluginVerifier()
zipSigner()
instrumentationTools()
}
}
intellijPlatform {
pluginConfiguration {
id = "com.example.myplugin"
name = "My Plugin"
version = project.version.toString()
ideaVersion {
sinceBuild = "252"
}
}
}
kotlin {
jvmToolchain(21)
}
org.gradle.jvm.args=-Xmx2g
kotlin.stdlib.default.dependency=false
If bundling libraries that conflict with IDE classpath (e.g., protobuf, Gson):
plugins {
id("com.gradleup.shadow") version "9.0.0-beta12"
}
tasks {
shadowJar {
relocate("com.google.protobuf", "com.example.shadow.protobuf")
archiveClassifier.set("")
}
named("prepareSandbox") {
dependsOn("shadowJar")
}
}
<idea-plugin>
<id>com.example.myplugin</id>
<name>My Plugin</name>
<vendor>MyCompany</vendor>
<description><![CDATA[Plugin description here.]]></description>
<depends>com.intellij.modules.platform</depends>
<!-- Add more depends as needed -->
<extensions defaultExtensionNs="com.intellij">
<toolWindow id="My Tool"
factoryClass="com.example.MyToolWindowFactory"
anchor="bottom"
icon="/icons/toolwindow.svg"/>
<applicationConfigurable
parentId="tools"
instance="com.example.MyConfigurable"
id="com.example.settings"
displayName="My Plugin"/>
<applicationService
serviceImplementation="com.example.MySettings"/>
</extensions>
</idea-plugin>
// Application-level (singleton)
@Service
class MyAppService {
companion object {
fun getInstance(): MyAppService =
ApplicationManager.getApplication().getService(MyAppService::class.java)
}
}
// Project-level (one per project)
@Service(Service.Level.PROJECT)
class MyProjectService(private val project: Project) {
companion object {
fun getInstance(project: Project): MyProjectService =
project.getService(MyProjectService::class.java)
}
}
No plugin.xml entry needed for @Service classes. Use plugin.xml <applicationService> only for PersistentStateComponent.
class MyToolWindowFactory : ToolWindowFactory, DumbAware {
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
val panel = MyPanel(project)
val content = toolWindow.contentManager.factory.createContent(panel, "", false)
toolWindow.contentManager.addContent(content)
Disposer.register(toolWindow.disposable, panel)
}
}
Always implement DumbAware unless you need indexing. Always register panels as Disposable.
| Instead of | Use |
|---|---|
JTree + DefaultTreeCellRenderer | Tree + ColoredTreeCellRenderer |
JTable | JBTable |
JList | JBList |
JScrollPane | JBScrollPane |
JLabel | JBLabel |
JSplitPane | JBSplitter |
JButton with text | ActionToolbar with AnAction |
class MyTreeRenderer : ColoredTreeCellRenderer() {
override fun customizeCellRenderer(
tree: JTree, value: Any?, selected: Boolean, expanded: Boolean,
leaf: Boolean, row: Int, hasFocus: Boolean
) {
val node = value as? DefaultMutableTreeNode ?: return
when (val obj = node.userObject) {
is MyCategory -> {
append(obj.name, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES)
icon = AllIcons.Nodes.Folder
}
is MyItem -> {
append(obj.name, SimpleTextAttributes.REGULAR_ATTRIBUTES)
icon = AllIcons.FileTypes.Any_type
}
}
}
}
SimpleTextAttributes constants:
REGULAR_ATTRIBUTES — normal textREGULAR_BOLD_ATTRIBUTES — bold headersGRAYED_ATTRIBUTES — disabled/secondary textERROR_ATTRIBUTES — error textval actionGroup = DefaultActionGroup().apply {
add(object : AnAction("Refresh", "Refresh data", AllIcons.Actions.Refresh) {
override fun actionPerformed(e: AnActionEvent) { /* ... */ }
override fun update(e: AnActionEvent) {
e.presentation.isEnabled = /* condition */
}
override fun getActionUpdateThread() = ActionUpdateThread.EDT
})
addSeparator()
}
val toolbar = ActionManager.getInstance()
.createActionToolbar("MyPlugin.Toolbar", actionGroup, true) // true=horizontal
toolbar.targetComponent = this
add(toolbar.component, BorderLayout.NORTH)
Always override getActionUpdateThread() returning ActionUpdateThread.EDT.
AllIcons.Actions.Refresh // Refresh
AllIcons.Actions.Download // Download/save
AllIcons.Actions.GC // Delete/trash
AllIcons.Actions.Execute // Run
AllIcons.Actions.Pause // Pause/inactive
AllIcons.Actions.MenuSaveall // Save
AllIcons.General.Add // Add/create
AllIcons.General.Remove // Remove
AllIcons.General.Information // Info
AllIcons.General.ChevronDown // Dropdown arrow
AllIcons.Nodes.Package // Package
AllIcons.Nodes.Folder // Folder
AllIcons.Nodes.DataSchema // Database/schema
AllIcons.FileTypes.Any_type // Generic file
private val cardLayout = CardLayout()
private val contentPanel = JPanel(cardLayout)
// In init:
contentPanel.add(emptyStatePanel, "empty")
contentPanel.add(mainContent, "content")
cardLayout.show(contentPanel, "empty")
// When data available:
cardLayout.show(contentPanel, "content")
icon = AnimatedIcon.Default() // Spinner in tree nodes
ApplicationManager.getApplication().executeOnPooledThread {
val data = heavyOperation() // Background
SwingUtilities.invokeLater {
if (gen != generation) return@invokeLater // Discard stale
updateUI(data) // EDT
}
}
@Volatile
private var generation = 0L
// When user changes selection:
generation++
// In async callback:
val gen = generation
ApplicationManager.getApplication().executeOnPooledThread {
val result = fetchData()
SwingUtilities.invokeLater {
if (gen != generation) return@invokeLater // State changed, discard
applyResult(result)
}
}
private val executor = Executors.newSingleThreadScheduledExecutor { r ->
Thread(r, "MyPlugin-Monitor").apply { isDaemon = true }
}
executor.scheduleWithFixedDelay({ /* poll */ }, 0, 3, TimeUnit.SECONDS)
// In dispose():
executor.shutdownNow()
// Add placeholder so node appears expandable
val node = DefaultMutableTreeNode(MyData("name"))
node.add(DefaultMutableTreeNode(LoadingMarker)) // Placeholder child
// Lazy load on expand
tree.addTreeWillExpandListener(object : TreeWillExpandListener {
override fun treeWillExpand(event: TreeExpansionEvent) {
val node = event.path.lastPathComponent as? DefaultMutableTreeNode ?: return
if (/* not loaded yet */) {
node.removeAllChildren()
node.add(DefaultMutableTreeNode(LoadingMarker))
treeModel.reload(node)
loadDataAsync(node) // Fetch on background thread
}
}
override fun treeWillCollapse(event: TreeExpansionEvent) {}
})
// Incremental node insertion (streaming)
treeModel.insertNodeInto(newNode, parentNode, parentNode.childCount)
// Before reload: capture expanded paths
val expanded = getExpandedPackages()
val existingNodes = collectExistingNodes()
// After rebuild: reuse nodes, restore expanded state
for (pkg in expanded) {
findNode(pkg)?.let { tree.expandPath(TreePath(it.path)) }
}
@State(name = "MySettings", storages = [Storage("MySettings.xml")])
class MySettings : PersistentStateComponent<MySettings.State> {
data class State(var myValue: Int = 100)
private var state = State()
override fun getState(): State = state
override fun loadState(state: State) { this.state = state }
}
Settings UI with Kotlin DSL:
class MyConfigurable : Configurable {
override fun createComponent(): JComponent = panel {
group("Section") {
row("Label:") {
spinner(1..1000, 10).bindIntValue(::localValue)
}
}
}
override fun isModified(): Boolean = /* compare local vs saved */
override fun apply() { /* save */ }
}
PersistentStateComponent stores as PLAIN TEXT XML in ~/.config/JetBrains/<IDE>/options/. Any API key stored there is readable by every process on the machine. Never store secrets in state components.
PasswordSafe delegates to the OS keychain (macOS Keychain, Windows Credential Manager, KWallet/GNOME Keyring):
import com.intellij.credentialStore.CredentialAttributes
import com.intellij.credentialStore.Credentials
import com.intellij.credentialStore.generateServiceName
import com.intellij.ide.passwordSafe.PasswordSafe
object MyCredentialStore {
private val attributes = CredentialAttributes(
generateServiceName("MyPlugin", "apiKey")
)
fun getToken(): String? =
PasswordSafe.instance.getPassword(attributes)
fun setToken(token: String) =
PasswordSafe.instance.setPassword(attributes, token)
fun getCredentials(): Credentials? =
PasswordSafe.instance.get(attributes)
fun setCredentials(user: String, password: String) =
PasswordSafe.instance.set(attributes, Credentials(user, password))
}
fun resolveToken(): String? =
System.getenv("MY_PLUGIN_API_KEY") ?: MyCredentialStore.getToken()
class MyConfigurable : Configurable {
private var tokenField = JBPasswordField()
override fun createComponent(): JComponent = panel {
group("Authentication") {
row("API Token:") { cell(tokenField) }
}
}
override fun isModified(): Boolean =
String(tokenField.password) != (MyCredentialStore.getToken() ?: "")
override fun apply() {
MyCredentialStore.setToken(String(tokenField.password))
}
override fun reset() {
tokenField.text = MyCredentialStore.getToken() ?: ""
}
}
PersistentStateComponent (plain text XML).env or local.properties containing secretsNever build shell commands via string concatenation. Use ProcessBuilder with an explicit argument list:
// BAD — injectable
Runtime.getRuntime().exec("adb shell run-as $pkg cat $path")
// GOOD — each argument is a separate element
ProcessBuilder("adb", "shell", "run-as", pkg, "cat", path)
.redirectErrorStream(true)
.start()
Allowlist characters for user-provided strings passed to shell or file system:
private val SAFE_PATH = Regex("^[a-zA-Z0-9._/-]+$")
private val SAFE_PACKAGE = Regex("^[a-zA-Z0-9._]+$")
fun validatePath(input: String): String {
require(SAFE_PATH.matches(input)) { "Invalid path: $input" }
return input
}
fun safePath(base: File, userInput: String): File {
val resolved = File(base, userInput).canonicalFile
require(resolved.path.startsWith(base.canonicalPath)) {
"Path escapes base directory"
}
return resolved
}
HttpConfigurable.getInstance() for proxy-aware HTTPObjectInputStream on untrusted data — prefer JSON/protobuf with schema validationprivate val log = Logger.getInstance(MyService::class.java)
log.error("Unexpected failure in sync") // Shown in IDE error reporter
log.warn("Device disconnected mid-read") // Recoverable issue
log.info("Plugin initialized") // Lifecycle events
log.debug("Parsed ${entries.size} items") // Off by default, zero cost when disabled
Never use println, System.out, or System.err. The IDE aggregates Logger output in idea.log (Help > Diagnostic Tools > Browse Logs).
Register the notification group in plugin.xml:
<extensions defaultExtensionNs="com.intellij">
<notificationGroup id="MyPlugin.Notifications"
displayType="BALLOON"/>
</extensions>
Then use it in code:
NotificationGroupManager.getInstance()
.getNotificationGroup("MyPlugin.Notifications")
.createNotification("Sync completed", NotificationType.INFORMATION)
.notify(project)
Notification with a human messagelog.warn()log.error() for expected conditions like "device not connected"Use JUnit directly for classes with no IDE dependency (parsers, utilities):
class MyParserTest {
@Test
fun `parse valid input`() {
val result = MyParser.parse(testBytes)
assertEquals(3, result.size)
}
}
class MyServiceTest : BasePlatformTestCase() {
fun testServiceReturnsData() {
val service = project.getService(MyProjectService::class.java)
val result = service.fetchData()
assertNotNull(result)
}
}
Note: BasePlatformTestCase uses JUnit 3 conventions — test methods must start with test, no annotations.
Replace real services with test doubles using ServiceContainerUtil:
import com.intellij.testFramework.ServiceContainerUtil
fun setUp() {
super.setUp()
ServiceContainerUtil.replaceService(
ApplicationManager.getApplication(),
MyAppService::class.java,
FakeMyAppService(),
testRootDisposable
)
}
Place test data in src/test/resources/ and load via:
val bytes = javaClass.getResourceAsStream("/fixtures/sample.pb")!!.readBytes()
Test logic separately from UI. For integration tests that need EDT:
import com.intellij.testFramework.runInEdtAndWait
fun testUIUpdate() {
runInEdtAndWait {
panel.loadData(testEntries)
assertEquals(3, table.rowCount)
}
}
Full UI testing (clicking buttons, expanding trees) is fragile and usually not worth the maintenance cost.
src/main/resources/icons/
toolwindow.svg # 13x13, #6E6E6E fill (light theme)
toolwindow_dark.svg # 13x13, #AFB1B3 fill (dark theme, auto-detected by _dark suffix)
pluginIcon.svg # 40x40, full color (marketplace listing)
object MyIcons {
@JvmField
val ToolWindow: Icon = IconLoader.getIcon("/icons/toolwindow.svg", MyIcons::class.java)
}
IntelliJ auto-selects _dark.svg variant based on active theme.
Every component that creates threads, executors, sockets, or listeners MUST implement Disposable:
class MyComponent : Disposable {
private val executor = Executors.newSingleThreadScheduledExecutor(...)
override fun dispose() {
executor.shutdownNow()
// Close sockets, cancel tasks, clear state
}
}
Register with parent: Disposer.register(toolWindow.disposable, myComponent)
Add to build.gradle.kts. Credentials come from environment variables — never commit them:
intellijPlatform {
signing {
certificateChainFile = file("chain.crt")
privateKeyFile = file("private.pem")
password = providers.environmentVariable("PRIVATE_KEY_PASSWORD")
}
publishing {
token = providers.environmentVariable("PUBLISH_TOKEN")
}
}
Generate a key pair via the JetBrains Marketplace. Store chain.crt, private.pem, and the token outside version control.
Place in META-INF/ (not icons/). These are distinct from toolwindow icons:
src/main/resources/META-INF/
pluginIcon.svg # 40x40, full color — used in Marketplace listing and IDE plugin manager
pluginIcon_dark.svg # 40x40, dark variant — auto-selected by IDE
sinceBuild = "252" — minimum IDE build your plugin supportsuntilBuild to support all future versions (Gradle plugin does this by default)./gradlew runPluginVerifier to catch binary incompatibilities before releaseintellijPlatform {
pluginVerification {
ides {
recommended()
}
}
}
./gradlew runPluginVerifier passes with no API compatibility errors<vendor> has url and email attributes set@ApiStatus.Internal or deprecated API usageMETA-INF/NOTICE file lists all bundled third-party dependencies with their licensesIf your plugin bundles any third-party libraries (e.g., protobuf, Gson, OkHttp), include a NOTICE file in src/main/resources/META-INF/NOTICE with:
src/main/resources/META-INF/
NOTICE # Third-party license attributions (bundled in JAR)
This is required for BSD, MIT, and Apache-licensed dependencies. GPL dependencies cannot be bundled in proprietary plugins.
| Level | Scope | When to use | Example |
|---|---|---|---|
@Service | Application | Global singletons, shared state across projects | Credential store, HTTP client |
@Service(Service.Level.PROJECT) | Project | State tied to a specific project | File monitors, project caches |
Rule of thumb: if the constructor needs a Project parameter, it is project-level.
Define a topic:
interface DataChangedListener {
fun onDataChanged(entries: List<DataEntry>)
companion object {
val TOPIC = Topic.create("MyPlugin.DataChanged", DataChangedListener::class.java)
}
}
Publish:
project.messageBus.syncPublisher(DataChangedListener.TOPIC).onDataChanged(entries)
Subscribe (always pass a Disposable to prevent leaks):
project.messageBus.connect(parentDisposable).subscribe(
DataChangedListener.TOPIC,
object : DataChangedListener {
override fun onDataChanged(entries: List<DataEntry>) { /* update UI */ }
}
)
For plugins targeting recent IDE versions, coroutines provide structured concurrency:
@Service(Service.Level.PROJECT)
class MyService(private val project: Project, private val scope: CoroutineScope) {
fun refreshAsync() = scope.launch {
val data = withContext(Dispatchers.IO) { fetchFromDevice() }
withContext(Dispatchers.EDT) { updateUI(data) }
}
}
The executeOnPooledThread + SwingUtilities.invokeLater pattern remains simpler and compatible with all IDE versions.
Prefer VFS over java.io.File when working with IDE-managed files:
val vFile = LocalFileSystem.getInstance().findFileByPath("/path/to/file")
vFile?.let { VfsUtil.loadText(it) }
VFS provides change notifications, is thread-safe, and integrates with IDE indexing.
Disposer.register(parent, child) to chain disposal — never register a listener without a corresponding disposalmessageBus.connect(parentDisposable)WeakReference for listeners registered on long-lived objects (application, project)Project or Component references in application-level servicesServices are already lazy (instantiated on first getService() call). For expensive fields within services:
private val cache by lazy { buildExpensiveCache() }
Enable in development to catch slow operations on the UI thread:
-Dide.slow.operations.assertion=true
Any operation over ~300ms on EDT triggers a warning. Common offenders: file I/O, network calls, Process.waitFor(), large tree rebuilds.
./gradlew runPluginVerifier against target IDE versions before every release@ApiStatus.Internal APIs — they change without notice between IDE versions@ApiStatus.Experimental in production — they may be removedtry {
// New API available in 2025.2+
NewApi.doSomething()
} catch (e: NoSuchMethodError) {
// Fallback for older versions
OldApi.doSomething()
}
When asked to audit an IntelliJ plugin for security vulnerabilities, systematically check every source file for the following categories. Report each finding with file path, line number, code snippet, risk description, and severity (Critical/High/Medium/Low).
Any use of DocumentBuilderFactory, SAXParserFactory, XMLInputFactory, or TransformerFactory without disabling external entities. A malicious XML file (config, data, or user-uploaded) can read arbitrary files from the host machine (~/.ssh/id_rsa, ~/.env, /etc/passwd).
What to grep for: DocumentBuilderFactory, SAXParser, XMLInputFactory, TransformerFactory, .parse(
Fix pattern:
val factory = DocumentBuilderFactory.newInstance().apply {
setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
setFeature("http://xml.org/sax/features/external-general-entities", false)
setFeature("http://xml.org/sax/features/external-parameter-entities", false)
}
Any place where external input (package names, file paths, user strings, device identifiers) flows into ProcessBuilder, Runtime.exec(), or especially sh -c commands via string interpolation.
What to grep for: ProcessBuilder, Runtime.getRuntime().exec, "sh", "-c", string templates inside command lists
Red flags:
sh -c "$userInput" — full shell injectionProcessBuilder("sh", "-c", "command $variable") — injectable even with ProcessBuilderRegex-based validators that permit characters unnecessary for the domain. Wider allowlists = wider attack surface, especially when values end up in shell commands or file paths.
What to grep for: Regex(, matches(, require(, validation patterns
Check: For each validator, ask: does this allow any character that could be a shell metacharacter (; | & $ \ ' " ( ) { } < > ! #) or path traversal (..)? If the validated string ends up in a shell command, even inside quotes, the allowlist must exclude the quote character used. **Rule:** SAFE_PATHshould be^[a-zA-Z0-9._/-]+$` — no spaces, semicolons, tildes, percent signs, or other shell-meaningful characters unless explicitly required.
Secrets stored in PersistentStateComponent (plain text XML), logged at any level, hardcoded in source, or committed in .env/config files.
What to grep for: PersistentStateComponent, password, token, secret, apiKey, credential, log.debug, log.info, log.warn, log.error (check what they log), .env, local.properties
Check:
PasswordSafe (OS keychain) or in plain XML state files?.env / local.properties in .gitignore?User-controlled paths that aren't validated against directory escape (../../../etc/passwd).
What to grep for: File(, Paths.get(, resolve(, filePath, fileName, user-provided strings used in file operations
Check: Every path derived from external input must be canonicalized and confirmed to stay within an expected base directory:
val resolved = File(base, userInput).canonicalFile
require(resolved.path.startsWith(base.canonicalPath))
ObjectInputStream on data from external sources (files from devices, network responses, plugin state). Can lead to arbitrary code execution.
What to grep for: ObjectInputStream, readObject(), Serializable
Fix: Use JSON, protobuf, or other schema-validated formats instead.
HTTP instead of HTTPS, disabled certificate verification, ignoring proxy settings, sending local data to external services.
What to grep for: http:// (not https://), TrustManager, HostnameVerifier, SSLContext, HttpURLConnection, OkHttpClient, setHostnameVerifier
Check:
TrustManager that accepts all certificatesHttpConfigurable.getInstance() for proxy-aware connectionsTemp files with sensitive content that aren't cleaned up, or temp files in world-readable locations.
What to grep for: createTempFile, createTempDir, File.createTempFile, /tmp/, System.getProperty("java.io.tmpdir")
Check: Are temp files deleted in a finally block or use {} scope? Do they contain sensitive data (credentials, user content from devices)?
Signing credentials, publish tokens, or API keys in build.gradle.kts that could leak through build logs, CI artifacts, or Gradle cache.
What to grep for: signing, publishing, password, token in *.gradle.kts and *.properties files
Check: Credentials come from environment variables or secure vaults, not hardcoded strings. Build scripts don't print sensitive values.
Log statements that include sensitive data: file contents, user data from devices, full command lines with paths/credentials, stack traces with sensitive context.
What to grep for: log.warn, log.error, log.info, log.debug — inspect what variables are interpolated
Rule: Log the event and error type, not the data. E.g., log.warn("Failed to read file", e) not log.warn("Failed to read $filePath: content=$data").
.kt, .java, .gradle.kts, .properties, and .xml source filesColoredTreeCellRenderer, NOT DefaultTreeCellRenderer (broken in dark theme)ActionToolbar with AnAction, NOT raw JButton for toolbarsgetActionUpdateThread() returning ActionUpdateThread.EDT in every AnActiontoolbar.targetComponent = this on every ActionToolbarexecutor.shutdownNow() in every Disposable.dispose()exec-out not shell for binary-safe ADB data transfertoolwindow.svg and toolwindow_dark.svg for icon themingDumbAware on ToolWindowFactory unless indexing is requiredJBUI.scale() for DPI-aware sizesPersistentStateComponent — use PasswordSafeProcessBuilder argument lists../)Logger.getInstance(), never println or System.out / System.errplugin.xml before using NotificationGroupManagerrunPluginVerifier before every Marketplace submissionMETA-INF/pluginIcon.svg (40x40) and pluginIcon_dark.svg for Marketplace listingDisposable to prevent leaksWeakReference for listeners on long-lived objects (application, project)@ApiStatus.Internal APIs in production plugin codesignPlugin task before publishing to MarketplaceWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andreiverdes/awesome-claude --plugin awesome-claude8 skills in this plugin
/crispCRISP writing protocol (Concise · Relevant · Intuitive · Simple · Protocol). Use when the user says /crisp, "use CRISP", "crispify", "make this crispier", "run a CRISP pass", or when a project's AGENTS.md/CLAUDE.md asks for CRISP; applies to replies, prompts, specs, plans, status updates, and agent messages./git-syncUse when the user wants to set up portable Claude Code configuration — turning ~/.claude into a git repo that auto-syncs settings, skills, and memories across machines. Triggers on backing up claude config, syncing settings, new machine setup, dotfiles for claude, portable configuration./local-workerUse when you want to offload well-bounded grunt work — codebase scouting, file summaries, docstrings, boilerplate, simple tests, mechanical/codemod edits — from Claude Code to a local model under LM Studio or Ollama, to cut frontier token usage. Triggers on "delegate to my local model", "use lm studio / ollama for this", "run it on the local LLM", "offload to local", "reduce tokens with a local sub-agent".Other plugins' skills for the same job