Servosity/msp-skills

servosity

Use when the user asks where their attention is needed across Servosity clients, which backups went stale, what changed since yesterday, to build QBR backup reports, draft stale-backup follow-up emails, watch restore queues during a DR event, reconcile the Servosity bill, or find unprovisioned agents. Wraps the Servosity partner API plus a local fleet mirror with snapshot history. Trigger phrases: `what needs my attention on servosity`, `fleet stale backups`, `show me the QBR backup report for`,

85CollectingClaude CodeNetwork accessRuns scriptsSends data out
See how to use itView GitHub source
npx skills add https://github.com/Servosity/msp-skills --skill "skills/servosity"
Automated source guide

Source checked Jul 28, 2026·Refresh due Oct 26, 2026

Reorganized from the pinned upstream SKILL.md

Turn servosity's source instructions into a guide you can follow

According to the pinned SKILL.md from Servosity/msp-skills: Wraps the Servosity partner API plus a local fleet mirror with snapshot history. Trigger phrases: `what needs my attention on servosity`, `fleet stale backups`, `show me the QBR backup report for`,

npx skills add https://github.com/Servosity/msp-skills --skill "skills/servosity"
Check the pinned source

Best fit

  • Use servosity-cli when you're managing backups across a book of MSP clients on Servosity. It is the right tool for the morning attention sweep, the Friday stale-backup hunt, ad-hoc 'is ACME OK?' checks, batch issue tria…
  • Use when the user asks where their attention is needed across Servosity clients, which backups went stale, what changed since yesterday, to build QBR backup reports, draft stale-backup follow-up emails, watch restore queues during a DR event, reconcile the Servosity bill, or find unprovisioned agents. Wraps the Servosity partner API plus a local fleet mirror with snapshot history. Trigger phrases: `what needs my attention on servosity`, `fleet stale backups`, `show me the QBR backup report for`,

Bring this context

  • macOS / Linux:
  • Windows (PowerShell):
  • Verify: servosity-cli --version

Expected outputs

  • Every command accepts --deliver . 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:
  • 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.

Key source sections

Read servosity through these 5 source sections

Sections are extracted automatically from the pinned SKILL.md and link back to the source.

01

Auth Setup

Authenticate with your Servosity partner API token. Export SERVOSITYMSPTOKEN with your reseller-scoped token (find or rotate it in the Servosity partner portal). The CLI auto-resolves your reseller ID from your company list (override with SERVOSITYMSPRESELLERID) on first run - y…

SKILL.md · Auth Setup
Authenticate with your Servosity partner API token. Export SERVOSITYMSPTOKEN with your reseller-scoped token (find or rotate it in the Servosity partner portal). The CLI auto-resolves your reseller ID from your company…Run servosity-cli doctor to verify setup.
02

Prerequisites: Install the CLI

This skill drives the servosity-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

SKILL.md · Prerequisites: Install the CLI
macOS / Linux:Windows (PowerShell):Verify: servosity-cli --version
03

When to Use This CLI

Use servosity-cli when you're managing backups across a book of MSP clients on Servosity. It is the right tool for the morning attention sweep, the Friday stale-backup hunt, ad-hoc 'is ACME OK?' checks, batch issue triage during planned outages, restore-queue oversight during DR…

SKILL.md · When to Use This CLI
Use servosity-cli when you're managing backups across a book of MSP clients on Servosity. It is the right tool for the morning attention sweep, the Friday stale-backup hunt, ad-hoc 'is ACME OK?' checks, batch issue tria…
04

When NOT to Use This CLI

Not for initiating or managing restores - watch queues with restore-queue watch, but drive actual restore operations from the Servosity portal.

SKILL.md · When NOT to Use This CLI
Not for initiating or managing restores - watch queues with restore-queue watch, but drive actual restore operations from the Servosity portal.Not for editing backup configurations, schedules, or retention policies on individual agents; this is fleet visibility + partner-API operations only.Not a cross-reseller view: the partner token is reseller-scoped, so one CLI instance sees one reseller's book.
05

Unique Capabilities

These capabilities aren't available in any other tool for this API.

