Servosity/msp-skills

rewst

Use when the user asks to check Rewst automation health, find failed or dormant workflows, report automation ROI/time-saved, compare config drift between client orgs, or check integration-pack coverage across tenants. Turns Rewst's GraphQL-only gateway into typed commands and adds cross-org rollups the web app makes you assemble one client at a time. Trigger phrases: `check rewst automation health`, `rewst failed workflows`, `how much time did rewst save`, `rewst config drift between orgs`, `whi

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

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

Reorganized from the pinned upstream SKILL.md

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

According to the pinned SKILL.md from Servosity/msp-skills: Turns Rewst's GraphQL-only gateway into typed commands and adds cross-org rollups the web app makes you assemble one client at a time. Trigger phrases: `check rewst automation health`, `rewst failed workflows`, `how much time did rewst save`, `rewst config drift between orgs`, `whi

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

Best fit

  • Use this CLI to operate and monitor Rewst from the terminal or an agent: check whether automation is healthy for a client, triage failed runs, report how much time automation saved, find dormant workflows, compare confi…
  • Use when the user asks to check Rewst automation health, find failed or dormant workflows, report automation ROI/time-saved, compare config drift between client orgs, or check integration-pack coverage across tenants. Turns Rewst's GraphQL-only gateway into typed commands and adds cross-org rollups the web app makes you assemble one client at a time. Trigger phrases: `check rewst automation health`, `rewst failed workflows`, `how much time did rewst save`, `rewst config drift between orgs`, `whi

Bring this context

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

Expected outputs

  • Roll up humanSecondsSaved into hours/days saved and the top time-saving workflows for a client report.
  • 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 rewst through these 5 source sections

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

01

Auth Setup

Rewst authenticates with a per-organization API client token sent as Authorization: Bearer . Mint a token in the Rewst platform under Configuration API Clients, then export it as REWSTAPITOKEN (or run rewst-cli auth set-token). The token is org-scoped, so most commands take an -…

