GruperTal/claude-pin-message
pin-message
대화 옆에 응답을 고정하는 Claude Code mod입니다. 계속 스크롤해 다시 확인하는 계획, 명령 또는 답변을 세션이 진행되는 동안 화면에 유지합니다.
이 mod 소개
Claude Pin Message는 Claude Code에 사이드 패널을 추가해 선택한 텍스트나 Claude의 마지막 응답을 고정하고, 대화를 스크롤해도 계속 볼 수 있게 합니다. /plugin marketplace add GruperTal/claude-pin-message로 설치한 뒤 /plugin install pin-message@claude-pin-message와 /reload-plugins를 실행하세요. /pin으로 마우스 선택 영역이나 마지막 응답(markdown으로 렌더링됨)을 고정하고, ✕ unpin으로 하나의 고정을 제거하며, /unpin으로 모든 고정을 지우고 패널을 닫습니다. 고정 항목은 하나의 Pinned 패널에 쌓이고 세션 동안 유지되며, 항목마다 10,000자로 제한됩니다. 선택 기능에는 전체 화면 레이아웃이 필요합니다. 네트워크 요청, 파일 쓰기 또는 모델 호출을 하지 않는 로컬 전용 hooks 모듈(hooks/register.tsx 약 90줄)로 구현되었습니다. mods를 지원하는 Claude Code가 필요하며 v2.1.289에서 빌드하고 테스트했습니다. MIT 라이선스입니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add GruperTal/claude-pin-message claude plugin install pin-message
원문 / README
Claude Pin Message
A Claude Code mod that pins a response beside the conversation, so the plan, the command or the answer you keep scrolling back to stays on screen while the session goes on.
❯ what's the rollout plan? │ ✕ unpin
● 1. Ship behind a flag │ 1. Ship behind a flag
2. Canary at 5% │ 2. Canary at 5%
3. Full rollout Thursday │ 3. Full rollout Thursday
❯ /pin │
❯ ok, start with step 1 │ ✕ unpin
● Adding the flag... │ npm run deploy -- --canary
(the conversation keeps scrolling) │
Install
Inside Claude Code, run:
/plugin marketplace add GruperTal/claude-pin-message
/plugin install pin-message@claude-pin-message
/reload-plugins
Use
| You do | What happens |
| --- | --- |
| Select text with the mouse, then /pin | The selection is pinned |
| /pin with nothing selected | Claude's last response is pinned, drawn as markdown |
| Press ✕ unpin above a pin | That pin is removed |
| /unpin | Every pin is removed and the pane closes |
Pin as many things as you like; they stack in one "Pinned" pane. Close the pane and your pins are kept: the next /pin brings it back.
Good to know
- Selections need the fullscreen layout. Claude Code only reports a mouse selection there. Elsewhere
/pinpins the last response, and the pane sits above the prompt instead of beside the transcript. - Pins last for the session. A new session starts with none.
- A pin holds up to 10,000 characters. A longer one is cut.
How it works
It is a mod: one hooks module, about 90 lines, in hooks/register.tsx. /pin reads the selection and the session's messages, keeps the text in session state, and opens a pane that draws the pins.
It is local-only: no network requests, no files written, no model calls. Run claude plugin validate on the repo to see every event it hooks and every call it makes.
Requirements
Claude Code with mods support. Built and tested on v2.1.289.
Development
claude --plugin-dir . # run it from a checkout
claude plugin validate .
claude plugin test .