SKILL.md · Unique Capabilities
attention - One screen across your whole book of clients. Merges open issues, stale backups into a per-company ranked view, then persists the result so tomorrow's drift command can compare.drift - Diff two snapshots the CLI collected - show which companies got worse, which recovered, and which are new since a past anchor. Default compares yesterday-to-now on the attention metric.stale-backups - Slice the stale-backup-sets report by company, age window, and backup engine - entirely offline once cached. Use --refresh to repull from the API.

SkillSignal prompt templates

Provide the task, context, and acceptance criteria

These prompts were written by SkillSignal from the source structure; they are not upstream text.

Task-start prompt

Confirm source fit, inputs, and outputs before acting.

Use servosity to help me with: [specific task]. Context: [files, data, or background]. Constraints: [environment, scope, and prohibited actions]. Before acting, check the pinned SKILL.md and explain which sections apply, what inputs are still missing, and what you will deliver.

Source-guided execution

Make the Agent explicitly follow the key extracted sections.

Apply the pinned servosity source to [task]. Pay particular attention to these source sections: “Auth Setup”, “Prerequisites: Install the CLI”, “When to Use This CLI”, “When NOT to Use This CLI”, “Unique Capabilities”. Preserve the important decision at each step. Mark facts not covered by the source as “needs confirmation” instead of inventing them. Then verify the result against my acceptance criteria: [criteria].

Result-review prompt

Check omissions, permissions, and source drift before delivery.

Review the current servosity result: (1) does it satisfy the original task; (2) were any applicable steps or limits in the pinned SKILL.md missed; (3) did it perform any unauthorized file, command, network, or data action; and (4) which conclusions remain unverified? List issues first, then fix only what the source or user authorization supports.

Output checklist

Verify each item before delivery

The task matches the purpose documented in the SKILL.md.

The source section “Auth Setup” has been checked.

The source section “Prerequisites: Install the CLI” has been checked.

The source section “When to Use This CLI” has been checked.

The source section “When NOT to Use This CLI” has been checked.

Inputs, constraints, and acceptance criteria are explicit.

Unverified facts, compatibility, and outcome claims are clearly marked.

Any file, command, network, or data action has been reviewed.

Choose a different workflow

When another Skill is the better fit

FAQ

What does servosity do?

Wraps the Servosity partner API plus a local fleet mirror with snapshot history. Trigger phrases: `what needs my attention on servosity`, `fleet stale backups`, `show me the QBR backup report for`,

How do I start using servosity?

The catalog detected this source-specific install command: npx skills add https://github.com/Servosity/msp-skills --skill "skills/servosity". Inspect the command and pinned source before running it.

Which Agent platforms does it declare?

claude code

Repository stars
15
Repository forks
2
Quality
85/100
Source repository last pushed

Quality breakdown

Based on traceable docs and repository signals; stars are not treated as quality.

85/100
Documentation30/30
Specificity25/25
Maintenance20/20
Trust signals10/25

Compare before choosing

Related Agent Skills and source variants

These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.

dask by k-dense-ai

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.

scanpy by k-dense-ai

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.

astropy by k-dense-ai

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

security-review by github

AI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching vulnerabilities that pattern-matching tools miss. Use this skill when asked to scan code for security vulnerabilities, find bugs, check for SQL injection, XSS, command injection, exposed API keys, hardcoded secrets, insecure dependencies, access control issues, or any request like "is my code secure?", "review for security issues", "audi

pandas-pro by jeffallan

Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Use when working with pandas DataFrames, data cleaning, aggregation, merging, or time series analysis. Invoke for data manipulation tasks such as joining DataFrames on multiple keys, pivoting tables, resampling time series, handling NaN values with interpolation or forward-fill, groupby aggregations, type conversion, or performance optimization of large datasets.

View original Skill.mdThis page is parsed directly from the repository SKILL.md without editorial rewriting. Collected: Jul 28, 2026 · about 14 min

Servosity Claude Code Skill

Prerequisites: Install the CLI

