attachments
by Erick Fuga · ★ 0 · updated 3 days ago
The draft's attachments as chips above the prompt: each pasted picture, pasted text, @-mentioned file or folder and, with the issues mod, @# issue, with a glyph for its type, its path and what it is, and a × to take it out of the draft.
Install
/plugin marketplace add thefuga/claude-x/plugin install attachments@claude-xThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startclassic.SessionStartui.render- API calls
$.clock.every$.env.get$.fs.list$.fs.read$.fs.stat$.process.run$.prompt.fill$.prompt.read$.session.id$.session.root$.state.get$.state.set$.ui.log$.ui.resolve- Draws
AbovePrompt- Can see
classic hooks- Reach
- level 2 of 3 other: $.prompt.readother: $.state.getother: $.state.setruns processeswrites the prompt boxreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/thefuga/claude-x
- Path in repo
mods/attachments- Source commit
bd85bacthe exact code the scan read- Author
- Erick Fuga @thefuga
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from thefuga/claude-x
issues
thefuga/claude-x
Finds the repository's GitHub issues as @# is typed in the prompt, as opencode.vim does: a list above the prompt filtered by number or title, picked with a click or Ctrl+X Tab, and each @#N sent with the issue for the model to read.
statusline
thefuga/claude-x
A vim-style status bar in the Claude Code footer: editor mode, permission mode, model, effort, git state, usage and cursor; numbers the draft's lines and keeps the prompt box taller.
stfu
thefuga/claude-x
Drops the whimsical word from the line that runs while Claude works and from the one that closes a turn, leaving the elapsed time, tokens and duration where Claude Code draws them.
syntax
thefuga/claude-x
Colors the prompt's draft as it is typed: its markdown, the code in its fences, and in shell mode the command.
vim
thefuga/claude-x
A vim command line for Claude Code: :w and :e keep a draft per session, :q quits (! to force), and any other name runs that slash command, with Tab completion. Opened by the focus chord for the area above the prompt; drawn in the statusline mod's bar.