init

A setup command for Plan Cascade, a tool that organizes software work into plans and tasks. It checks the operating system, installs the uv Python package manager when needed, and verifies that Python commands can run.

In plain words
What is it for?
Run it once when setting up Plan Cascade on a computer, especially before creating or executing project plans.
Why use it?
It prepares the required local tools before you use the other Plan Cascade commands.

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/taoidle/plan-cascade/init
Clone the repo
git clone --depth 1 https://github.com/Taoidle/plan-cascade
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00027 $0.00653
Opus 5 $0.00014 $0.00327
Sonnet 5 $0.00005 $0.00131
Haiku 4.5 $0.00003 $0.00065

Measured yesterday against content hash d5ca29e58737, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

init 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 yesterday.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://astral.sh/uv/install.sh | sh
commands/init.md · 92 lines

How it starts

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

Plan Cascade Environment Initialization

This command sets up the cross-platform environment for Plan Cascade.

Step 1: Detect Operating System

OS_TYPE="unknown"
case "$(uname -s)" in
    Linux*)     OS_TYPE="linux"; echo "Detected: Linux";;
    Darwin*)    OS_TYPE="macos"; echo "Detected: macOS";;
    CYGWIN*|MINGW*|MSYS*) OS_TYPE="windows"; echo "Detected: Windows (via Git Bash/MSYS2)";;
    *)          OS_TYPE="unknown"; echo "Warning: Unknown OS";;
esac

Step 2: Check and Install uv

uv is a fast Python package manager that handles virtual environments automatically.

if command -v uv &> /dev/null; then
    echo "uv is already installed: $(uv --version)"
else
    echo "Installing uv..."
    case "$OS_TYPE" in
        windows)
            powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex"
            ;;
        *)
            curl -LsSf https://astral.sh/uv/install.sh | sh
            ;;
    esac

    # Add to PATH for current session
    export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"

    if command -v uv &> /dev/null; then
        echo "uv installed successfully: $(uv --version)"
    else
        echo "uv installation failed. Please install manually:"
        echo "  https://docs.astral.sh/uv/getting-started/installation/"
        exit 1
    fi
fi

Step 3: Verify Python Execution

echo "Testing Python execution..."
if uv run python -c "import sys; print(f'Python {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}')"; then
    echo "Python execution successful"
else
    echo "Python execution failed"
    exit 1
fi

Step 4: Verify Plan Cascade Module

echo "Testing Plan Cascade module..."
if uv run python -c "from plan_cascade.state.path_resolver import PathResolver; print('Plan Cascade module loaded')"; then
    echo "Plan Cascade module accessible"
else
    echo "Plan Cascade module not found. Installing..."
    uv pip install -e .
fi

Step 5: Display Environment Summary

Read the full file on GitHub · 92 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. yesterday First seen · 92 lines · 27 tokens per session scan C d5ca29e58737

Subscribe to this mod's changes

init is a command published in the GitHub repository Taoidle/plan-cascade (124 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 653 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.