SKILL.md · Auth Setup
Rewst authenticates with a per-organization API client token sent as Authorization: Bearer . Mint a token in the Rewst platform under Configuration API Clients, then export it as REWSTAPITOKEN (or run rewst-cli auth set…Run rewst-cli doctor to verify setup.
02

Prerequisites: Install the CLI

This skill drives the rewst-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: rewst-cli --version
03

When to Use This CLI

Use this CLI to operate and monitor Rewst from the terminal or an agent: check whether automation is healthy for a client, triage failed runs, report how much time automation saved, find dormant workflows, compare configuration between tenants, and read or run any Rewst entity.…

SKILL.md · When to Use This CLI
Use this CLI to operate and monitor Rewst from the terminal or an agent: check whether automation is healthy for a client, triage failed runs, report how much time automation saved, find dormant workflows, compare confi…
04

Anti-triggers

Do not use this CLI for: - Do not use this CLI to build or visually edit workflow graphs - author those in the Rewst workflow designer. - Do not use it as a long-running event listener or webhook receiver; for inbound triggers configure a Rewst trigger or the webhook URL instead…

SKILL.md · Anti-triggers
Do not use this CLI to build or visually edit workflow graphs - author those in the Rewst workflow designer.Do not use it as a long-running event listener or webhook receiver; for inbound triggers configure a Rewst trigger or the webhook URL instead.Do not use it to administer billing or the Rewst account itself; that lives in the Rewst console.
05

Unique Capabilities

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

SKILL.md · Unique Capabilities
health - One-call workflow execution health for an org: succeeded / failed / running / pending counts plus time saved, with a clear unhealthy verdict when failures are present.failures - Recent failed workflow executions for an org, newest first, with workflow id, status, task counts, and age - the triage queue the API has no single endpoint for.dormant - Workflows that have not executed in N days - dead or orphaned automation that is still installed but no longer running.

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 rewst 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 rewst source to [task]. Pay particular attention to these source sections: “Auth Setup”, “Prerequisites: Install the CLI”, “When to Use This CLI”, “Anti-triggers”, “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 rewst 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 “Anti-triggers” 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

claude-skill-spec-audit

Audit skill SKILL.md files for compliance with the agentskills.io specification and house conventions. Checks frontmatter fields (name, description, compatibility, metadata, argument-hint), metadata sub-fields (author, scope, layer, confirms), and layer/suffix consistency. Use when adding new skills, reviewing skill quality, or ensuring all skills follow the spec. Triggers: "audit skills", "check skill spec", "skill compliance", "are my skills up to spec", "/claude-skill-spec-audit".

A separate implementation from jackchuka/skills; compare its source, maintenance signals, and permission requirements.

Open source detail

autonomous-agent-harness

Transform Claude Code into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing. Replaces standalone agent frameworks (Hermes, AutoGPT) by leveraging Claude Code's native crons, dispatch, MCP tools, and memory. Use when the user wants continuous autonomous operation, scheduled tasks, or a self-directing agent loop.

A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.

Open source detail

dmux-workflows

Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.

Open source detail

FAQ

What does rewst do?

Turns Rewst's GraphQL-only gateway into typed commands and adds cross-org rollups the web app makes you assemble one client at a time. Trigger phrases: `check rewst automation health`, `rewst failed workflows`, `how much time did rewst save`, `rewst config drift between orgs`, `whi

How do I start using rewst?

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

Which Agent platforms does it declare?

claude code

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

Quality breakdown

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

86/100
Documentation30/30
Specificity23/25
Maintenance20/20
Trust signals13/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.

claude-skill-spec-audit by jackchuka

Audit skill SKILL.md files for compliance with the agentskills.io specification and house conventions. Checks frontmatter fields (name, description, compatibility, metadata, argument-hint), metadata sub-fields (author, scope, layer, confirms), and layer/suffix consistency. Use when adding new skills, reviewing skill quality, or ensuring all skills follow the spec. Triggers: "audit skills", "check skill spec", "skill compliance", "are my skills up to spec", "/claude-skill-spec-audit".

autonomous-agent-harness by affaan-m

Transform Claude Code into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing. Replaces standalone agent frameworks (Hermes, AutoGPT) by leveraging Claude Code's native crons, dispatch, MCP tools, and memory. Use when the user wants continuous autonomous operation, scheduled tasks, or a self-directing agent loop.

dmux-workflows by affaan-m

Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

servosity by 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`,

dmux-workflows by affaan-m

Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

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

Rewst Claude Code Skill

Prerequisites: Install the CLI

This skill drives the rewst-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/rewst/install.sh)
    
  2. Windows (PowerShell):
    iwr -useb https://raw.githubusercontent.com/servosity/msp-skills/main/skills/rewst/install.ps1 | iex
    
  3. Verify: rewst-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.

Rewst's only surface is a GraphQL gateway with no first-party CLI and no local state. This CLI mirrors organizations, workflows, executions, variables, packs, triggers, forms, and the rest as typed commands with --json/--select/--agent output, an api command for full schema coverage, and offline SQLite sync. On top of that it adds multi-org rollups - fleet execution health, failure triage, automation ROI, dormant-workflow detection, cross-org config drift, and pack coverage - that an MSP operator otherwise has to assemble by clicking through the web app one client at a time.

When to Use This CLI

Use this CLI to operate and monitor Rewst from the terminal or an agent: check whether automation is healthy for a client, triage failed runs, report how much time automation saved, find dormant workflows, compare configuration between tenants, and read or run any Rewst entity. It is the right tool when you want scriptable, JSON-first access to Rewst across many client organizations rather than clicking through the web console one org at a time.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to build or visually edit workflow graphs - author those in the Rewst workflow designer.
  • Do not use it as a long-running event listener or webhook receiver; for inbound triggers configure a Rewst trigger or the webhook URL instead.
  • Do not use it to administer billing or the Rewst account itself; that lives in the Rewst console.

Unique Capabilities

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

Fleet monitoring that compounds

  • health - One-call workflow execution health for an org: succeeded / failed / running / pending counts plus time saved, with a clear unhealthy verdict when failures are present.

    Reach for this first to answer 'is automation healthy for this client right now' without paging through the web app org by org.

    rewst-cli health --org 11111111-1111-1111-1111-111111111111 --since 24h --agent
    
  • failures - Recent failed workflow executions for an org, newest first, with workflow id, status, task counts, and age - the triage queue the API has no single endpoint for.

    Use this when something broke overnight and you need the failed runs to investigate, not every run.

    rewst-cli failures --org 11111111-1111-1111-1111-111111111111 --since 12h --limit 20 --agent
    
  • dormant - Workflows that have not executed in N days - dead or orphaned automation that is still installed but no longer running.

    Use this to clean up or re-enable automation that quietly went idle after a trigger or integration broke.

    rewst-cli dormant --org 11111111-1111-1111-1111-111111111111 --days 30 --agent
    

ROI and reporting

  • roi - Aggregates Rewst's humanSecondsSaved metric across an org's workflows into total hours/days saved and the top time-saving automations.

    Reach for this to turn automation into a dollar/time story for a QBR or client report.

    rewst-cli roi --org 11111111-1111-1111-1111-111111111111 --since 30d --agent
    

Multi-tenant governance

  • drift - Compares org variables and installed packs between two organizations and reports what one has that the other is missing.

    Reach for this when an automation works in one tenant but not another and you suspect a missing variable or uninstalled pack.

    rewst-cli drift --org 11111111-1111-1111-1111-111111111111 --against 22222222-2222-2222-2222-222222222222 --agent
    
  • coverage - Across a parent org's managed sub-orgs, shows which integration packs are installed where and flags orgs missing a pack - bounded by a scan cap.

    Use this to confirm an integration is rolled out to every client tenant, or to find the ones it skipped.

    rewst-cli coverage --parent 11111111-1111-1111-1111-111111111111 --pack microsoft --agent
    

Command Reference

action-options - Manage action-options

  • rewst-cli action-options create - Create a actionoption
  • rewst-cli action-options get - Get a single actionoption

actions - Manage actions

  • rewst-cli actions create - Create a action
  • rewst-cli actions get - Get a single action

active-conversation-requests - Manage active-conversation-requests

  • rewst-cli active-conversation-requests - Get a single activeconversationrequest

affected-workflow-infos - Manage affected-workflow-infos

  • rewst-cli affected-workflow-infos - Get a single affectedworkflowinfo

api-client-lists - Manage api-client-lists

  • rewst-cli api-client-lists - Get a single apiclientlist

api-clients - Manage api-clients

  • rewst-cli api-clients <id> - Get a single apiclient

app-platform-reserved-domains - Manage app-platform-reserved-domains

  • rewst-cli app-platform-reserved-domains create - Create a appplatformreserveddomain
  • rewst-cli app-platform-reserved-domains get - Get a single appplatformreserveddomain
  • rewst-cli app-platform-reserved-domains update - Update a appplatformreserveddomain

commonly-used-actions - Manage commonly-used-actions

  • rewst-cli commonly-used-actions - Get a single commonlyusedaction

component-instances - Manage component-instances

  • rewst-cli component-instances create - Create a componentinstance
  • rewst-cli component-instances get - Get a single componentinstance
  • rewst-cli component-instances update - Update a componentinstance

component-trees - Manage component-trees

  • rewst-cli component-trees - Get a single componenttree

components - Manage components

  • rewst-cli components - Get a single component

conversation-message-votes - Manage conversation-message-votes

  • rewst-cli conversation-message-votes create - Create a conversationmessagevote
  • rewst-cli conversation-message-votes get - Get a single conversationmessagevote
  • rewst-cli conversation-message-votes update - Update a conversationmessagevote

conversation-messages - Manage conversation-messages

  • rewst-cli conversation-messages - Create a conversationmessage

conversations - Manage conversations

  • rewst-cli conversations create - Create a conversation
  • rewst-cli conversations get - Get a single conversation
  • rewst-cli conversations update - Update a conversation

crate-override-options - Manage crate-override-options

  • rewst-cli crate-override-options create - Create a crateoverrideoption
  • rewst-cli crate-override-options update - Update a crateoverrideoption

crate-overrides - Manage crate-overrides

  • rewst-cli crate-overrides create - Create a crateoverride
  • rewst-cli crate-overrides update - Update a crateoverride

crate-unpacking-argument-sets - Manage crate-unpacking-argument-sets

  • rewst-cli crate-unpacking-argument-sets - Get a single crateunpackingargumentset

crate-use-cases - Manage crate-use-cases

  • rewst-cli crate-use-cases - Get a single crateusecase

crates - Manage crates

  • rewst-cli crates create - Create a crate
  • rewst-cli crates get - Get a single crate
  • rewst-cli crates update - Update a crate

database-notification-errors - Manage database-notification-errors

  • rewst-cli database-notification-errors - Get a single databasenotificationerror

delete-org-interpreter-responses - Manage delete-org-interpreter-responses

  • rewst-cli delete-org-interpreter-responses <id> - Delete a deleteorginterpreterresponse

dropdown-options - Manage dropdown-options

  • rewst-cli dropdown-options - Get a single dropdownoption

encoded-page-nodeses - Manage encoded-page-nodeses

  • rewst-cli encoded-page-nodeses <id> - Get a single encodedpagenodes

feature-preview-settings - Manage feature-preview-settings

  • rewst-cli feature-preview-settings create - Create a featurepreviewsetting
  • rewst-cli feature-preview-settings get - Get a single featurepreviewsetting
  • rewst-cli feature-preview-settings update - Update a featurepreviewsetting

foreign-object-references - Manage foreign-object-references

  • rewst-cli foreign-object-references - Get a single foreignobjectreference

form-audit-entries - Manage form-audit-entries

  • rewst-cli form-audit-entries - Get a single formauditentry

form-permission-states - Manage form-permission-states

  • rewst-cli form-permission-states - Get a single formpermissionstate

forms - Manage forms

  • rewst-cli forms create - Create a form
  • rewst-cli forms get - Get a single form
  • rewst-cli forms update - Update a form

integration-workflow-outputs - Manage integration-workflow-outputs

  • rewst-cli integration-workflow-outputs - Create a integrationworkflowoutput

integrations - Manage integrations

  • rewst-cli integrations - Get a single integration

interpreter-versions - Manage interpreter-versions

  • rewst-cli interpreter-versions - Get a single interpreterversion

jinja-render-sessions - Manage jinja-render-sessions

  • rewst-cli jinja-render-sessions <id> - Get a single jinjarendersession

jinja2-documentations - Manage jinja2-documentations

  • rewst-cli jinja2-documentations - Get a single jinja2documentation

job-requested-responses - Manage job-requested-responses

  • rewst-cli job-requested-responses - Create a jobrequestedresponse

logins - Manage logins

  • rewst-cli logins - Get a single login

message-vote-statses - Manage message-vote-statses

  • rewst-cli message-vote-statses - Get a single messagevotestats

microsoft-c-s-p-customers - Manage microsoft-c-s-p-customers

  • rewst-cli microsoft-c-s-p-customers - Get a single microsoftcspcustomer

monaco-completion-items - Manage monaco-completion-items

  • rewst-cli monaco-completion-items - Get a single monacocompletionitem

onboarding-questionnaire-responses - Manage onboarding-questionnaire-responses

  • rewst-cli onboarding-questionnaire-responses create - Create a onboardingquestionnaireresponse
  • rewst-cli onboarding-questionnaire-responses get - Get a single onboardingquestionnaireresponse

org-breadcrumbs - Manage org-breadcrumbs

  • rewst-cli org-breadcrumbs - Get a single orgbreadcrumb

org-form-field-instances - Manage org-form-field-instances

  • rewst-cli org-form-field-instances - Get a single orgformfieldinstance

org-interpreter-settings - Manage org-interpreter-settings

  • rewst-cli org-interpreter-settings - Get a single orginterpretersetting

org-search-results - Manage org-search-results

  • rewst-cli org-search-results - Get a single orgsearchresult

org-support-accesses - Manage org-support-accesses

  • rewst-cli org-support-accesses - Create a orgsupportaccess

org-trigger-instances - Manage org-trigger-instances

  • rewst-cli org-trigger-instances get - Get a single orgtriggerinstance
  • rewst-cli org-trigger-instances update - Update a orgtriggerinstance

org-variables - Manage org-variables

  • rewst-cli org-variables create - Create a orgvariable
  • rewst-cli org-variables get - Get a single orgvariable
  • rewst-cli org-variables update - Update a orgvariable

organization-audit-entries - Manage organization-audit-entries

  • rewst-cli organization-audit-entries - Get a single organizationauditentry

organization-imports - Manage organization-imports

  • rewst-cli organization-imports - Get a single organizationimport

organization-onboarding-crate-requirements - Manage organization-onboarding-crate-requirements

  • rewst-cli organization-onboarding-crate-requirements - Get a single organizationonboardingcraterequirement

organization-onboarding-pack-requirements - Manage organization-onboarding-pack-requirements

  • rewst-cli organization-onboarding-pack-requirements - Get a single organizationonboardingpackrequirement

organization-onboarding-requirements - Manage organization-onboarding-requirements

  • rewst-cli organization-onboarding-requirements create - Create a organizationonboardingrequirement
  • rewst-cli organization-onboarding-requirements get - Get a single organizationonboardingrequirement

organizations - Manage organizations

  • rewst-cli organizations create - Create a organization
  • rewst-cli organizations get - Get a single organization
  • rewst-cli organizations update - Update a organization

pack-action-options - Manage pack-action-options

  • rewst-cli pack-action-options - Get a single packactionoption

pack-bundles - Manage pack-bundles

  • rewst-cli pack-bundles - Get a single packbundle

pack-configs - Manage pack-configs

  • rewst-cli pack-configs create - Create a packconfig
  • rewst-cli pack-configs get - Get a single packconfig
  • rewst-cli pack-configs update - Update a packconfig

pack-delete-responses - Manage pack-delete-responses

  • rewst-cli pack-delete-responses - Delete a packdeleteresponse

pack-resource-types-containers - Manage pack-resource-types-containers

  • rewst-cli pack-resource-types-containers - Get a single packresourcetypescontainer

packs - Manage packs

  • rewst-cli packs create - Create a pack
  • rewst-cli packs get - Get a single pack
  • rewst-cli packs update - Update a pack

packs-and-bundles-by-installed-states - Manage packs-and-bundles-by-installed-states

  • rewst-cli packs-and-bundles-by-installed-states - Get a single packsandbundlesbyinstalledstate

page-nodes - Manage page-nodes

  • rewst-cli page-nodes - Get a single pagenode

pages - Manage pages

  • rewst-cli pages create - Create a page
  • rewst-cli pages get - Get a single page
  • rewst-cli pages update - Update a page

pending-tasks-aggregates - Manage pending-tasks-aggregates

  • rewst-cli pending-tasks-aggregates - Get a single pendingtasksaggregate

permission-audit-log-lists - Manage permission-audit-log-lists

  • rewst-cli permission-audit-log-lists - Get a single permissionauditloglist

permissions - Manage permissions

  • rewst-cli permissions create - Create a permission
  • rewst-cli permissions get - Get a single permission
  • rewst-cli permissions update - Update a permission

psa-filter-optionses - Manage psa-filter-optionses

  • rewst-cli psa-filter-optionses - Get a single psafilteroptions

psa-organizations - Manage psa-organizations

  • rewst-cli psa-organizations - Get a single psaorganization

public-crates - Manage public-crates

  • rewst-cli public-crates - Get a single publiccrate

reserved-organization-names - Manage reserved-organization-names

  • rewst-cli reserved-organization-names - Get a single reservedorganizationname

robo-rewsty-config-values - Manage robo-rewsty-config-values

  • rewst-cli robo-rewsty-config-values - Get a single roborewstyconfigvalue

role-organization-counts - Manage role-organization-counts

  • rewst-cli role-organization-counts - Get a single roleorganizationcount

role-organization-rows - Manage role-organization-rows

  • rewst-cli role-organization-rows - Get a single roleorganizationrow

role-user-counts - Manage role-user-counts

  • rewst-cli role-user-counts - Get a single roleusercount

roles - Manage roles

  • rewst-cli roles create - Create a role
  • rewst-cli roles get - Get a single role
  • rewst-cli roles update - Update a role

sensor-types - Manage sensor-types

  • rewst-cli sensor-types - Get a single sensortype

site-domain-valids - Manage site-domain-valids

  • rewst-cli site-domain-valids - Get a single sitedomainvalid

sites - Manage sites

  • rewst-cli sites create - Create a site
  • rewst-cli sites get - Get a single site
  • rewst-cli sites update - Update a site

spice-d-b-check-results - Manage spice-d-b-check-results

  • rewst-cli spice-d-b-check-results - Get a single spicedbcheckresult

tags - Manage tags

  • rewst-cli tags create - Create a tag
  • rewst-cli tags get - Get a single tag
  • rewst-cli tags update - Update a tag

task-count-by-dates - Manage task-count-by-dates

  • rewst-cli task-count-by-dates - Get a single taskcountbydate

task-count-by-hours - Manage task-count-by-hours

  • rewst-cli task-count-by-hours - Get a single taskcountbyhour

task-logs - Manage task-logs

  • rewst-cli task-logs create - Create a tasklog
  • rewst-cli task-logs get - Get a single tasklog

templates - Manage templates

  • rewst-cli templates create - Create a template
  • rewst-cli templates get - Get a single template
  • rewst-cli templates update - Update a template

time-saved-by-dates - Manage time-saved-by-dates

  • rewst-cli time-saved-by-dates - Get a single timesavedbydate

time-saved-by-hours - Manage time-saved-by-hours

  • rewst-cli time-saved-by-hours - Get a single timesavedbyhour

time-saved-group-by-orgs - Manage time-saved-group-by-orgs

  • rewst-cli time-saved-group-by-orgs - Get a single timesavedgroupbyorg

time-saved-group-by-workflows - Manage time-saved-group-by-workflows

  • rewst-cli time-saved-group-by-workflows - Get a single timesavedgroupbyworkflow

trigger-types - Manage trigger-types

  • rewst-cli trigger-types - Get a single triggertype

triggers - Manage triggers

  • rewst-cli triggers create - Create a trigger
  • rewst-cli triggers get - Get a single trigger
  • rewst-cli triggers update - Update a trigger

user-delegated-accesses - Manage user-delegated-accesses

  • rewst-cli user-delegated-accesses - Get a single userdelegatedaccess

user-favorite-actions - Manage user-favorite-actions

  • rewst-cli user-favorite-actions create - Create a userfavoriteaction
  • rewst-cli user-favorite-actions update - Update a userfavoriteaction

user-invites - Manage user-invites

  • rewst-cli user-invites create - Create a userinvite
  • rewst-cli user-invites get - Get a single userinvite

user-preferenceses - Manage user-preferenceses

  • rewst-cli user-preferenceses - Update a userpreferences

user-robo-rewsty-preferenceses - Manage user-robo-rewsty-preferenceses

  • rewst-cli user-robo-rewsty-preferenceses get - Get a single userroborewstypreferences
  • rewst-cli user-robo-rewsty-preferenceses update - Update a userroborewstypreferences

users - Manage users

  • rewst-cli users create - Create a user
  • rewst-cli users get - Get a single user
  • rewst-cli users update - Update a user

workflow-execution-statses - Manage workflow-execution-statses

  • rewst-cli workflow-execution-statses - Get a single workflowexecutionstats

workflow-executions - Manage workflow-executions

  • rewst-cli workflow-executions - Get a single workflowexecution

workflow-notes - Manage workflow-notes

  • rewst-cli workflow-notes - Get a single workflownote

workflow-patches - Manage workflow-patches

  • rewst-cli workflow-patches - Get a single workflowpatch

workflow-stats-by-orgs - Manage workflow-stats-by-orgs

  • rewst-cli workflow-stats-by-orgs - Get a single workflowstatsbyorg

workflow-tasks - Manage workflow-tasks

  • rewst-cli workflow-tasks - Get a single workflowtask

workflows - Manage workflows

  • rewst-cli workflows create - Create a workflow
  • rewst-cli workflows get - Get a single workflow
  • rewst-cli workflows update - Update a workflow

Finding the right command

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

rewst-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 fleet check

rewst-cli health --org YOUR_ORG_ID --since 24h --agent

Single-call health verdict (succeeded/failed/running plus time saved) to start the day.

Triage overnight failures

rewst-cli failures --org YOUR_ORG_ID --since 12h --limit 25 --agent

List just the failed executions, newest first, to investigate what broke.

Narrow a verbose execution list

rewst-cli workflow-executions --where '{"orgId":"YOUR_ORG_ID"}' --limit 50 --agent --select data.id,data.status,data.createdAt,data.numSuccessfulTasks

Pull only the fields you need from a deeply nested execution payload so an agent isn't flooded with the full object.

Report automation ROI

rewst-cli roi --org YOUR_ORG_ID --since 30d --agent

Roll up humanSecondsSaved into hours/days saved and the top time-saving workflows for a client report.

Find config drift between two tenants

rewst-cli drift --org TENANT_A --against TENANT_B --agent

Diff org variables and installed packs to explain why automation works in one tenant but not the other.

Auth Setup

Rewst authenticates with a per-organization API client token sent as Authorization: Bearer <token>. Mint a token in the Rewst platform under Configuration > API Clients, then export it as REWST_API_TOKEN (or run rewst-cli auth set-token). The token is org-scoped, so most commands take an --org id for the tenant you are operating on.

Run rewst-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:

    rewst-cli action-options get --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:

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

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

rewst-cli profile save briefing --json
rewst-cli --profile briefing action-options get
rewst-cli profile list --json
rewst-cli profile show briefing
rewst-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.

Async Jobs

For endpoints that submit long-running work, the generator detects the submit-then-poll pattern (a job_id/task_id/operation_id field in the response plus a sibling status endpoint) and wires up three extra flags on the submitting command:

FlagPurpose
--waitBlock until the job reaches a terminal status instead of returning the job ID immediately
--wait-timeoutMaximum wait duration (default 10m, 0 means no timeout)
--wait-intervalInitial poll interval (default 2s; grows with exponential backoff up to 30s)

Use async submission without --wait when you want to fire-and-forget; use --wait when you want one command to return the finished artifact.

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 rewst-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

  1. Install the MCP binary (run the install script from the Prerequisites section, or see mcp-install.md for per-agent wire-up).
  2. Register with Claude Code:
    claude mcp add rewst-mcp -- rewst-mcp
    
  3. Verify: claude mcp list

Direct Use

  1. Check if installed: which rewst-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:
    rewst-cli <command> [subcommand] [args] --agent
    
  4. If ambiguous, drill into subcommand help: rewst-cli <command> --help.
Skill path
skills/rewst/SKILL.md
Commit SHA
30e109db0872
Repository license
NOASSERTION
Data collected