--- name: pp-judge-me description: "Printing Press CLI for Judge Me. Our REST API lets you access to resources and perform actions on behalf of a store." author: "cathrynlavery" license: "Apache-2.0" argument-hint: " [args] | install cli|mcp" allowed-tools: "Read Bash" metadata: openclaw: requires: bins: - judge-me-pp-cli install: - kind: go bins: [judge-me-pp-cli] module: github.com/mvanhorn/printing-press-library/library/marketing/judge-me/cmd/judge-me-pp-cli --- # Judge Me — Printing Press CLI ## Prerequisites: Install the CLI This skill drives the `judge-me-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first: 1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows: ```bash npx -y @mvanhorn/printing-press-library install judge-me --cli-only ``` 2. Verify: `judge-me-pp-cli --version` 3. Ensure the reported install directory is on `$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.6 or newer). This installs into `$GOPATH/bin` (default `$HOME/go/bin`), so add that directory to `$PATH` instead: ```bash go install github.com/mvanhorn/printing-press-library/library/marketing/judge-me/cmd/judge-me-pp-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. Our REST API lets you access to resources and perform actions on behalf of a store. For more information, read Judge.me's [integration guidelines](https://help.judge.me/en/articles/8278390-integrating-with-judge-me) and [FAQs](https://help.judge.me/en/articles/8278477-faqs-for-integration-partners). # Authentication Pass your API token in the `X-Api-Token` HTTP header (recommended): ``` curl -H "X-Api-Token: YOUR_API_TOKEN" https://api.judge.me/api/v1/widgets/product_review?shop_domain=example.myshopify.com&id=123 ``` ## OAuth [Judge.me](http://judge.me/) uses OAuth2 to grant App Developers access to [Judge.me](http://judge.me/) API. You need to use the OAuth api_token generated from the Judge.me app [following this guide](https://help.judge.me/en/articles/8283047-setting-up-the-oauth-flow-for-your-app-in-judge-me). Example of how to authenticate with OAuth: ``` GET https://app.judge.me/oauth/authorize?client_id=[your_client_id]&redirect_uri=[your_redirect_uri]&response_type=code&scope=[list_of_permissions_you_are_asking]&state=[state] ``` ## Unique Capabilities These capabilities aren't available in any other tool for this API. ### reputation - **`reputation summary`** — One read-only dashboard for store-level review count, rating, shop metadata, settings, and local review stats. _Use before campaigns or launch reviews to spot trust-presentation problems quickly._ ```bash judge-me-pp-cli reputation summary --agent ``` - **`reputation products`** — Ranks synced products by low-rating rate, average rating, verified rate, and newest review recency. _Use weekly to find products dragging down customer trust._ ```bash judge-me-pp-cli sync --resources reviews --max-pages 1 && judge-me-pp-cli reputation products --agent ``` ### moderation - **`reputation moderation-queue`** — Surfaces low-rated, hidden, spam-marked, or not-yet-curated synced reviews for human attention. _Use during support triage to prioritize reputation-impacting reviews._ ```bash judge-me-pp-cli reputation moderation-queue --agent ``` ### settings - **`reputation settings-audit`** — Audits Judge.me settings that affect trust presentation, including autopublish, picture reviews, star color, and admin email presence when returned. _Use after setup or theme changes to confirm trust display configuration._ ```bash judge-me-pp-cli reputation settings-audit --agent ``` ### product - **`reputation product`** — Fetches product-level count/histogram evidence when product ID is known and widget availability/byte evidence for handles or external IDs. _Use before merchandising or ad pushes to verify product social proof is present._ ```bash judge-me-pp-cli reputation product --handle example-product --agent ``` ## Command Reference **private-replies** — Manage private replies - `judge-me-pp-cli private-replies` — Create a private email reply to a [Judge.me](http://judge.me/) review privately via your app interface. **replies** — Manage replies - `judge-me-pp-cli replies` — Create a reply to a Judge.me review on the public [Judge.me](http://judge.me/) review widget via your app interface. **reviewers** — Manage reviewers - `judge-me-pp-cli reviewers data-request` — Data Request - `judge-me-pp-cli reviewers get` — Get information of the reviewers such as name and email. - `judge-me-pp-cli reviewers update` — Create or update a reviewer via your app interface. **reviews** — You can use the reviews endpoints to access review information. Common use cases include: - Synchronize and display reviews in your admin dashboard. - Get event of new reviews (via webhook) to perform an action on your side. - Let users manage reviews (publish/hide) on your side. *Note: these endpoints respond **raw** review information, which may include **unpublished reviews**, or review content that is **not sanitized** yet (so risks of XSS). To render review content on storefront, please use widget endpoints instead. - `judge-me-pp-cli reviews create` — Create a web review in background - `judge-me-pp-cli reviews get` — Get info of a specific review. - `judge-me-pp-cli reviews index` — Get info of reviews of a product. If `product_id` is not provided, return all product and store reviews of that store. - `judge-me-pp-cli reviews reviewers-count` — Get count of reviews for a specific product or reviewer. - `judge-me-pp-cli reviews update` — Publish or hide a [Judge.me](http://judge.me/) review via your app interface. **settings** — Manage settings - `judge-me-pp-cli settings` — Get multiple settings values of the store in [Judge.me](http://judge. **shops** — Manage shops - `judge-me-pp-cli shops comments-create` — Create a checkout comment. Available in Checkout Comments app only. - `judge-me-pp-cli shops destroy` — Uninstall the store from Judge.me - `judge-me-pp-cli shops info` — Get the basic information of the store such as [Judge.me](http://judge. - `judge-me-pp-cli shops update` — Update store information **webhooks** — Subscribe to an event happens in Judge.me. Judge.me will send a POST request to the registered URL containing relevant information for each event. Common webhook keys: 1. **review/created** or **review/created_fail**: to know when a review is created, or not. 2. **review/updated**: to know when a review is updated in Judge.me. In particular, when a review is: - curated or mass curated - pinned/featured in carousel - moved to another product - edited from admin or user profile - verified review via request emails - added/hidden/shown review photos from admin or user profile 3. Widgets update webhooks (e.g. **widget/settings/updated**): to know when Judge.me updates a widget. ***Note**: You can learn how to verify webhooks from Judge.me following this [guide](https://help.judge.me/en/articles/8299679-verifying-webhooks-from-judge-me). - `judge-me-pp-cli webhooks bulk-create` — Bulk Create - `judge-me-pp-cli webhooks create` — Create a webhook in Judge.me with a `key` and a `url`. When an event associated with `key` happens, Judge. - `judge-me-pp-cli webhooks destroy` — Delete - `judge-me-pp-cli webhooks get` — Get - `judge-me-pp-cli webhooks index` — Index - `judge-me-pp-cli webhooks update` — Update **widgets** — Manage widgets - `judge-me-pp-cli widgets all-reviews-count` — Return a single total number of product and store reviews. - `judge-me-pp-cli widgets all-reviews-page` — All Reviews Page is a dedicated page to showcase all product and store reviews all in one place. - `judge-me-pp-cli widgets all-reviews-rating` — Return a single number of average rating of product reviews and store reviews. - `judge-me-pp-cli widgets checkout-comments` — Return Checkout Comments widget for a product (for Checkout Comments app only). - `judge-me-pp-cli widgets featured-carousel` — Reviews Carousel is usually placed on the homepage to showcase specific reviews featured by the store. - `judge-me-pp-cli widgets html-miracle` — Return special HTML that helps show essential parts of widgets before the JS and CSS files are loaded. - `judge-me-pp-cli widgets preview-badge` — Preview Badge is usually placed below product titles on product pages or inside product thumbnails on collection pages. - `judge-me-pp-cli widgets product-review` — Review Widget is usually placed at the bottom of each product page, displaying all reviews of a product. - `judge-me-pp-cli widgets reviews-tab` — Floating Reviews Tab display all product and store reviews via a floating button on any pages. - `judge-me-pp-cli widgets settings` — Return widget settings of the shop, under HTML format, containing a `