init

An installation and setup command for Supathink, a tool that adds optional deep analysis to coding agents.

In plain words
What is it for?
Checking whether Supathink is installed, installing it, configuring providers, selecting activation rules, and verifying its status.
Why use it?
It guides the user through installing the background service, configuring keys, and choosing when the system may activate.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/pbvcity/supathink/init
Clone the repo
git clone --depth 1 https://github.com/pbvcity/supathink
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.00640
Opus 5 $0.00018 $0.00320
Sonnet 5 $0.00007 $0.00128
Haiku 4.5 $0.00004 $0.00064

Measured 2d ago against content hash 9cc47048c29b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/st/commands/init.md · 17 lines

What it actually says

用户在通过 supathink 插件壳请求安装或配置超限思考系统。本插件只提供命令入口;真正的 daemon 与宿主接线由 install.sh 完成。请带着用户一步步做,每步说明在做什么、征得同意后再执行(这是在用户机器上跑安装脚本,透明与确认是底线):

  1. 先检测是否已安装:test -f ~/.supathink/bin/supathink && ~/.supathink/bin/supathink status。已装则跳到第 4 步做配置。
  2. 取得源码(询问用户偏好):
    • 若本机已 clone 过 supathink 仓库,用其目录;否则 git clone https://github.com/pbvcity/supathink.git /tmp/supathink-src(或用户指定目录)。
  3. 运行安装:cd <源码目录> && SUPATHINK_SKIP_CC_COMMANDS=1 ./install.sh(壳插件已提供命令,故跳过重复写入)。它会自动检测本机的 Claude Code / Codex / OpenClaw 并分别接线,daemon 落到 ~/.supathink。向用户复述它打印的"一次性动作"(Codex 需 /hooks 授信;OpenClaw 需重启网关)。
  4. 配置密钥(用 AskUserQuestion 或对话确认要配哪些;不要让用户把 key 贴进对话,给命令让其自己在终端执行):
    • DeepSeek(强烈推荐,校验主力):read -rs -p "DeepSeek API Key: " K && printf "\nSUPATHINK_DEEPSEEK_API_KEY=%s\n" "$K" >> ~/.supathink/env && unset K
    • 可选:GLM(合议中文席)、MiniMax(Judge)、Tavily(事实检索)——端点模板见 ~/.supathink/env,同法追加对应 SUPATHINK_*_API_KEY。
  5. 选激活范围(AskUserQuestion):默认全关(仅显式命令触发)/ 某项目自动分档(该项目根写 .supathink.json {"auto":true})/ 全局自动(~/.supathink/envSUPATHINK_AUTO=true)。解释默认关是推荐——日常零打扰。
  6. 收尾:~/.supathink/bin/supathink status 展示生效配置,并告诉用户:/st:slow <决策问题> 触发一次深审试试,supathink log 看过程,/st:win 标记真实救场。

$ARGUMENTS

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. 2d ago First seen · 17 lines · 37 tokens per session scan A 9cc47048c29b

Subscribe to this mod's changes

init is a command published in the GitHub repository pbvcity/supathink (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 640 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.