Best for
- Reach for sherweb-cli when an agent or operator needs to reconcile Sherweb billing, audit subscription inventory across the whole customer book, preview or apply seat changes safely, or place/track marketplace orders -…
Servosity/msp-skills/skills/sherweb/SKILL.md
Every Sherweb Partner API capability, plus a local SQLite store, offline analytics, and margin/drift/orphan joins no other Sherweb tool has. Trigger phrases: `reconcile sherweb billing`, `what's my margin per customer in sherweb`, `find orphaned sherweb subscriptions`, `list sherweb customers`, `preview a sherweb seat change`, `use sherweb`, `run sherweb-cli`.
Decision brief
Every Sherweb Partner API capability, plus a local SQLite store, offline analytics, and margin/drift/orphan joins no other Sherweb tool has. Trigger phrases: `reconcile sherweb billing`, `what's my margin per customer in sherweb`, `find orphaned sherweb subscriptions`, `list sherweb customers`, `preview a sherweb seat change`, `use sherweb`, `run sherweb-cl…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/Servosity/msp-skills --skill "skills/sherweb"Inspect the Agent Skill "sherweb" from https://github.com/Servosity/msp-skills/blob/30e109db0872897de0b88adb38d81d4c292da3ae/skills/sherweb/SKILL.md at commit 30e109db0872897de0b88adb38d81d4c292da3ae. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Sherweb uses composed auth: an OAuth2 client-credentials bearer token (minted from https://api.sherweb.com/auth/oidc/connect/token with a per-API scope of distributor and/or service-provider) PLUS an Azure APIM gateway key sent as the Ocp-Apim-Subscription-Key header on every ca…
This skill drives the sherweb-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
Reach for sherweb-cli when an agent or operator needs to reconcile Sherweb billing, audit subscription inventory across the whole customer book, preview or apply seat changes safely, or place/track marketplace orders - especially when the question spans more than one customer or…
These capabilities aren't available in any other tool for this API.
Reach for this at monthly close to find margin leaks instead of rebuilding a payable-vs-receivable spreadsheet.
Permission review
The documentation asks the agent to run terminal commands or scripts.
npx -y @mvanhorn/printing-press-library install sherweb --cli-onlyThe documentation asks the agent to run terminal commands or scripts.
go install github.com/mvanhorn/printing-press-library/library/commerce/sherweb/cmd/sherweb-cli@latestThe documentation includes sending, uploading, or posting data to a remote service.
| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |The documentation includes network, browsing, or remote request actions.
| `webhook:<url>` | POST the output body to the URL (`application/json` or `application/x-ndjson` when `--compact`) |Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 83/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 15 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
This skill drives the sherweb-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
$HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
npx -y @mvanhorn/printing-press-library install sherweb --cli-only
sherweb-cli --version$PATH for the agent/runtime that will invoke this skill.If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.4 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/commerce/sherweb/cmd/sherweb-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
sherweb-cli wraps the full documented Sherweb Distributor and Service Provider surface - customers, subscriptions, payable and receivable charges, platforms, catalog, orders - then adds what the portal and every existing wrapper lack: an offline SQLite copy, offline analytics, agent-native --json/--select, --dry-run on every mutation, and cross-entity reporting like margin per customer (receivable minus payable), bill drift across snapshots, and orphaned-subscription detection.
Reach for sherweb-cli when an agent or operator needs to reconcile Sherweb billing, audit subscription inventory across the whole customer book, preview or apply seat changes safely, or place/track marketplace orders - especially when the question spans more than one customer or needs offline, scriptable output. It is the right tool for monthly-close margin reconciliation, zombie-subscription hunts, and seat right-sizing that the Sherweb portal answers one customer at a time. The cross-customer insight commands (margin, drift, orphans, fleet-subs, right-size, amend-preview, margin-trend, sub-changes, usage-leak) read the local SQLite store: run 'sherweb-cli sync' then 'sherweb-cli deep-sync' first to populate it.
These capabilities aren't available in any other tool for this API.
margin - See net margin per customer (what they owe you minus what you owe Sherweb) for any billing month.
Reach for this at monthly close to find margin leaks instead of rebuilding a payable-vs-receivable spreadsheet.
sherweb-cli margin --month 2026-04 --agent --select customerName,payable,receivable,margin
drift - Diff the latest payable-charges snapshot against the prior sync to flag charges that appeared, vanished, or changed.
Use it after each sync to catch surprise charges before the invoice lands.
sherweb-cli drift --since 2026-03-01 --agent
orphans - List active subscriptions with zero receivable charges in the latest period - zombie subs you're paying for but not billing on.
Run it on the weekly inventory sweep to stop paying Sherweb for subscriptions no customer is funding.
sherweb-cli orphans --agent
margin-trend - See each customer's margin across the last N monthly closes so profitability slides surface before an account goes negative.
Reach for this when the question is whether an account is getting less profitable over time, not a single month's number.
sherweb-cli margin-trend --customer 0aa00000-0000-0000-0000-000000000000 --last 6 --agent
usage-leak - Flag metered platform usage that has no matching receivable charge - consumption you absorb instead of billing.
Reach for this during billing reconciliation to catch metered consumption silently eating margin.
sherweb-cli usage-leak --customer 0aa00000-0000-0000-0000-000000000000 --agent
fleet-subs - One table across ALL customers' subscriptions grouped by product/SKU, with total seats and customer counts.
Use it to answer 'how many seats of X across the whole book' without paging customer-by-customer.
sherweb-cli fleet-subs --product "Microsoft 365" --agent
right-size - Flag subscriptions where seats paid differ from metered seats used, per customer.
Reach for it before renewals to trim over-provisioned seats and catch under-provisioning.
sherweb-cli right-size --customer 00000000-0000-0000-0000-000000000000 --agent
sub-changes - Flag subscriptions added, cancelled, or quantity-changed between two syncs across the whole customer book.
Reach for this to audit what changed across all customers since the last sync instead of paging customer by customer.
sherweb-cli sub-changes --since 30d --agent
amend-preview - Preview the monthly cost change of a seat amendment before committing it, computed from stored pricing.
Use it on every seat-change ticket so you see the dollar impact before the amendment fires.
sherweb-cli amend-preview --customer 00000000-0000-0000-0000-000000000000 --sub SUB123 --qty 25 --agent
distributor - Manage distributor
sherweb-cli distributor - Returns the charges you are billed by Sherweb for a billing period: products, quantities, list/net pricing, fees, taxesservice-provider - Manage service provider
sherweb-cli service-provider amend-subscriptions - Submit one or more subscription quantity changes. Returns a tracking id.sherweb-cli service-provider cancel-subscriptions - Cancel one or more of a customer's subscriptionssherweb-cli service-provider get-customer-catalog - Get the product catalog available to a specific customersherweb-cli service-provider get-customer-catalog-items-pricing - Get pricing for specific catalog items for a customersherweb-cli service-provider get-customer-platform-details - Get details for one provisioned platform of a customersherweb-cli service-provider get-customer-platform-meter-usages - Get metered usage for a customer's platformsherweb-cli service-provider get-customer-platforms-configurations - Get the platform configurations provisioned for a customersherweb-cli service-provider get-platform-required-parameters - Get the required provisioning parameters for given SKUs/platformsherweb-cli service-provider get-platforms-for-skus - Resolve which platforms can fulfill given SKUssherweb-cli service-provider get-receivable-charges - Get receivable charges (what a customer owes you) for a datesherweb-cli service-provider get-subscription-meters - Get metered subscriptions for a customersherweb-cli service-provider get-subscriptions-pricing - Get pricing information for a customer's subscriptionssherweb-cli service-provider get-tracking-status - Get the status of an order or amendment by tracking idsherweb-cli service-provider list-customers - List the customers under your reseller accountsherweb-cli service-provider list-platforms - List the provisioning platforms available to yousherweb-cli service-provider list-subscriptions - List a customer's subscriptions with detailssherweb-cli service-provider place-order - Place a marketplace order for a customersherweb-cli service-provider validate-order - Validate an order cart for a customer before placing itWhen you know what you want to do but not which command does it, ask the CLI directly:
sherweb-cli which "<capability in your own words>"
which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match - fall back to --help or use a narrower query.
sherweb-cli sync && sherweb-cli deep-sync && sherweb-cli margin --month 2026-04 --agent --select customerName,payable,receivable,margin
Sync customers + payable charges, fan out per-customer receivables with deep-sync, then emit per-customer margin as structured rows ready to pipe into a close workbook.
sherweb-cli drift --since 2026-03-01 --agent
Diff this period's payable charges against the prior snapshot to flag anything new or changed.
sherweb-cli orphans --agent
List active subscriptions with no receivable charges so you stop paying Sherweb for unbilled seats.
sherweb-cli right-size --customer 00000000-0000-0000-0000-000000000000 --agent
Compare seats paid against metered usage to trim over-provisioned subscriptions.
sherweb-cli amend-preview --customer 00000000-0000-0000-0000-000000000000 --sub SUB123 --qty 25
See the monthly cost delta of an amendment before committing it with the real amend command.
Sherweb uses composed auth: an OAuth2 client-credentials bearer token (minted from https://api.sherweb.com/auth/oidc/connect/token with a per-API scope of distributor and/or service-provider) PLUS an Azure APIM gateway key sent as the Ocp-Apim-Subscription-Key header on every call. Set SHERWEB_CLIENT_ID, SHERWEB_CLIENT_SECRET, and SHERWEB_SUBSCRIPTION_KEY (all from cumulus.sherweb.com Security > APIs). The client mints and caches the token; the subscription key rides on every request including the token request.
Run sherweb-cli doctor to verify setup.
Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.
Pipeable - JSON on stdout, errors on stderr
Filterable - --select keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
sherweb-cli distributor --agent --select id,name,status
Previewable - --dry-run shows the request without sending
Offline-friendly - sync/search commands can use the local SQLite store when available
Non-interactive - never prompts, every input is a flag
Explicit retries - use --idempotent only when an already-existing create should count as success
Commands that read from the local store or the API wrap output in a provenance envelope:
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}
Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal AND no machine-format flag (--json, --csv, --compact, --quiet, --plain, --select) is set - piped/agent consumers and explicit-format runs get pure JSON on stdout.
When you (or the agent) notice something off about this CLI, record it:
sherweb-cli feedback "the --since flag is inclusive but docs say exclusive"
sherweb-cli feedback --stdin < notes.txt
sherweb-cli feedback list --json --limit 10
Entries are stored locally at ~/.local/share/sherweb-cli/feedback.jsonl. They are never POSTed unless SHERWEB_FEEDBACK_ENDPOINT is set AND either --send is passed or SHERWEB_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.
Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
| Sink | Effect |
|---|---|
stdout | Default; write to stdout only |
file:<path> | Atomically write output to <path> (tmp + rename) |
webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
sherweb-cli profile save briefing --json
sherweb-cli --profile briefing distributor
sherweb-cli profile list --json
sherweb-cli profile show briefing
sherweb-cli profile delete briefing --yes
Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
Parse $ARGUMENTS:
help, or --help → show sherweb-cli --help outputinstall → ends with mcp → MCP installation; otherwise → see Prerequisites above--agent)go install github.com/mvanhorn/printing-press-library/library/commerce/sherweb/cmd/sherweb-mcp@latest
claude mcp add sherweb-mcp -- sherweb-mcp
claude mcp listwhich sherweb-cli
If not found, offer to install (see Prerequisites at the top of this skill).--agent flag:
sherweb-cli <command> [subcommand] [args] --agent
sherweb-cli <command> --help.Alternatives
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
K-Dense-AI/scientific-agent-skills
Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, visualization, and converting R-friendly single-cell formats such as Seurat or SingleCellExperiment RDS files into h5ad for Scanpy. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use anndata.
event4u-app/agent-config
Shared corpus-grounding engine — BM25 + structured filters + decision rules over CSV corpora via a domain manifest. Use when a skill needs grounded pre-action option-space constraints.
coreyhaines31/marketingskills
When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure m