sip-setup

sip-setup is a command for Claude Code from piyushkhemka/sip. It costs 21 tokens per session (388 once invoked), scanned B, original, MIT.

A setup command that installs Sip's status-line script and connects it to Claude Code's settings file, which controls the main status line.

In plain words
What is it for?
Use it when enabling Sip for the first time or refreshing its installed script after an update.
Why use it?
It removes the manual editing needed to enable the status line and keeps a stable copy working after plugin updates.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions Claude Code.

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the sip plugin — 1 command shipped together

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/piyushkhemka/sip/sip-setup
Clone the repo
git clone --depth 1 https://github.com/piyushkhemka/sip

Made for: Claude Code.

Or install sip, the plugin that ships this one along with the rest of its 1 command.

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 sip-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/piyushkhemka/sip/sip-setup.svg)](https://agentmods.dev/commands/piyushkhemka/sip/sip-setup)
Your own site
<a href="https://agentmods.dev/commands/piyushkhemka/sip/sip-setup"><img src="https://agentmods.dev/badge/commands/piyushkhemka/sip/sip-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.1 $0.00021 $0.00388
Opus 5 $0.00010 $0.00194
Sonnet 5 $0.00004 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured 5d ago against content hash 3615c5b98cfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

sip-setup scanned grade B 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 5d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

description: Enable the Sip main status line by wiring it into your ~/.claude/settings.json.
commands/sip-setup.md · 41 lines

What it actually says

Set up Sip 💧

Wire this plugin's sip.sh into the user's main Claude Code status line.

Steps:

  1. Determine the absolute path to the plugin's sip.sh. If the CLAUDE_PLUGIN_ROOT environment variable is available, it is ${CLAUDE_PLUGIN_ROOT}/sip.sh. Otherwise locate the installed plugin directory (it contains sip.sh and .claude-plugin/plugin.json).

  2. Run the bundled setup script. It installs a stable, self-contained copy of sip.sh to ~/.claude/sip.sh and idempotently sets the statusLine key in ~/.claude/settings.json to point there (backing up the current file first). Because the copy is location-independent, the status line keeps working even if the plugin's versioned cache directory changes on update — just re-run this command after updating to refresh the copy.

    "${CLAUDE_PLUGIN_ROOT}"/scripts/enable.sh
    

    If CLAUDE_PLUGIN_ROOT is not set, run scripts/enable.sh from the plugin directory, or pass the path explicitly:

    SIP_PATH="/abs/path/to/sip.sh" /abs/path/to/scripts/enable.sh
    
  3. Confirm the result to the user and tell them to reload Claude Code (the status line refreshes on the next interaction). Report the exact command path that was written.

To remove it later, delete the statusLine key from ~/.claude/settings.json or restore one of the settings.json.bak.* backups the script created.

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. 5d ago First seen · 41 lines · 21 tokens per session scan B 3615c5b98cfb

Subscribe to this mod's changes

sip-setup is a command published in the GitHub repository piyushkhemka/sip (3 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 388 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.