ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 JasonWarrenUK

goblin-util

세션을 실행하는 컴퓨터를 위한 Claude Code mod 두 가지입니다. /pain은 새 턴 없이 도구 자체의 불편을 기록하고, /fleet는 컴퓨터의 모든 세션을 보여 주며 하나를 골라 메시지를 보낼 수 있게 합니다.

JasonWarrenUK@JasonWarrenUK

JasonWarrenUK/goblin-mode/tree/main/marketplace/goblin-util

번역 완료

이 mod 소개

goblin-util은 실행해도 새 턴을 시작하지 않는 Claude Code 명령 두 개를 제공합니다. /pain은 Claude Code 자체를 사용하며 겪은 불편을 ~/.claude/library/state/cc-pain-points.json에 기록하고 repo, branch, 마지막으로 실패한 도구 호출을 자동으로 채웁니다. 중복 항목은 다시 기록하지 않습니다. /fleet는 컴퓨터의 각 session이 기록한 heartbeat 데이터(repo, branch, 실행 중인지 여부, 마지막 도구 호출과 시간)를 읽어 패널에 나열합니다. 1–9로 선택한 다음 Enter를 눌러 해당 session에 메시지를 보낼 수 있습니다. 옵션은 enabled, heartbeat_seconds(기본 15), stale_minutes(기본 10)입니다. claude plugin marketplace add JasonWarrenUK/goblin-mode와 claude plugin install goblin-util@goblin-mode로 설치하며 Claude Code 2.1.287 이상이 필요합니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add JasonWarrenUK/goblin-mode
claude plugin install goblin-util
원문 / README

goblin-util

[!NOTE] Two Claude Code mods from goblin-mode for the machine you run sessions on. Both are immediate commands: they work while Claude is busy, and neither starts a turn.


1. Install

claude plugin marketplace add JasonWarrenUK/goblin-mode
claude plugin install goblin-util@goblin-mode

Needs Claude Code 2.1.287 or later. The panes draw in the terminal; the heartbeat and /pain <text> work everywhere.


2. /pain

Logs friction with Claude Code itself (the tool, never your project) into ~/.claude/library/state/cc-pain-points.json, the file hud-cc_releases reads to recognise a fix in the changelog later. The track-cc_pain skill does the same by inferring your mood mid-turn; this is the direct channel.

| Form | What happens | |---|---| | /pain the status line ate my prompt | Appends the entry at once and prints logged the-status-line-ate-my-prompt. | | /pain | Opens a small pane with the context line and an input. Enter logs it and closes the pane. Esc closes it. |

The entry carries the schema library/state/README.md documents. sourceSession is pre-filled with the repo, the branch and the last failed tool call's first line, so the record says where it bit. An open entry with the same description is not duplicated; you are told its id instead. Marking an entry resolved stays with the skill.


3. /fleet

Every session on this machine writes a heartbeat row to the plugin's shared store: repo, branch, whether a turn is running, the last tool it called and when. /fleet opens a pane listing them, this session first.

| Key | Does | |---|---| | 1 to 9 | Picks a row. A picked session that is not this one gets an input under the table. | | Enter in the input | Sends the line to that session as a message, the same delivery as the SendMessage tool. The toast says whether it landed. | | Esc | Closes the pane. |

A row that has not written for a minute reads quiet. Opening /fleet never writes: a row past the stale limit is dropped by the next heartbeat any running session writes, within heartbeat_seconds (15 by default). A session that ends cleanly removes its own row.


4. Options

| Option | Default | What it does | |---|---|---| | enabled | true | The one switch for all of it. Off, the heartbeat stops and /pain and /fleet are not registered. | | heartbeat_seconds | 15 | How often this session writes its row. | | stale_minutes | 10 | A session silent for this long is forgotten. |


5. Files

| File | Holds | |---|---| | hooks/register.tsx | Both commands, the heartbeat, the two panes | | hooks/util.test.tsx | Tests for the helpers, both forms of /pain, the fleet pane and the heartbeat | | types/index.d.ts | The $.state contract: the picked session, the last failed tool, the branch |

Check it with claude plugin validate marketplace/goblin-util --strict and claude plugin test marketplace/goblin-util.

비슷한 프로젝트