jetbrains-cli-pin

jetbrains-cli-pin is a skill for Claude Code, Codex from Kilo-Org/kilocode. It costs 60 tokens per session (1,232 once invoked), scanned C, original, MIT.

A command-line skill for choosing whether the Kilo JetBrains plugin uses a released command-line program or one built from the current repository. It can also rebuild the local version after clearing old files.

In plain words
What is it for?
Pinning the plugin to the latest released command-line version, unpinning it to use the repository version, and regenerating that local version from the repository root.
Why use it?
It removes confusion caused by stale builds or leftover command-line files when switching between released and local versions.

Skill for Claude CodeCodex

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

Good fit Pinning the plugin to the latest released command-line version, unpinning it to use the repository version, and regenerating that local version from the repository root.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kilo-org/kilocode/jetbrains-cli-pin
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 · 28,159 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-cli-pin
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-cli-pin

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kilo-org/kilocode/jetbrains-cli-pin"><img src="https://agentmods.dev/badge/skills/kilo-org/kilocode/jetbrains-cli-pin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,232 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 89
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00060 $0.01232
Opus 5.5 $0.00024 $0.00493
Sonnet 5.5 $0.00012 $0.00246
Haiku 4.5 $0.00006 $0.00123

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

Security

Grade C, and why

jetbrains-cli-pin scanned grade C with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (script/clean.ts, script/cli-pin.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `regen` | Fast dev loop while unpinned: refresh the repo-CLI Bun path hint -> `rm -rf dist` -> `buildRepoCli` -> `stageRepoCli`. Refuses to run unless `kilo.cli.pinned=false`. |
.kilo/skills/jetbrains-cli-pin/SKILL.md · 93 lines

How it starts

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

JetBrains CLI Pin

Pin the Kilo JetBrains plugin to the latest released CLI, unpin it to use the local repo CLI, or fresh-regenerate the local CLI while unpinned. Every command first cleans all CLI/pin build artifacts and binaries in the current worktree so the result never carries state from a previous run.

Run all commands from the repository root of the worktree you want to affect. Paths are relative, so they resolve to the current worktree, not the main checkout.

Two Controls

The plugin's CLI behavior is governed by two independent values:

Control Location Meaning
Pin mode packages/kilo-jetbrains/gradle.properties -> kilo.cli.pinned true = download the released CLI at build/connect time. false = build and bundle the local repo CLI.
Pinned version packages/kilo-jetbrains/package.json -> version Which GitHub CLI release is downloaded and generated from when pinned=true.

"Pin to latest" means kilo.cli.pinned=true and package.json set to the latest stable CLI release. "Unpin" means kilo.cli.pinned=false with a freshly built local CLI bundled.

Commands

bun .kilo/skills/jetbrains-cli-pin/script/cli-pin.ts <command> [--no-verify]
Command Steps
pin Clean -> set kilo.cli.pinned=true -> remove the repo-CLI Bun path hint -> bump package.json to latest release (via set-pin.ts --latest, which validates release assets) -> verify with a cold gradlew clean typecheck.
unpin Clean -> set kilo.cli.pinned=false -> write the repo-CLI Bun path hint -> :backend:buildRepoCli (fresh CLI) -> :backend:stageRepoCli -> assert staged kilo-cli.zip -> verify with gradlew typecheck.
regen Fast dev loop while unpinned: refresh the repo-CLI Bun path hint -> rm -rf dist -> buildRepoCli -> stageRepoCli. Refuses to run unless kilo.cli.pinned=false.
clean Run the shared artifact clean only.

--no-verify skips the gradle verification build (rewrites + clean only). Use it when offline or without Java 21.

Read the full file on GitHub · 93 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed 5f2f4fbcf051
  2. 3mo ago First seen · 93 lines · 60 tokens per session scan C 44ecb175eea2

Subscribe to this mod's changes

jetbrains-cli-pin is a skill published in the GitHub repository Kilo-Org/kilocode (28,159 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 1,232 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

jetbrains-cli-pin compared with skills from other repositories

jetbrains-cli-pin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jetbrains-cli-pinKilo-Org/kilocodeSkill28ktodayMITC60Claude Code, Codex
lorespecstoryai/getspecstorySkill1.4k2d agoApache-2.0A109Claude Code
extension-creatorhotovo/aider-deskSkill1.5k8d agoApache-2.0A44Claude Code, Codex
workthreadsspecstoryai/getspecstorySkill1.4k2d agoApache-2.0A126Claude Code
agent-creatorhotovo/aider-deskSkill1.5k8d agoApache-2.0A60Claude Code, Codex
writing-testshotovo/aider-deskSkill1.5k8d agoApache-2.0A48Claude Code, Codex
backseat-driver-testingBetterThanTomorrow/calva-backseat-driverSkill66todayMITA106Claude Code, Codex