Borrowing it
Nothing to install: this file belongs to flutter/dart-intellij-third-party. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/flutter/dart-intellij-third-party/main/.agents/skills/patch-copied-lsp-sources/SKILL.mdgit clone --depth 1 https://github.com/flutter/dart-intellij-third-partyWrote 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.
[](https://agentmods.dev/skills/flutter/dart-intellij-third-party/patch-copied-lsp-sources)<a href="https://agentmods.dev/skills/flutter/dart-intellij-third-party/patch-copied-lsp-sources"><img src="https://agentmods.dev/badge/skills/flutter/dart-intellij-third-party/patch-copied-lsp-sources/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.
<a href="https://agentmods.dev/skills/flutter/dart-intellij-third-party/patch-copied-lsp-sources"><img src="https://agentmods.dev/badge/skills/flutter/dart-intellij-third-party/patch-copied-lsp-sources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01597 |
| Opus 5.5 | $0.00012 | $0.00639 |
| Sonnet 5.5 | $0.00006 | $0.00319 |
| Haiku 4.5 | $0.00003 | $0.00160 |
Grade A, and why
patch-copied-lsp-sources 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Patch Copied LSP Sources
Use this skill whenever JetBrains LSP source files are copied or refreshed from the intellij-community repository into the dart-intellij-third-party plugin. The skill automates the file copying, packaging them under the isolated com.intellij.platform.dartlsp package namespace directly, and applies all necessary adjustments to prevent conflicts with the built-in LSP client of IntelliJ IDEA.
How to Refresh and Apply
To copy the sources from intellij-community and apply the adjustments automatically:
- Run the Python patch script located in the
scriptsdirectory from the repository root, passing the path to the localintellij-communityrepository as a positional argument:python3 .agents/skills/patch-copied-lsp-sources/scripts/patch.py /path/to/intellij-community - Verify the changes using
git diff. - Verify that the project compiles:
./gradlew clean compileKotlin --no-build-cache
[!NOTE] If you only need to re-apply the patches to the existing files in the workspace (without copying fresh files from
intellij-community), you can run the script without any arguments:python3 .agents/skills/patch-copied-lsp-sources/scripts/patch.py
Record of Adjustments Applied
Here is the details of the changes made by the patch script:
-
Direct Package Copy & Rename:
- Copies files directly from
platform/lsp/src/com/intellij/platform/lspintothird_party/thirdPartySrc/platform-lsp/src/com/intellij/platform/dartlsp. - Rename package namespace references from
com.intellij.platform.lsptocom.intellij.platform.dartlspacross all.kt,.java, and.xmlsource files to avoid split-package classloader collisions and wrong-namespace imports.
- Copies files directly from
-
Registry Key & Timeout Key:
- Rename key
lsp.server.connect.timeouttodart.lsp.server.connect.timeoutindart-lsp-impl.xmlandLsp4jServerConnector.ktto avoid conflicting with IntelliJ IDEA's default LSP settings.
- Rename key
What ships with it
1 file 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.
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.
- today Changed 19bdc88096e4
- 8d ago Changed · +5 lines d6f89162df68
- 24d ago Changed · +2 lines d6a0deaf21b7
- 1mo ago Changed · +6 lines 9568817d4f1f
- 2mo ago First seen · 61 lines · 30 tokens per session scan A 25633e5fa92a
patch-copied-lsp-sources is a skill published in the GitHub repository flutter/dart-intellij-third-party (27 stars, last pushed today), licensed BSD-3-Clause. It adds 30 tokens to every session and 1,597 once invoked, about $0.0001 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-08-30.
Other skills, from other repositories
omh-rust
This is an OMH rust workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
erlang-otp-behaviors
Use when oTP behaviors including genserver for stateful processes, genstatem for state machines, supervisors for fault tolerance, genevent for event handling, and building robust, production-ready Erlang applications with proven patterns.
axiom-concurrency
Use when writing ANY async code, actors, or threads in an Apple-platform app, or seeing ANY concurrency error. Covers Swift 6 concurrency, @MainActor, Sendable, data races, async/await patterns.
haskell-pro
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
splitting-oversized-modules
Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to…
migrate-better-result-3
Migrate a TypeScript codebase from better-result 2.x to 3.0. Use when upgrading better-result across the TaggedError syntax, removed Result serialization helpers, recovery inference, matching, or retry APIs.