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.

Updated 2026-10-09

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.

TypeClaude code mod
Authortomikng
Repositorytomikng/prompt-forge
Popularity1 GitHub stars
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#2,334 of 5,272 Claude Code mods; #391 in Cost & usage
LicenseMIT
Last commit2026-10-09
Hooks7 events
Seesevery prompt
Draws onAbovePrompt

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.command.rundrives Claude
$.model.completedrives Claude
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.cwd
$.session.messagesreads the transcript
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install prompt-forge?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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.