install

install is a command for Claude Code from pwdev-solucoes/pwdev-claude-marketplace. It costs 11 tokens per session (686 once invoked), scanned C, original, Apache-2.0.

A command that installs the PWDEV status line script in Claude Code's global settings. A status line is a small display showing information about the current coding session.

In plain words
What is it for?
It is for checking the jq prerequisite, installing or updating the status-line script, making it executable, and configuring the global settings.
Why use it?
It removes the manual work of copying the script, checking for an existing version, and configuring Claude Code to use it.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pwdev-statusline plugin — 2 commands shipped together

Good fit It is for checking the jq prerequisite, installing or updating the status-line script, making it executable, and configuring the global settings.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add pwdev-solucoes/pwdev-claude-marketplace
Claude Code
/plugin install pwdev-statusline

Made for: Claude Code.

Or install pwdev-statusline, the plugin that ships this one along with the rest of its 2 commands.

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 install

README.md
[![agentmods](https://agentmods.dev/badge/commands/pwdev-solucoes/pwdev-claude-marketplace/install.svg)](https://agentmods.dev/commands/pwdev-solucoes/pwdev-claude-marketplace/install)
Your own site
<a href="https://agentmods.dev/commands/pwdev-solucoes/pwdev-claude-marketplace/install"><img src="https://agentmods.dev/badge/commands/pwdev-solucoes/pwdev-claude-marketplace/install.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 686 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00011 $0.00686
Opus 5 $0.00005 $0.00343
Sonnet 5 $0.00002 $0.00137
Haiku 4.5 $0.00001 $0.00069

Measured 4d ago against content hash 2dd4cbd909b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

install scanned grade C with 2 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Ubuntu/Debian: sudo apt install jq

Reads agent configuration directoriesmediumAgent snooping

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

1. Read `~/.claude/settings.json`
plugins/pwdev-statusline/commands/install.md · 81 lines

How it starts

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

/pwdev-statusline:install — Install Status Line

Role

Installs the PWDEV status line script and configures Claude Code to use it.

Procedure

STEP 1 — Check prerequisites

  1. Verify jq is installed on the system. If not, warn the user:
    ⚠️  jq is required for the status line. Install it:
    - Ubuntu/Debian: sudo apt install jq
    - macOS: brew install jq
    - Fedora: sudo dnf install jq
    
    Continue anyway (jq is only needed at runtime).

STEP 2 — Read the template

  1. Read the template script from ${CLAUDE_PLUGIN_ROOT}/templates/statusline.sh.

STEP 3 — Install the script

  1. Target path: ~/.claude/statusline.sh
  2. Idempotent check: if the target exists and is IDENTICAL to the template → inform "already installed and up to date", skip to STEP 4.
  3. If the target exists and differs, and $ARGUMENTS does NOT contain --force:
    • Show the user the diff between the existing file and the template (their copy may carry customizations from /pwdev-statusline:customize)
    • Ask: "Status line script already exists. Overwrite? (y/n)"
    • If no → skip to STEP 4
  4. Copy the template content to ~/.claude/statusline.sh
  5. Make it executable: chmod +x ~/.claude/statusline.sh

STEP 4 — Configure Claude Code settings

  1. Read ~/.claude/settings.json
  2. Check if statusLine key already exists:
    • If it already points to bash ~/.claude/statusline.sh → inform user it's already configured, skip
    • Otherwise → set the statusLine configuration (merge — never drop other keys):
      {
        "statusLine": {
          "type": "command",
          "command": "bash ~/.claude/statusline.sh"
        }
      }
      
  3. Write the updated settings back to ~/.claude/settings.json

STEP 5 — Verify

  1. Run a quick test: echo '{}' | bash ~/.claude/statusline.sh
  2. If the output contains "(no data)" or a partial line → installation is OK
  3. Print success message:
    ✅ PWDEV Status Line installed!
    
    📍 Script: ~/.claude/statusline.sh
    ⚙️  Settings: ~/.claude/settings.json (statusLine configured)
    
    Restart Claude Code to see the status line.
    Customize with /pwdev-statusline:customize
    

Read the full file on GitHub · 81 lines

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. 4d ago First seen · 81 lines · 11 tokens per session scan C 2dd4cbd909b4

Subscribe to this mod's changes

install is a command published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 11 tokens to every session and 686 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.