
darrelltw-mods
Claude Code mods by Darrell Wang — bands above the prompt, zero model tokens. 台股/美股看板 + more to come.
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up darrelltw-mods (claude-plugin project) into my current project. Found on https://claudeers.com/darrelltw-mods Repo: https://github.com/darrell-tw/darrelltw-mods Homepage/docs: — Detected install method: claude-plugin → /plugin install darrelltw-mods@darrell-tw/darrelltw-mods Category: plugins. Platforms: cli, api, desktop, mobile. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
/plugin marketplace add darrell-tw/darrelltw-mods /plugin install darrelltw-mods@darrell-tw/darrelltw-mods
git clone https://github.com/darrell-tw/darrelltw-mods
// compatibility
| Platforms | cli, api, desktop, mobile |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | HTML |
darrelltw-mods
Claude Code mods I build for myself and then clean up enough to share. They all
draw into the strip above the prompt (AbovePrompt), they all run on
function hooks (early access), and none of them spend model tokens —
nothing here calls $.model.* or touches your prompt.
What's in here
| mod | what it does |
|---|---|
tw-stock-mod | 台股/美股看板。台股時段顯示台股清單(紅漲綠跌),美股時段顯示美股清單(綠漲紅跌),券商風格表格+Solari 翻牌指數列+損益模式。台美各 20 檔,報價預設走 Yahoo(免金鑰),永豐 Shioaji 可選,照個人偏好順序(~/.claude/stock-band.json) |
More will land here. The marketplace is named after me rather than after what is in it, so adding an unrelated mod later does not make the name a lie.
Install
-
Turn function hooks on in
~/.claude/settings.json(merge theenvkey if you already have one):{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } } -
Add this marketplace, then install the mod you want from inside the project you want it in.
--scope localkeeps the mod in that one project instead of every project on the machine:claude plugin marketplace add darrell-tw/darrelltw-mods cd /path/to/your/project claude plugin install tw-stock-mod@darrelltw-mods --scope localDrop
--scope localonly if you want the band above the prompt everywhere. -
Restart Claude Code.
Each mod's own README covers its config file, and the stock mod ships a
/tw-stock-mod:stock-band-setup command that writes one for you.
To remove:
claude plugin uninstall tw-stock-mod@darrelltw-mods --scope local
claude plugin marketplace remove darrelltw-mods
Run the uninstall from the same project, and match the scope you installed
with: a user install needs --scope user. Uninstalling leaves the runtime
files behind in ~/.claude/stock-band/<project slug>/ (quote cache,
heartbeat, 永豐's log and pid, the SDK's own shioaji.log, and any holdings
永豐 fetched) — delete that whole folder to clean those up too. The folder
only exists once 永豐's fetcher has run; a Yahoo-only install never creates it.
Nothing shows up?
Four different causes produce the exact same symptom — no band, and no error message anywhere — so check all four in order:
-
claude --versionneeds to be 2.1.269 or later. -
Open Claude Code in that project and run
! echo $CLAUDE_CODE_ENABLE_FUNCTION_HOOKS. It needs to print1. A blank line means the flag is off — merge{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }into~/.claude/settings.json(add just that key ifenvalready exists). -
Fully quit and reopen Claude Code after editing settings.
/reload-pluginsdoes not re-readenv. -
Confirm the mod installed into the project you have open right now (
--scope localscopes one install to one project):sed -n '/tw-stock-mod@darrelltw-mods/,/^ \]/p' ~/.claude/plugins/installed_plugins.json | grep projectPathIt prints one path per install; this project must be one of them. If it is not, run the install command again from inside this project's directory. (
claude plugin listwill not help here — every local install prints the sametw-stock-mod@darrelltw-mods / Scope: localline with no path.)
Requirements
- Claude Code 2.1.269 or later. Drawing above the prompt does not exist before that.
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1. Function hooks are early access; without the flag Claude Code ignores themoduleskey and nothing loads.- An interactive terminal.
AbovePromptis terminal-only — nothing draws inclaude -p, the desktop app, or mobile. Measured on macOS iTerm2, Terminal.app, and tmux. Windows and the VS Code integrated terminal are untested — reports welcome.
Repo layout
.claude-plugin/marketplace.json makes this repo installable as a marketplace
docs/api-notes.md function-hooks API facts every mod here relies on, with sources
mods/<name>/ one mod per folder, each its own plugin
.claude-plugin/plugin.json that mod's manifest
hooks/ its hooks module and Client board
README.md its own docs
Adding a mod means dropping a folder under mods/ and adding one entry to
.claude-plugin/marketplace.json. The repo root is only ever the marketplace,
never a plugin itself.
Develop
# type-check a mod (needs the early-access types: run /plugin-types in a Claude
# Code session opened in this repo first)
bunx -p typescript tsc -p mods/tw-stock-mod
# lint
bunx --bun [email protected] mods/tw-stock-mod/hooks --deny-warnings
# validate the marketplace manifest
claude plugin validate .
Never name a local variable h in any hooks/*.tsx file — every JSX tag in
those files compiles to a call of h.
Author
Darrell
- X: @darrell_tw_
- Threads: @darrell_tw_
- Instagram: @darrell_tw_
- Facebook: darrelltw
- LinkedIn: darrell-wang-tw
- GitHub: @darrell-tw
- Email: [email protected]
Issues and PRs welcome.
License
MIT. Use it, change it, ship it in something you sell — just keep the copyright notice.
// faq
What is darrelltw-mods?
Claude Code mods by Darrell Wang — bands above the prompt, zero model tokens. 台股/美股看板 + more to come.. It is open-source on GitHub.
Is darrelltw-mods free to use?
darrelltw-mods is open-source under the MIT license, so it is free to use.
What category does darrelltw-mods belong to?
darrelltw-mods is listed under plugins in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/darrelltw-mods)
// retro hit counter
[](https://claudeers.com/darrelltw-mods)
// reviews
// guestbook
// related in Claude Plugins
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explainin…
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
financial-services — a Claude ecosystem project on GitHub.