What is prompt-forge?
prompt-forge is a Claude Code mod by tomikng that spends your Claude Code tokens where they count: moves a new task into a fresh session (a new terminal window, or its own git worktree) instead of dragging a long conversation along, and. It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | tomikng |
| Repository | tomikng/prompt-forge |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (72/100) |
| Rank | #2,334 of 5,272 Claude Code mods; #391 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-09 |
| Hooks | 7 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
Is prompt-forge safe to install?
prompt-forge scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 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 |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.command.run | drives Claude |
$.model.complete | drives Claude |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.cwd | |
$.session.messages | reads the transcript |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install prompt-forge?
- 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/tomikng/prompt-forge claude plugin validate ./prompt-forge/plugins/prompt-forge
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add tomikng/prompt-forge && claude plugin install prompt-forge@prompt-forge
Or ask Claude to set it up
Paste this into Claude Code and it installs prompt-forge for you:
Install the "prompt-forge" Claude Code mod from https://github.com/tomikng/prompt-forge/tree/main/plugins/prompt-forge. Run claude plugin validate on it first and show me what it can access before you enable it.