liawzishen/claude-code-mods/tree/main/session-status
session-status
세션 경과 시간, 프롬프트 수, 도구 호출 수를 보여 주는 상태 줄을 추가하는 Claude Code 플러그인입니다. CLAUDE_CODE_PLUGIN_DIRS 또는 claude --plugin-dir 플래그로 설치할 수 있습니다.
이 mod 소개
session-status는 claude-code-mods 모음에 포함된 Claude Code 모드입니다. 검증된 .claude-plugin/plugin.json과 tool.call 훅을 등록하는 hooks/register.tsx 모듈이 있으며, 세션 시간과 프롬프트 수, 도구 호출 수를 상태 줄로 표시합니다. ~/.claude/settings.json의 CLAUDE_CODE_PLUGIN_DIRS 환경 변수 항목에 폴더를 넣으면 모든 세션에서 불러옵니다(실시간 다시 로드에는 CLAUDE_CODE_PLUGIN_DIR_WATCH=1도 설정). 한 세션에서만 사용하려면 claude --plugin-dir ./session-status를 실행하세요. claude plugin validate와 claude plugin test로 검증하고 테스트할 수 있습니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add liawzishen/claude-code-mods claude plugin install session-status
원문 / README
claude-code-mods
Mods that change Claude Code's UI, in the terminal and the desktop app's Code tab. Each folder is one mod: a plugin of function hooks.
| Mod | What it does |
| --- | --- |
| git-diff-timeline | A Git Diff timeline above the prompt. Click one commit to see it or two to compare them, with their commit messages. A Branches tab compares two branches. A GitHub-style "Files changed" panel shows each file's diff. |
| session-status | A status line with the session's time, prompts and tool calls. |
Use them
To load mods in every session, list their folders in the env block of ~/.claude/settings.json. Separate the paths with ; on Windows and : elsewhere:
{
"env": {
"CLAUDE_CODE_PLUGIN_DIRS": "C:\\path\\to\\claude-code-mods\\git-diff-timeline;C:\\path\\to\\claude-code-mods\\session-status",
"CLAUDE_CODE_PLUGIN_DIR_WATCH": "1"
}
}
A session reads this when it starts. With CLAUDE_CODE_PLUGIN_DIR_WATCH=1, open sessions reload a mod when its files change.
To load a mod for one session only: claude --plugin-dir ./git-diff-timeline.
Make a new mod
my-mod/
.claude-plugin/plugin.json { "name": "my-mod", "version": "0.1.0", "description": "..." }
hooks/hooks.json { "modules": ["./register.tsx"] }
hooks/register.tsx export const register: Register = (on, options) => { ... }
See CLAUDE.md for the rules the engine holds mods to.
Check a mod
claude plugin test ./git-diff-timeline
claude plugin validate ./git-diff-timeline
