Crewhu API Patterns skillA
Crewhu API Patterns is agent-read markdown (skill) from wyre-ai/msp-claude-plugins: Crewhu MCP fundamentals: token authentication via the `X-Crewhu-Api-Token` header and its gateway env-var mapping, the flat 18-tool surface across the surveys, users, badges, and prizes domains (only `crewhu_badges_update_contest` writes), pagination, and error codes..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Crewhu MCP Tools & API Patterns ## Overview The Crewhu MCP server exposes CSAT/NPS surveys, employee recognition (badges), and prize/redemption data for MSP teams. The tool surface is read-heavy — only `crewhu_badges_update_contest` performs writes. ## Connection & Authentication Crewhu uses an API token passed via header: | Header | Value | |--------|-------| | `X-Crewhu-Api-Token` | The raw API token | The gateway maps the environment variable `X_CREWHU_APITOKEN` onto the `X-Crewhu-Api-Token` header automatically. ```bash export X_CREWHU_APITOKEN="your-crewhu-api-token" ``` ## Tool Surface All 18 tools are exposed flat via `tools/list` — there is no navigation gating. Tool names follow `crewhu_<domain>_<action>` across four domains: - **surveys** (5): list, get, search, detractors, promoters - **users** (3): list, get, search - **badges** (5): list, get, history_list, user_recognition, update_contest - **prizes** (5): list, get, history_list, user_redemptions, pending_redemptions ## Pagination Crewhu list endpoints typically accept page/limit-style parameters. Always check whether more pages exist before claiming a result set is …
Read the whole file at its exact version.
How to install
mdr add wyre-ai/msp-claude-plugins/Crewhu API Patterns@git:20260728.b7e78fcmdr add wyre-ai/msp-claude-plugins/Crewhu API Patterns@sha256:e58aeba35083b39dPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_hnfiugbybr4xxsf7)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260728.b7e78fc latest | 2026-07-28 | b7e78fc | 2,457 B | A | view · diff |
| git:20260713.1fbd3f3 | 2026-07-13 | 1fbd3f3 | 2,564 B | A | view · diff |
| git:20260518.16e8ff8 | 2026-05-18 | 16e8ff8 | 2,568 B | A | view · diff |
| git:20260503.5be5d8c | 2026-05-03 | 5be5d8c | 2,830 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2457 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
wyre-ai/msp-claude-plugins · 46 stars · license Apache-2.0 · pushed 2026-09-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hnfiugbybr4xxsf7 GET https://markdownregistry.com/api/v1/resolve?ref=wyre-ai/msp-claude-plugins/Crewhu API Patterns GET https://markdownregistry.com/api/v1/blob/e58aeba35083b39d384a01fe486d0397e6ea9b1fb7b9277240a8eb4cc84398c4
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.