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 ★
- Pretty Mermaid Skills — To provide AI with Mermaid chart rendering capability, supporting both SVG and ASCII output formats 552 ★
- Update Branch Name — by giselles-ai - Updates branch names with proper prefixes and formats, enforcing naming conventions, supporti 502 ★
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
PIIGuardAI
A macOS menu bar app that blocks messages containing PII before they reach Claude, ChatGPT, Gemini, and other
AI Quota Meter
Claude Code knows how much quota you have left on nearly every turn, and only shows you if you ask. This puts
Mask2ai
PII redaction for ChatGPT, claude.ai and Claude Code. Masks names, emails, phone numbers, cards, IBANs and IDs
Local Secure Prompt Agent
Browser extension that redacts PII (emails, phone numbers, Aadhaar/PAN, API keys, names, locations) from promp
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
OpenAI Assistants
Setup: OpenAI Assistants API / ChatGPT Custom GPT