WeReply: Settings file for Claude Code

.claude/settings.json

settings is a settings file for Claude Code from cacr92/WeReply. Its token cost is not measured, scanned C, original, MIT.

A settings file for configuring an AI coding agent, including environment variables, permissions, status display, plugins, and lifecycle hooks. Hooks are commands that run at events such as session start or before a tool call.

In plain words
What is it for?
Use it to configure a Tauri, Rust, and React project for agent-assisted work. It can show startup instructions, display branch information, enable plugins, and define hook events.
Why use it?
It centralizes project-specific behavior and reminders, such as required workflow steps, status information, and enabled language tools.

Settings file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: names the TodoWrite tool; mentions Claude Code.

This is cacr92/WeReply's own configuration. It tells Claude Code how to work on WeReply itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WeReply configures →

One of 8 entries in settings.json upstream. Installing this one merges just its entry into your config; the other 7 are separate, each on its own page.

Reuse

Borrowing it

Nothing to install: this file belongs to cacr92/WeReply. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cacr92/WeReply/main/.claude/settings.json
Clone the repo
git clone --depth 1 https://github.com/cacr92/WeReply

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for settings

README.md
[![agentmods](https://agentmods.dev/badge/settings/cacr92/wereply/settings/github.svg)](https://agentmods.dev/settings/cacr92/wereply/settings)
Your own site
<a href="https://agentmods.dev/settings/cacr92/wereply/settings"><img src="https://agentmods.dev/badge/settings/cacr92/wereply/settings/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for settings

Your own site · 80×15
<a href="https://agentmods.dev/settings/cacr92/wereply/settings"><img src="https://agentmods.dev/badge/settings/cacr92/wereply/settings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade C, and why

settings scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

"command": "jq -r '.tool_input.command' | { read cmd; case \"$cmd\" in *\"rm -rf\"*|*\"del /s\"*|*format*|*shutdown*|*reboot*) echo '🚫 禁止执行危险命令'; exit 2 ;; esac; }"
.claude/settings.json · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "env": {
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
  },
  "permissions": {
    "defaultMode": "bypassPermissions"
  },
  "alwaysThinkingEnabled": true,
  "statusLine": {
  "type": "command",
  "command": "npx ccusage statusline"
  },
  "enabledPlugins": {
    "rust-analyzer-lsp@claude-plugins-official": true,
    "typescript-lsp@claude-plugins-official": true
  },
  "hooks": {
    "SessionStart": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "cat <<'EOF'\n=========================================\n🦀 饲料配方系统 - Tauri + Rust + React\n=========================================\n\n📋 开发规范提醒:\n  ❌ 禁止 console.log - 使用 message 组件\n  ❌ 禁止 as any - 使用精确类型断言\n  ✅ 修改代码后更新 CHANGELOG.md\n  ✅ Rust 修改后会自动生成类型绑定\n\n⚠️ AI 执行流程规范(强制遵守):\n  1️⃣ 需求分析 - 按序号列出(1. 2. 3. ...)\n  2️⃣ 任务分解 - 带任务编号(任务1、1.1、1.2...)\n  3️⃣ 创建TodoWrite - 立即创建任务追踪清单\n  4️⃣ 说明每一步 - 执行前必须说明在做什么\n  5️⃣ 标记完成状态 - 逐项标记 ✓已完成/✗未完成\n  6️⃣ 逻辑验证 - 检查逻辑和数据流\n  7️⃣ 代码审查 - 运行lint检查\n\n❗ 如果AI偏离以上流程,请立即打断!\n=========================================\nEOF"
          },
          {
            "type": "command",
            "command": "echo \"\n当前分支: $(git branch --show-current)\nGit 状态: $(git status --short | wc -l | tr -d ' ') 个变更\""
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "echo 💬 开始处理请求..."
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "jq -r '.tool_input.file_path' | { read file_path; case \"$file_path\" in *.env|*.db|*.sqlite|*.key|*.pem|*.p12|*package-lock.json|*Cargo.lock|*.git/*) echo '🚫 禁止修改敏感文件'; exit 2 ;; esac; }"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command":

Read the full file on GitHub · 164 lines

Same file

What else settings.json configures

This page is one entry in a file that holds 8. Installing the file brings all of them; each is measured and scanned on its own page.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 164 lines scan C 8854e2588b01

Subscribe to this mod's changes

settings is a settings file published in the GitHub repository cacr92/WeReply (9 stars, last pushed 9mo ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.