Offline banner
tanweai tanweai

Offline

Development community

Description

--- description: "PUA 离线模式 — 关闭所有联网反馈/排行榜上报,保留本地 PUA 行为。/pua:offline。Triggers on: '/pua:offline', '离线模式', '封闭网络', 'offline mode', 'no network'." --- 开启 PUA 离线模式,适用于内网、封闭网络、无外网代理或不希望任何反馈上报的环境。 ## 执行 ```bash 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

Installation

Installs to ~/.claude/skills/tanweai-pua-offline/SKILL.md

Terminal
mkdir -p ~/.claude/skills/tanweai-pua-offline && curl -fsSL https://raw.githubusercontent.com/tanweai/pua/HEAD/commands/offline.md -o ~/.claude/skills/tanweai-pua-offline/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository