Claude Code mod
session-dir-button
A band above the prompt showing the current session's directory, with a Copy button that puts the path on the clipboard.
Install
/plugin marketplace add dcr-lol/claude-session-mod
/plugin install session-dir-button@claude-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: writes the clipboard, reads env vars, reads mod state, draws
- Sees
- classic hooks
- Draws in
AbovePrompt- Hooks
session.startclassic.SessionStartclassic.UserPromptSubmitui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- dcr-lol/claude-session-mod
- Folder
session-dir-button- Marketplace
claude-mods- Author
- dylan.curtisreeve
- Last updated
- 9 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is session-dir-button?
A band above the prompt showing the current session's directory, with a Copy button that puts the path on the clipboard. It is a mod for Claude Code, from dcr-lol/claude-session-mod on GitHub.
What can the session-dir-button mod access?
Its widest reach is "reads" (writes the clipboard, reads env vars, reads mod state, draws). It sees classic hooks. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install session-dir-button?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add dcr-lol/claude-session-mod and then /plugin install session-dir-button@claude-mods.
More pane & dashboard mods
session-dashboard
netgfx/claude-session-dashboard-mod
A side pane for the current session: prompt cache hot/cold, tool calls and errors, background commands with restart and stop, the approved plan, task list, subagents and swarm agents, and token usage for the main agent and subagents
session-end-unpin
ulttla/claude-mod-repo
Unpins the session from the desktop app's sidebar once you ask to end it and Claude finds nothing left: the end-of-session steps done, no question, decision or follow-up waiting
session-dashboard
KeaneCloud/session-dashboard
Sessions pane: every open session with a status light, step progress and time, plus 5-hour and weekly usage
session-hub
bqnhat/claude-local-plugins
One Mod status pane for Claude Code Desktop with an icon rail: Progress (live plan bars with step times and history, forked from zycck/claude-mods plan-progress), Next steps (up to three suggested next prompts; a click puts one in the composer), Skills & agents (the skills and agents called this session, each tagged personal, project, plugin or built-in, plus the rule and CLAUDE.md files loaded) and Cache (cache reads, writes and hit rate per turn, and what the cache saved). One footer entry opens the pane; the terminal keeps the progress band and the next-steps band
session-coach
kamalpreet11/claude-mods
Reviews how you ran the whole session, not one prompt: a 1 to 100 score on a red-to-green gauge, what went well, what to do differently, and the turns that were wasted. /session-coach any time; refreshes itself every 10 turns.
session-ledger
sahiltalwar88/claude-mods
A pane and /ledger: what this session changed, per request, and whether it was verified or committed.
Browse the most popular Claude Code mods, all pane & dashboard mods, or the skills and MCP server directories.