open

A project-opening command that lets you choose a project and launch it in an editor or terminal.

In plain words
What is it for?
Use it to open one project, choose an editor, view all projects, or manage projects hidden from the normal list.
Why use it?
It avoids locating projects manually and supports a saved default editor plus an ignore list.

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/signalcompose/claude-tools/open
Clone the repo
git clone --depth 1 https://github.com/signalcompose/claude-tools
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,705 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.00007 $0.01705
Opus 5 $0.00003 $0.00852
Sonnet 5 $0.00001 $0.00341
Haiku 4.5 $0.00001 $0.00170

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

Security

Grade A, and why

open 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/ypm/commands/open.md · 243 lines

How it starts

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

YPM - Open Project in Editor

Open a YPM-managed project in specified editor.

Prerequisites:

  • Run /ypm:setup first if ~/.ypm/config.yml doesn't exist
  • Run /ypm:update first if ~/.ypm/PROJECT_STATUS.md doesn't exist

Subcommands

  • (no args): Select from list (excluding ignored, open with default editor)
  • <project> [editor]: Open project with specified editor
  • all: Select from all projects including ignored
  • ignore-list: Show ignored projects list
  • add-ignore: Add project to ignore list
  • remove-ignore: Remove from ignore list
  • --editor [name]: View/set default editor

Usage Examples

/ypm:open                    # Normal mode (default editor)
/ypm:open myproject          # Open myproject with default editor
/ypm:open myproject cursor   # Open myproject with Cursor
/ypm:open myproject terminal # Open myproject in Terminal.app
/ypm:open all                # Show all mode
/ypm:open --editor           # Show current default editor
/ypm:open --editor cursor    # Set default to Cursor
/ypm:open ignore-list        # Show ignore list
/ypm:open add-ignore         # Add to ignore
/ypm:open remove-ignore      # Remove from ignore

Supported Editors: code (VS Code), cursor (Cursor), zed (Zed), terminal (Terminal.app)


Execution Steps

Common STEP: Check Arguments

Check arguments and branch to corresponding mode:

  • No args -> Mode 1: Normal mode
  • <project> [editor] -> Mode 1: Normal mode (direct project specification)
  • all -> Mode 2: Show all mode
  • ignore-list -> Mode 3: Ignore list
  • add-ignore -> Mode 4: Add ignore
  • remove-ignore -> Mode 5: Remove ignore
  • --editor [name] -> Mode 6: Editor settings

Mode 1: Normal Mode (no args or project name specified)

STEP 1: Check config.yml and Editor CLI

1-1. Get default editor from ~/.ypm/config.yml

Read the full file on GitHub · 243 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. 2d ago First seen · 243 lines · 7 tokens per session scan A 5e3bed5f8ce4

Subscribe to this mod's changes

open is a command published in the GitHub repository signalcompose/claude-tools (4 stars, last pushed 5d ago), licensed MIT. It adds 7 tokens to every session and 1,705 once invoked, about $0.0000 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.