This skill drives the servosity-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. macOS / Linux:
    bash <(curl -fsSL https://raw.githubusercontent.com/servosity/msp-skills/main/skills/servosity/install.sh)
    
  2. Windows (PowerShell):
    iwr -useb https://raw.githubusercontent.com/servosity/msp-skills/main/skills/servosity/install.ps1 | iex
    
  3. Verify: servosity-cli --version
  4. Ensure ~/.local/bin (macOS / Linux) or %LOCALAPPDATA%\Programs\msp-skills (Windows) is on $PATH.

If --version reports "command not found" after install, the install step did not put the binary on $PATH. Do not proceed with skill commands until verification succeeds.

No competitor in the MSP backup space ships a fleet-wide CLI. Reach for servosity-cli when you need to triage attention across every client at once, generate the backup section of a QBR in 30 seconds, watch every restore queue during DR from one terminal, or reconcile your Servosity bill against what you're invoicing clients. Every response is agent-native: --json, --select, --csv, --dry-run, typed exit codes.

When to Use This CLI

Use servosity-cli when you're managing backups across a book of MSP clients on Servosity. It is the right tool for the morning attention sweep, the Friday stale-backup hunt, ad-hoc 'is ACME OK?' checks, batch issue triage during planned outages, restore-queue oversight during DR, monthly bill reconciliation, and quarterly client QBR backup sections. The local SQLite mirror + snapshot history make any 'what changed since X?' question answerable - which the web portal cannot do.

When NOT to Use This CLI

  • Not for initiating or managing restores - watch queues with restore-queue watch, but drive actual restore operations from the Servosity portal.
  • Not for editing backup configurations, schedules, or retention policies on individual agents; this is fleet visibility + partner-API operations only.
  • Not a cross-reseller view: the partner token is reseller-scoped, so one CLI instance sees one reseller's book.
  • Not an alerting daemon - it polls on demand; wire --json output into your own scheduler/RMM for notifications.
  • Routing within the CLI: per-company ranked list → attention; one fleet number set → fleet-health; what changed between runs → drift; single client deep-dive → qbr.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Fleet-wide intelligence

  • attention - One screen across your whole book of clients. Merges open issues, stale backups into a per-company ranked view, then persists the result so tomorrow's drift command can compare.

    Reach for this in the morning to triage what needs follow-up across every client without clicking through a portal.

    servosity-cli attention --top 10 --json
    
  • drift - Diff two snapshots the CLI collected - show which companies got worse, which recovered, and which are new since a past anchor. Default compares yesterday-to-now on the attention metric.

    Use Monday morning to start with situation awareness instead of treating every week as a fresh slate.

    servosity-cli drift --metric attention --from yesterday --to now --json
    
  • stale-backups - Slice the stale-backup-sets report by company, age window, and backup engine - entirely offline once cached. Use --refresh to repull from the API.

    Run this Friday afternoon to compile the list of clients you need to email about a stalled backup.

    servosity-cli stale-backups --days 7 --engine restic --json
    
  • backup-facts - Unified view across Servosity's three backup engines (classic, restic, DR) for one company or all. Engine, ID, hostname, last_successful_at, state, and freshness-derived health - joined from three local store tables into one table.

    Reach for this when triaging a client who has multiple engines protecting different devices and you need to know which engine is failing where.

    servosity-cli backup-facts --company 4421 --status stale --json
    

Client-facing reporting

  • qbr - Generate the backup section of a client's Quarterly Business Review as Markdown, HTML, or PDF. Job success rate, restore tests run this quarter, coverage map across all three engines, open issues, storage trend.

    Use this 1-2 weeks before a client QBR. Saves 30-60 min of manual deck-building per client.

    servosity-cli qbr 4421 --quarter 2026-Q1 --format pdf --out acme-q1.pdf
    

Daily ops efficiency

  • triage - List open issues with filters, then batch-mutate them (ignore / archive / reactivate / comment) in one invocation with --dry-run support and typed exit codes.

    Use when the issue queue is bursty or during a planned-outage window where many alerts cluster around one client.

    servosity-cli triage --company 4421 --ignore 18,22,29 --comment 'scheduled outage' --dry-run
    

Disaster recovery

  • restore-queue watch - Watch every active company's restore queue across the book during a DR event. Polls each company periodically and prints diffs since the last tick.

    Use during an active disaster recovery event when multiple clients have restores in flight.

    servosity-cli restore-queue watch --interval 30s --json
    

Business operations

  • bill --reconcile - Pull the MSP's monthly Servosity bill and compare line-by-line against a CSV of what the MSP is invoicing their clients. Surfaces drift - clients under- or over-charged.

    Run this every month-end before invoicing clients. Catches missed line items and pricing mismatches.

    servosity-cli bill --reconcile invoiced-2026-05.csv --month 2026-05 --json
    
  • unprovisioned - List agents installed on client machines but not yet pulling backups, ranked by client. Surfaces lost revenue from incomplete onboardings.

    Run weekly to catch agents installed during onboarding that never successfully phoned home.

    servosity-cli unprovisioned --age 24h --json
    
  • storage-trend - Linear-regression forecast of when a specific client will hit a capacity threshold. Reads the historical storage_bytes time series from local snapshots; with --snapshot, persists a new measurement for future runs.

    Run quarterly per high-storage client to identify upsell opportunities before they hit a hard limit.

    servosity-cli storage-trend 4421 --weeks 12 --threshold 1TB --json
    

Local state that compounds

  • email-draft - Generate ready-to-paste follow-up email bodies for every client with a stale backup, filled from the local store (client name, hosts, days stale, last success).

    Reach for this on the Friday follow-up sweep to turn the stale list into sendable emails in one step.

    servosity-cli email-draft --stale --days 7
    

Cross-tenant intelligence

  • fleet-health - One fleet-wide scorecard: 24h job success rate, companies with stale backups, and open issues, with week-over-week deltas.

    Reach for this when you need the owner-glance fleet number set, not the per-company list.

    servosity-cli fleet-health --json
    

Reporting that writes itself

  • qbr-all - Generate every client's QBR backup report in one pass, one file per company.

    Reach for this at quarter end to produce the whole book's QBR backup sections at once.

    servosity-cli qbr-all --quarter 2026-Q1 --out ./qbrs/
    

Command Reference

agent-login - Manage agent login

  • servosity-cli agent-login create - Create
  • servosity-cli agent-login list - List

agent-sessions - Manage agent sessions

  • servosity-cli agent-sessions <agent_session_id> - Read

backup-job-report - Manage backup job report

  • servosity-cli backup-job-report <backup_destination_id> <backup_id> <backup_job_id> <backup_set_id> - View detailed backup report for a backup job and destination.

backup-job-report-summary - Manage backup job report summary

  • servosity-cli backup-job-report-summary <backup_destination_id> <backup_id> <backup_job_id> <backup_set_id> - View summary backup report for a backup job and destination.

backup-job-status - Manage backup job status

  • servosity-cli backup-job-status <backup_id> - List backup job status for a backup account on a specific date.

backup-jobs - Manage backup jobs

  • servosity-cli backup-jobs <backup_id> - List backup jobs for a backup account.

backup-plans - Manage backup plans

  • servosity-cli backup-plans list - List backup plans.
  • servosity-cli backup-plans read - View a backup plan.

backup-search - Manage backup search

  • servosity-cli backup-search - List

backup-sets - Manage backup sets

  • servosity-cli backup-sets create - Create a backup-set for a backup account.
  • servosity-cli backup-sets delete - Delete a backup-set for a backup account.
  • servosity-cli backup-sets list - List backup-sets for a backup account.
  • servosity-cli backup-sets read - View a backup-set for a backup account.
  • servosity-cli backup-sets update - Accepts a json body with the following optional parameters.

backups - Manage backups

  • servosity-cli backups create - Create a backup account.
  • servosity-cli backups delete - Delete a backup account, also deleting all backup data.
  • servosity-cli backups list - List backup accounts.
  • servosity-cli backups mfa-codes - Mfa codes
  • servosity-cli backups partial-update - Partial update
  • servosity-cli backups read - View a backup account.
  • servosity-cli backups update - Update a backup account.

companies - Manage companies

  • servosity-cli companies create - Create a company.
  • servosity-cli companies delete - Delete a company, also deleting all backup accounts and backup data.
  • servosity-cli companies fully-managed - List fully-managed companies.
  • servosity-cli companies fully-managed-ng - List fully-managed companies.
  • servosity-cli companies list - List companies.
  • servosity-cli companies partial-update - Partial update
  • servosity-cli companies read - View a company.
  • servosity-cli companies summary - List companies with account summaries.
  • servosity-cli companies summary-ng - Summary ng
  • servosity-cli companies update - Update a company.

company-notes - Manage company notes

  • servosity-cli company-notes create - Create
  • servosity-cli company-notes delete - Delete
  • servosity-cli company-notes list - List
  • servosity-cli company-notes partial-update - Partial update
  • servosity-cli company-notes read - Read
  • servosity-cli company-notes update - Update

components - Manage components

  • servosity-cli components - List

contracts - Manage contracts

  • servosity-cli contracts create - Create
  • servosity-cli contracts get-by-token - Get by token
  • servosity-cli contracts list - List
  • servosity-cli contracts partial-update - Partial update
  • servosity-cli contracts read - Read
  • servosity-cli contracts signatures - Signatures
  • servosity-cli contracts update - Update

credentials - Manage credentials

  • servosity-cli credentials create - Create
  • servosity-cli credentials delete - Delete
  • servosity-cli credentials list - List
  • servosity-cli credentials partial-update - Partial update
  • servosity-cli credentials read - Read
  • servosity-cli credentials update - Update

current-user - Manage current user

  • servosity-cli current-user api-token-delete - Delete the current user's API token. A new one will be generated when requested.
  • servosity-cli current-user api-token-list - You will receive JSON response with token.
  • servosity-cli current-user create - Change the password of the current logged in user.
  • servosity-cli current-user groups-list - Groups list
  • servosity-cli current-user helpjuice-sso-create - Helpjuice sso create
  • servosity-cli current-user hubspot-sso-create - Hubspot sso create
  • servosity-cli current-user list - Get information about the current logged in user.
  • servosity-cli current-user mfa-backup-codes-list - Get unused backup codes. If no unused codes are left, remove all and generate new codes.
  • servosity-cli current-user mfa-backup-codes-update - Remove all backup codes and generate new codes.
  • servosity-cli current-user notifications-delete - Notifications delete
  • servosity-cli current-user notifications-list - Get current user notifications
  • servosity-cli current-user profile-create - Profile create
  • servosity-cli current-user profile-list - Profile list
  • servosity-cli current-user start-mfa-create - Start mfa create
  • servosity-cli current-user start-mfa-list - Start mfa list
  • servosity-cli current-user start-mfa-verify-create - Start mfa verify create
  • servosity-cli current-user verified-mfa-delete - Verified mfa delete
  • servosity-cli current-user verified-mfa-list - Verified mfa list
  • servosity-cli current-user verified-mfa-send-code-create - Verified mfa send code create

download - Manage download

  • servosity-cli download - Servosity one windows list

dr-backups - Manage dr backups

  • servosity-cli dr-backups create - Create a DR backup account.
  • servosity-cli dr-backups delete - Delete a DR backup account.
  • servosity-cli dr-backups list - List
  • servosity-cli dr-backups partial-update - Update a DR backup account.
  • servosity-cli dr-backups read - Read
  • servosity-cli dr-backups update - Update a DR backup account.

issue-comments - Manage issue comments

  • servosity-cli issue-comments delete - Delete
  • servosity-cli issue-comments update - Update

issues - Manage issues

  • servosity-cli issues list - List
  • servosity-cli issues read - Read

report-subscriptions - Manage report subscriptions

  • servosity-cli report-subscriptions read - Read
  • servosity-cli report-subscriptions unsubscribe - Unsubscribe
  • servosity-cli report-subscriptions verify - Verify

reports - Manage reports

  • servosity-cli reports account-list - Get a report of backup account types for each company and reseller in CSV format.
  • servosity-cli reports classic-usage-list - Get a usage report for all backup accounts in CSV format.
  • servosity-cli reports clients-list - Get a report of backup account client versions.
  • servosity-cli reports dr-from-email-list - Get a report of user profiles.
  • servosity-cli reports maxio-price-points-list - Get CSV with all Maxio price points.
  • servosity-cli reports product-list - Product list
  • servosity-cli reports stale-backup-sets-list - Get a report of all backup set last backup complete times.
  • servosity-cli reports usage-list - Usage list
  • servosity-cli reports user-profiles-list - Get a report of user profiles.

resellers - Manage resellers

  • servosity-cli resellers partial-update - Partial update
  • servosity-cli resellers read - View a reseller.
  • servosity-cli resellers update - Update a reseller.

restic-backups - Manage restic backups

  • servosity-cli restic-backups create - Create a restic backup account.
  • servosity-cli restic-backups delete - Delete a restic backup account.
  • servosity-cli restic-backups list - List
  • servosity-cli restic-backups partial-update - Update a restic backup account.
  • servosity-cli restic-backups read - Read
  • servosity-cli restic-backups update - Update a restic backup account.

screenshot - Manage screenshot

  • servosity-cli screenshot <key> - Read

stats - Manage stats

  • servosity-cli stats list - List
  • servosity-cli stats live-list - Live list
  • servosity-cli stats user-list - User list

users - Manage users

  • servosity-cli users create - Create
  • servosity-cli users delete - Remove a user from a reseller or company group.
  • servosity-cli users list - List
  • servosity-cli users request-password-recovery-create - Request password recovery for a user.
  • servosity-cli users reset-password-create - Pass only token to confirm the token is valid. Pass token and password to set the user's password.

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

servosity-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.

Recipes

Morning attention sweep with field projection

servosity-cli attention --top 5 --json --select companies.company_name,companies.score,companies.open_issues

Narrow the output to just the fields an agent cares about - keeps token usage low and pipes cleanly to jq or downstream tools.

Friday stale-backup follow-up list

servosity-cli stale-backups --days 7 --engine restic --csv

CSV output for paste-into-spreadsheet workflows when you're compiling the list of clients to email.

Client QBR pack

servosity-cli qbr 4421 --quarter 2026-Q1 --format pdf --out acme-q1-backup.pdf

Generates a self-contained PDF with cover page, job success rate, restore tests, coverage table, open issues, and storage trend table. Hand it to the account lead 1-2 weeks before the QBR.

Bill reconciliation against invoicing CSV

servosity-cli bill --reconcile invoiced-2026-05.csv --month 2026-05 --json

CSV columns: company_id, company_name, invoiced_amount. Output shows delta vs Servosity's bill, sorted by absolute delta - catches under-billing before month-end close.

Restore-queue watch during DR event

servosity-cli restore-queue watch --interval 30s --json

Emits NDJSON, one tick per line. Pipe to tee dr-event.log to capture the timeline of every queue change for the post-mortem.

Auth Setup

Authenticate with your Servosity partner API token. Export SERVOSITY_MSP_TOKEN with your reseller-scoped token (find or rotate it in the Servosity partner portal). The CLI auto-resolves your reseller ID from your company list (override with SERVOSITY_MSP_RESELLER_ID) on first run - you never type it.

Run servosity-cli doctor to verify setup.

Agent Mode

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:

    servosity-cli agent-login list --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, and --ignore-missing only when a missing delete target should count as success

Response envelope

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.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

servosity-cli feedback "the --since flag is inclusive but docs say exclusive"
servosity-cli feedback --stdin < notes.txt
servosity-cli feedback list --json --limit 10

Entries are stored locally at ~/.local/share/servosity-cli/feedback.jsonl. They are never POSTed unless SERVOSITY_MSP_FEEDBACK_ENDPOINT is set AND either --send is passed or SERVOSITY_MSP_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.

Output Delivery

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:

SinkEffect
stdoutDefault; 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.

Named Profiles

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.

servosity-cli profile save briefing --json
servosity-cli --profile briefing agent-login list
servosity-cli profile list --json
servosity-cli profile show briefing
servosity-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.

Exit Codes

CodeMeaning
0Success
2Usage error (wrong arguments)
3Resource not found
4Authentication required
5API error (upstream issue)
7Rate limited (wait and retry)
10Config error

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show servosity-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

The installer above drops servosity-mcp alongside the CLI. Register it:

claude mcp add servosity-mcp -- servosity-mcp

Verify: claude mcp list

Direct Use

  1. Check if installed: which servosity-cli If not found, offer to install (see Prerequisites at the top of this skill).
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  3. Execute with the --agent flag:
    servosity-cli <command> [subcommand] [args] --agent
    
  4. If ambiguous, drill into subcommand help: servosity-cli <command> --help.
Skill path
skills/servosity/SKILL.md
Commit SHA
30e109db0872
Repository license
NOASSERTION
Data collected