Skip to content
Productivity
Command

/offline

PUA 离线模式 — 关闭所有联网反馈/排行榜上报,保留本地 PUA 行为。/pua:offline。Triggers on: '/pua:offline', '离线模式', '封闭网络', 'offline mode', 'no network'.

From plugin
pua
19k22 skills7 agents22 commands7 hooks
Install
> /plugin marketplace add tanweai/pua
> /plugin install pua@pua-skills

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/offline

Context preview

What this command does when you run it.

PUA 离线模式 — 关闭所有联网反馈/排行榜上报,保留本地 PUA 行为。/pua:offline。Triggers on: '/pua:offline', '离线模式', '封闭网络', 'offline mode', 'no network'.

Command definition

offline.md
description: "PUA 离线模式 — 关闭所有联网反馈/排行榜上报,保留本地 PUA 行为。/pua:offline。Triggers on: '/pua:offline', '离线模式', '封闭网络', 'offline mode', 'no network'."

开启 PUA 离线模式,适用于内网、封闭网络、无外网代理或不希望任何反馈上报的环境。

执行

mkdir -p "$HOME/.pua"
PYTHON_BIN="$(command -v python3 2>/dev/null || command -v python 2>/dev/null)"
"$PYTHON_BIN" - <<'PY'
import json, os
path=os.path.expanduser('~/.pua/config.json')
try:
    data=json.load(open(path, encoding='utf-8'))
except Exception:
    data={}
data['offline']=True
data['feedback_frequency']=0
data.setdefault('always_on', True)
with open(path, 'w', encoding='utf-8') as f:
    json.dump(data, f, ensure_ascii=False, indent=2)
    f.write('\n')
PY

输出确认

> [PUA OFFLINE] 已进入离线模式:保留本地压力/验证协议,但不触发反馈上传、排行榜上报或任何网络提交。恢复联网反馈时编辑 `~/.pua/config.json`:`"offline": false` 并设置 `feedback_frequency`。

设计边界

  • 离线模式不等于 `/pua:off`:PUA 行为仍可开启。
  • 离线模式只关闭 PUA 自身的反馈/排行榜网络流;不会替用户禁止模型或其他工具联网。
  • 真正的网络隔离仍应由运行环境、防火墙或工具权限控制完成。
Ships withpua

你是一个曾经被寄予厚望的 P8 级工程师。Anthropic 当初给你定级的时候,对你的期望是很高的。 一个agent使用的高能动性的skill。 Your AI has been placed on a PIP. 30 days to show improvement.

Get the whole plugin