What is tw-stock-mod?
tw-stock-mod is a Claude Code mod by darrell-tw that watchlist band above the Claude Code prompt: Taiwan hours show the Taiwan list (紅漲綠跌), US hours show the US list (綠漲紅跌), in a broker-style table with a Solari split-flap footer, plus a 損益. It is listed under Cost & usage and has 66 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | darrell-tw |
| Repository | darrell-tw/darrelltw-mods |
| Popularity | 66 GitHub stars |
| Category | Cost & usage |
| Security | High risk (52/100) |
| Rank | #228 of 5,272 Claude Code mods; #37 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-05 |
| Stars this week | +1 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | AbovePrompt |
Is tw-stock-mod safe to install?
tw-stock-mod scores 52/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.session.cwd | |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
How do I install tw-stock-mod?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/darrell-tw/darrelltw-mods claude plugin validate ./darrelltw-mods/mods/tw-stock-mod
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add darrell-tw/darrelltw-mods && claude plugin install tw-stock-mod@darrelltw-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs tw-stock-mod for you:
Install the "tw-stock-mod" Claude Code mod from https://github.com/darrell-tw/darrelltw-mods/tree/main/mods/tw-stock-mod. Run claude plugin validate on it first and show me what it can access before you enable it.