jetbrains-arch

jetbrains-arch is a skill for Claude Code, Codex from Kilo-Org/kilocode. It costs 61 tokens per session (3,377 once invoked), scanned A, original, MIT.

A reference for the architecture of a JetBrains plugin split into frontend and backend parts. It explains how those parts communicate and how plugin code should use IntelliJ's public APIs.

In plain words
What is it for?
It guides work on RPC contracts, serialization, services, coroutines, event-dispatch-thread tests, dependency bundling, and IntelliJ source lookups.
Why use it?
It helps prevent errors caused by crossing module boundaries, using the wrong thread, loading classes incorrectly, or depending on unsupported platform APIs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions OpenCode.

Good fit It guides work on RPC contracts, serialization, services, coroutines, event-dispatch-thread tests, dependency bundling, and IntelliJ source lookups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kilo-org/kilocode/jetbrains-arch
About the project

Kilo Code is an open-source AI coding agent that works inside VS Code and JetBrains, from the command line, or through cloud services. Developers use it to build software with AI models, switch between providers, and run cloud agents or automated code reviews. The catalogue includes eleven skills, eight agents, and one instruction for Kilo Code.

Kilo-Org/kilocode · 27,622 stars · on GitHub · kilo.ai

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 Kilo-Org/kilocode --skill jetbrains-arch
Clone the repo
git clone --depth 1 https://github.com/Kilo-Org/kilocode

Made for: Claude Code, Codex.

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 jetbrains-arch

README.md
[![agentmods](https://agentmods.dev/badge/skills/kilo-org/kilocode/jetbrains-arch/github.svg)](https://agentmods.dev/skills/kilo-org/kilocode/jetbrains-arch)
Your own site
<a href="https://agentmods.dev/skills/kilo-org/kilocode/jetbrains-arch"><img src="https://agentmods.dev/badge/skills/kilo-org/kilocode/jetbrains-arch/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 jetbrains-arch

Your own site · 80×15
<a href="https://agentmods.dev/skills/kilo-org/kilocode/jetbrains-arch"><img src="https://agentmods.dev/badge/skills/kilo-org/kilocode/jetbrains-arch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,377 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.00061 $0.03377
Opus 5.5 $0.00024 $0.01351
Sonnet 5.5 $0.00012 $0.00675
Haiku 4.5 $0.00006 $0.00338

Measured 3d ago against content hash 09e4c898dfe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jetbrains-arch 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 3d 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.

.kilo/skills/jetbrains-arch/SKILL.md · 168 lines

How it starts

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

JetBrains Split-Mode Architecture, Threading, and Dependencies

Detailed reference for packages/kilo-jetbrains/ module boundaries, RPC, threading, and dependency rules. See packages/kilo-jetbrains/AGENTS.md for the hard restrictions summary; this skill covers the how and why.

IntelliJ Platform Source Lookup

When looking for IntelliJ Platform API usage, implementation examples, extension points, services, actions, inspections, PSI/VFS/editor behavior, or plugin patterns, prefer real IntelliJ source code over Gradle caches, downloaded jars, generated parser artifacts, or decompiled classes.

Do not use IntelliJ Platform APIs marked as internal in the IntelliJ source repository. Find a public API alternative or keep the integration behind supported extension points. Experimental APIs are acceptable when needed, but warn the user that the integration relies on an experimental IntelliJ API.

Use this priority order:

  1. Check whether $INTELLIJ_REPO is set and points to a readable IntelliJ Community checkout.
    • If set, search source files under that directory first.
    • Prefer implementation source files from platform/, plugins/, java/, xml/, json/, jvm/, and related modules.
    • Do not assume the IntelliJ checkout is a sibling of the current repo or worktree.
  2. If $INTELLIJ_REPO is unset, empty, unreadable, or does not appear to contain an IntelliJ source checkout, tell the user to set it up.
    • Suggested instruction: Set INTELLIJ_REPO to the path of a local intellij-community checkout, for example: export INTELLIJ_REPO=/path/to/intellij-community
    • Do not invent or hardcode a machine-specific absolute path.
  3. If a local checkout is unavailable, fall back to the public IntelliJ Community repository: https://github.com/JetBrains/intellij-community
  4. Only inspect Gradle caches, downloaded jars, generated parser jars, decompiled classes, or dependency internals as a last resort when neither a local IntelliJ source checkout nor the public GitHub repository provides the needed information.

Read the full file on GitHub · 168 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. 3d ago Changed 09e4c898dfe8
  2. 17d ago First seen · 168 lines · 61 tokens per session scan A 670b31507925

Subscribe to this mod's changes

jetbrains-arch is a skill published in the GitHub repository Kilo-Org/kilocode (27,622 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 3,377 once invoked, about $0.0002 per session on Opus 5.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-29.

Related

Other skills, from other repositories

lore

SpecStory Lore - mine your SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more) into a persistent corpus, surface your reproducible workflows with corroborated evidence, and interactively forge the chosen ones into skills installed across all your agent harnesses. Use when the user…

specstoryai/getspecstory · 109 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

writing-tests

Write unit tests, component tests, and integration tests for AiderDesk using Vitest and React Testing Library. Use when creating new tests, adding test coverage, configuring mocks, setting up test files, or debugging failing tests.

hotovo/aider-desk · 48 tokens

motion-designer

Act as a Senior Motion Designer to specify and ship purposeful UI animation — micro-interactions, transitions, scroll-driven sequences, page transitions, loading states. Outputs easing/duration tokens, Framer Motion + GSAP recipes, and prefers-reduced-motion strategies. For implementing with the Motion/Framer Motion…

rajitsaha/100xprism · 87 tokens

paid-ads

When the user wants help with paid advertising on Google Ads, Meta, LinkedIn, or Twitter/X — 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'retargeting,' 'audience targeting,' 'ad budget,' 'should I run ads.' Covers campaign strategy, targeting, bidding, and optimization. For bulk ad creative, see ad-creative. For landing…

rajitsaha/100xprism · 90 tokens

a11y-auditor

Act as a Senior Accessibility Engineer to audit a page, component, or design against WCAG 2.2 AA. Produces a triaged finding list (critical/serious/moderate), focus-order map, contrast report, ARIA decision tree, and a screen-reader test plan. Use when shipping new UI, hardening an existing flow, or preparing for…

rajitsaha/100xprism · 88 tokens