search-quotes

search-quotes is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 14 tokens per session (677 once invoked), scanned A, original, Apache-2.0.

A command that searches ConnectWise CPQ quotes using customer account, status, creation date, and archive filters. ConnectWise CPQ is software for preparing and tracking customer proposals.

In plain words
What is it for?
Use it to find recent, active, archived, or customer-specific quotes and view their key details, totals, dates, and versions.
Why use it?
It avoids manually looking through quotes and makes it easier to narrow a large collection to relevant records.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the connectwise-cpq plugin — 2 skills, 4 commands shipped together

Good fit Use it to find recent, active, archived, or customer-specific quotes and view their key details, totals, dates, and versions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/search-quotes
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.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install connectwise-cpq, the plugin that ships this one along with the rest of its 2 skills, 4 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 search-quotes

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/search-quotes/github.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/search-quotes)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/search-quotes"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/search-quotes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for search-quotes

Your own site · 80×15
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/search-quotes"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/search-quotes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00014 $0.00677
Opus 5.5 $0.00006 $0.00271
Sonnet 5.5 $0.00003 $0.00135
Haiku 4.5 $0.00001 $0.00068

Measured 1mo ago against content hash 9e82c6dd791d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

search-quotes 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 1mo 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.

msp-claude-plugins/connectwise/cpq/commands/search-quotes.md · 72 lines

How it starts

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

Search ConnectWise CPQ Quotes

Arguments

  • account (optional) — Customer account name, matched with contains
  • since (optional) — Only quotes created on or after this date, YYYY-MM-DD
  • status (optional) — quoteStatus value (tenant-configurable; confirm against live data)
  • include_archived (optional) — Include archived quotes; defaults to excluding them

Prerequisites

  • ConnectWise CPQ credentials configured (access key + API key pair, API user, CPQ 2022.2+)

Steps

  1. Build the conditions string from the arguments, minding CPQ's literal formats — strings double-quoted, booleans True/False, dates bracketed and date-only:

    • account → accountName contains "$account"
    • since → createDate >= [$since]
    • status → quoteStatus = "$status"
    • unless include_archived → isArchive = False

    Join with AND. With no arguments at all, cpq_search_quotes asks for a created-since date and otherwise defaults to the last 90 days.

  2. Search with cpq_search_quotes, passing conditions and a tight field list: includeFields=id,name,quoteNumber,quoteVersion,quoteStatus,accountName,quoteTotal,createDate,expirationDate and pageSize=100.

  3. Page by incrementing page until a page returns fewer than pageSize rows — the response carries no total count.

  4. Display quote number/version, name, account, status, total, and created date. Sort by created date descending.

Examples

Recent quotes for one account

/search-quotes account="Acme Corp" since=2026-01-01

Everything open this quarter

/search-quotes since=2026-07-01 status="Open"

Notes

  • Results cover the latest version of each quote. Pass showAllVersions=true to cpq_search_quotes directly when you need superseded versions.
  • Take the GUID id from the results before calling anything that patches or deletes — a quote number alone will not do.

Error Handling

Error Resolution
Empty results Check conditions formatting — unquoted string, lowercase true, or a date carrying a time component all match nothing
401 Verify the access key, the key pair, and that the key owner is flagged as an API user
500 Often a missing credential rather than a CPQ fault — confirm all three parts reached the server

Read the full file on GitHub · 72 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. 1mo ago First seen · 72 lines · 14 tokens per session scan A 9e82c6dd791d

Subscribe to this mod's changes

search-quotes is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (49 stars, last pushed yesterday), licensed Apache-2.0. It adds 14 tokens to every session and 677 once invoked, about $0.0001 per session on Opus 5.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-09-04.