Judge me

From mvanhorn/printing-press-library · View interactive version

Judge me is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. Printing Press CLI for Judge Me. Our REST API lets you access to resources and perform actions on behalf of a store.

How to use this skill

Skill file

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

```

  1. Verify: judge-me-pp-cli --version
  2. 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:

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 and FAQs.

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 uses OAuth2 to grant App Developers access to Judge.me API. You need to use the OAuth api_token generated from the Judge.me app following this guide.

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

_Use before campaigns or launch reviews to spot trust-presentation problems quickly._

```bash

judge-me-pp-cli reputation summary --agent

```

_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

_Use during support triage to prioritize reputation-impacting reviews._

```bash

judge-me-pp-cli reputation moderation-queue --agent

```

settings

_Use after setup or theme changes to confirm trust display configuration._

```bash

judge-me-pp-cli reputation settings-audit --agent

```

product

_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

replies — Manage replies

reviewers — Manage reviewers

reviews — You can use the reviews endpoints to access review information. Common use cases include:

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

settings — Manage settings

shops — Manage shops

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:
  1. 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.

widgets — Manage widgets

Finding the right command

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

judge-me-pp-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.

Auth Setup

Run judge-me-pp-cli auth setup to print the URL and steps for getting a key (add --launch to open the URL). Then set:

export JUDGE_ME_API_TOKEN="<your-key>"
export JUDGE_ME_SHOP_DOMAIN="your-store.myshopify.com"

JUDGE_ME_PRIVATE_APIKEY is also accepted as the generated-token alias.

Run judge-me-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

```bash

judge-me-pp-cli reviewers get mock-value --agent --select id,name,status

```

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:

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

Entries are stored locally at ~/.local/share/judge-me-pp-cli/feedback.jsonl. They are never POSTed unless JUDGE_ME_FEEDBACK_ENDPOINT is set AND either --send is passed or JUDGE_ME_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:

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

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.

judge-me-pp-cli profile save briefing --json
judge-me-pp-cli --profile briefing reviewers get mock-value
judge-me-pp-cli profile list --json
judge-me-pp-cli profile show briefing
judge-me-pp-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

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

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show judge-me-pp-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 server:

```bash

go install github.com/mvanhorn/printing-press-library/library/marketing/judge-me/cmd/judge-me-pp-mcp@latest

```

  1. Register with Claude Code:

```bash

claude mcp add judge-me-pp-mcp -- judge-me-pp-mcp

```

  1. Verify: claude mcp list

Direct Use

  1. Check if installed: which judge-me-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

judge-me-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: judge-me-pp-cli <command> --help.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.