Copy Selection Context — AI skill for Claude Code
JetBrains IDE plugin to copy file paths, line numbers, and selected code in AI-ready formats for Claude, ChatGPT, and other coding assistants.
How to install Copy Selection Context
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hon454/copy-selection-context and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Copy Selection Context does
JetBrains IDE plugin to copy file paths, line numbers, and selected code in AI-ready formats for Claude, ChatGPT, and other coding assistants.
Alternatives in AI
- GPT CLI — Command-line interface for ChatGPT, Claude and Bard 724 ★
- Image Use — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 373 ★
- ChatGPT Imagegen — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 333 ★
README
Copy Selection Context
[](https://plugins.jetbrains.com/plugin/30262-copy-selection-context) [](https://github.com/hon454/copy-selection-context/releases/latest) [](https://github.com/hon454/copy-selection-context/releases) [](https://github.com/hon454/copy-selection-context/graphs/contributors) [](LICENSE)
**English** · **[한국어](README.ko.md)** · **[简体中文](README.zh-CN.md)** · **[繁體中文](README.zh-TW.md)** · **[日本語](README.ja.md)**
Copy file path + line numbers + code to clipboard in one shortcut — formatted for AI assistants.
Tired of manually typing file paths and line numbers when sharing code context with AI coding assistants like Claude or ChatGPT? **Copy Selection Context** copies `@path#Lline` formatted context to your clipboard with a single shortcut.
[](https://plugins.jetbrains.com/plugin/30262-copy-selection-context)
Features
- One-shortcut copy —
Ctrl+Alt+Ccopies file path + line numbers instantly - Relative or absolute paths — Choose between project-relative or absolute paths
- Flexible output formats — Use Claude Code references, Path:Line output, or a custom template
- Code content included — Optionally include selected code as a markdown code block
- Copy history —
Ctrl+Alt+Hto browse recent copy history - GitHub/GitLab permalink — Copy a Git permalink for the selected lines
- Copy feedback — Mark
Related Skills
Copy Path For AI
JetBrains plugin: inject @path#line into the IDE Terminal for Claude Code, Codex, Grok, and other AI agents.
AI Visibility Dashboard Kit
Look at the questions you track in AI assistants, find out which numbers are worth a dashboard, then have a co
Vigen
Claude Code skill that turns a one-line idea into a complete AI video production plan: storyboard, shot design
Countries States Cities
AI agent skill: add a country/state/city dataset to any app, sliced to scope (countries, +states, cities in se
PIIGuardAI
A macOS menu bar app that blocks messages containing PII before they reach Claude, ChatGPT, Gemini, and other
Codecat VSCode
Concatenate selected files and copy to clipboard and use for LLM chat
Related Agents
Doc Drift Auditor
Verify documentation accuracy against implementation using git forensics and code analysis with file paths, li
Graph Reader
Builds and queries a lightweight symbol/dependency graph of a project. Called by executors before reading file
Code Finder
Read-only search agent. Use for "where is X?" and "how is Y done?" questions before reading files yourself. Re