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

context-watch

프롬프트 위에 컨텍스트 사용량, 비용, 현재 적용되는 속도 제한을 한 줄 게이지로 표시하고 60/80/90%에서 토스트를 띄우며, 컴팩션 후에도 지침과 편집한 파일을 보존하고 /ctx 컨텍스트 분석 패널을 추가하는 Claude Code function-hook mod입니다.

narrowstacks@narrowstacks

narrowstacks/claude-code-mods/tree/master/context-watch

번역 완료

이 mod 소개

context-watch는 narrowstacks/claude-code-mods 마켓플레이스에서 배포되는 Claude Code용 function-hook mod입니다(각 폴더가 하나의 플러그인입니다). 프롬프트 위에 컨텍스트 사용량, 비용, 현재 속도 제한을 보여 주는 한 줄 게이지를 그리고, 60%, 80%, 90% 임계값에서 토스트를 표시하며, 컴팩션을 거쳐도 고정 지침과 편집한 파일을 유지하고, /ctx 명령으로 자세한 컨텍스트 분석 패널을 엽니다. claude plugin marketplace add narrowstacks/claude-code-mods 다음에 claude plugin install context-watch@claude-code-mods로 설치하거나 --plugin-dir로 체크아웃에서 불러올 수 있습니다. claude plugin validate와 claude plugin test로 검증 및 테스트를 지원하며, Claude Code가 .claude-plugin/types/를 작성하면 TypeScript 컴파일도 작동합니다.

설치

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

claude plugin marketplace add narrowstacks/claude-code-mods
claude plugin install context-watch
원문 / README

claude-code-mods

Function-hook mods for Claude Code. Each folder is one plugin.

| Mod | What it does | | --- | --- | | context-watch | One-line gauge above the prompt for context fill, cost and hot rate limits; toasts at 60/80/90%; compaction keeps your instructions and edited files; /ctx opens a context breakdown pane | | live-spinner | Spinner shows what is running: the Bash description or a trimmed command, the ssh host, file being read or edited, search, subagent, MCP tool; a tool's own elapsed time after 15s; "Waiting for signing approval" when a signed git commit or tag sits quiet | | pr-watch | Tracks PRs from gh pr / gt submit / git push output, shows checks above the prompt, toasts on green/red/merged, blocks foreground CI polling loops; /prs | | house-style | No em dashes: system prompt rule, reminder to the model after a write that adds one, toast when a reply uses one | | handoff | /handoff [focus] writes a state note from the conversation and clears; the next prompt carries it. /handoff save, show, drop | | agent-jobs | /jobs opens a pane of running subagents and background shells with elapsed time and a Stop button; toasts when background work finishes | | zsh-safe | Quotes glob flags zsh would expand (--include=*.ts, find -name *.ts) and keeps a grep that finds nothing from failing a cd ... && grep chain | | pm-guard | Blocks npm/npx/yarn where the lockfile says bun or pnpm, and steers to bun where there is no lockfile | | remote-guard | Asks before a destructive command (restart, rm, kill, reboot, pct/qm stop, zfs destroy) runs over ssh | | xcode-status | Only in a folder with an .xcodeproj/.xcworkspace: one line with the last build or test result (flags runs that executed 0 tests) and the booted simulator; blocks a second xcodebuild while one is running; re-checks on /cd and keeps each project's last result | | agent-models | Pins the model each subagent type runs on (Explore, general-purpose, Plan, any other, plus custom type=model pairs), set in /config or with /agent-models <type> <model>; a model the caller names wins unless "Override explicit models" is on | | worktrees | /worktrees pane: each git worktree with branch, uncommitted changes, ahead/behind and PR state; Remove (after asking) on clean worktrees whose PR is merged or closed, plus "Remove N merged" to clear every merged one at once | | pr-rules | Blocks gh pr create / gt submit when the repo keeps an [Unreleased] changelog and the branch adds no entry (skip with --label no-changelog); where the repo's CLAUDE.md says to label every PR (or requireLabels is on), blocks a PR with no --label and lists the repo's labels. Repos with neither are untouched; /pr-rules on|off|auto overrides per repo (kept across sessions) |

Install

claude plugin marketplace add narrowstacks/claude-code-mods
claude plugin install context-watch@claude-code-mods

Or load from a checkout without installing:

claude --plugin-dir ./context-watch --plugin-dir ./live-spinner

Check

claude plugin validate ./context-watch
claude plugin test ./context-watch

tsc -p ./context-watch works once Claude Code has loaded the mod and written .claude-plugin/types/.

비슷한 프로젝트