restart

restart is a Claude Code mod by tylergraydev that /restart exits Claude Code and types `claude -c` into the same terminal once the prompt is back.

Updated 2026-10-12

What is restart?

restart is a Claude Code mod by tylergraydev that /restart exits Claude Code and types `claude -c` into the same terminal once the prompt is back. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authortylergraydev
Repositorytylergraydev/cc-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (92/100)
Rank#4,918 of 5,272 Claude Code mods; #2,007 in Interface
Last commit2026-10-12
Hooks2 events
Seesonly the events it hooks
Draws onnothing

Is restart safe to install?

restart scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.command.rundrives Claude
$.process.spawn
$.prompt.submitdrives Claude
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.toastdraws interface

How do I install restart?

  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/tylergraydev/cc-mods
    claude plugin validate ./cc-mods/restart
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/tylergraydev/cc-mods && claude --plugin-dir ./cc-mods/restart

Or ask Claude to set it up

Paste this into Claude Code and it installs restart for you:

Install the "restart" Claude Code mod from https://github.com/tylergraydev/cc-mods/tree/main/restart. Run claude plugin validate on it first and show me what it can access before you enable it.

More from tylergraydev/cc-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-deck: Live pane of the session's subagents: status, tool calls, answers, launch and nudge, spawn caps and model rules (Low risk)
  • arcade: Tic-tac-toe, sudoku, tetris, video poker, blackjack and UNO in a side pane, playable by keyboard, mouse or an Xbox contr (Low risk)
  • ask-on-auto-deny: When auto mode's classifier blocks a tool call, asks you above the prompt and lets you allow that exact call once (Low risk)
  • booster-pane: Open pretend Pokémon TCG booster packs by set in a side pane: card art in the terminal, a collection and pull stats (Review before installing)
  • cache-clock: A prompt-cache countdown in the status line, and a Compact / Handoff / Clear band once the cache has lapsed (Low risk)
  • claim-check: Flags confident claims about prod, data, deployments and tickets that no query backed up in the same turn (heuristic) (Low risk)
  • dev-doctor: Read-only environment checks on session start (bash on PATH, .NET SDK/runtime, ports, git locks, worktrees, Docker, AUTH (Review before installing)
  • diff-viewer: Diff pane: what Claude changed this turn and this session, per file, plus git diff on demand (Low risk)