cc-restart

cc-restart is a Claude Code mod by wdsewdser-bit that 让会话里的模型自己重启 Claude 桌面版,并在重启后唤醒同一个会话继续干活。.

Updated 2026-11-28

What is cc-restart?

cc-restart is a Claude Code mod by wdsewdser-bit that 让会话里的模型自己重启 Claude 桌面版,并在重启后唤醒同一个会话继续干活。. It is listed under Interface and has 7 GitHub stars.

TypeClaude code mod
Authorwdsewdser-bit
Repositorywdsewdser-bit/claude-code-mods
Popularity7 GitHub stars
CategoryInterface
SecurityHigh risk (56/100)
Rank#1,182 of 9,397 Claude Code mods; #493 in Interface
LicenseMIT
Last commit2026-11-28
Hooks2 events
Seesmcp__cc-restart__restart_cc calls
Draws onnothing

Is cc-restart safe to install?

cc-restart scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 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 files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.cwd
$.session.id
$.tool.registerdrives Claude

How do I install cc-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/wdsewdser-bit/claude-code-mods
    claude plugin validate ./claude-code-mods/cc-restart
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add wdsewdser-bit/claude-code-mods && claude plugin install cc-restart@claude-code-mods

Or ask Claude to set it up

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

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

More from wdsewdser-bit/claude-code-mods

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

  • away-autopilot: 用户离开 5 分钟未回复待确认的问题时,提示模型自行决定;模型可调用工具暂停自动推进。 (Low risk)
  • cache-keeper: Observes prompt-cache usage, keeps the session's and its finished subagents' caches warm, and runs 5m/1h TTL A/B experim (High risk)
  • ctx-mod: Proactive context management: a task ledger, a searchable history and zero-summary window switches. (High risk)
  • delegate: Hand a task to a cheaper model (any OpenAI chat-protocol provider) through a local Anthropic-to-OpenAI proxy; /delegate (Low risk)
  • dispatch-gate: A soft gate on the main session: reminds it, then refuses once per stretch, to hand work to a subagent; and refuses one (Review before installing)
  • effort-auto: Adaptive thinking effort for the main conversation only: rest at low, raise it by steps when judgement is needed. (Review before installing)
  • ptc-run: Programmatic tool calling: run_code runs a JS program that calls read/glob/grep/edit/bash in a sandbox and returns only (High risk)
  • read-dedup: Re-reading a file already in the context returns a one-line notice if unchanged, or only a diff if changed, saving conte (Low risk)