/grammarly-pack:grammarly-api-reliabilityfrom grammarly-pack
Classifies sanitized Grammarly async job receipts (PENDING, FAILED, COMPLETED) into bounded retry decisions without sending requests or reading document content.
Ships in grammarly-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This is a read-only, metadata-only decision aid for asynchronous Grammarly jobs. It does not call Grammarly, upload text, inspect a response body, create a token, or retry a request. It turns one strict JSON receipt into a bounded, evidence-labeled classification.
Use this skill to classify a sanitized asynchronous receipt without treating a provider response as permission to retry blindly.
No credentials, network access, Grammarly account, document, or response body is needed. Python 3.10+ is the only runtime requirement. If a separate live integration is being designed, use the official OAuth 2.0 credentials documentation (accessed 2026-09-04) to determine access; live authentication and requests are outside this skill.
Run the bundled script against a receipt file or standard input:
python3 scripts/analyze_job_receipt.py receipt.json
cat receipt.json | python3 scripts/analyze_job_receipt.py -
python3 scripts/analyze_job_receipt.py --self-test
The analyzer accepts only the documented metadata schema in
references/receipt-schema.md. It recursively rejects
keys associated with document content, bodies, text, headers, or tokens, including
those hidden in an otherwise unknown nested object. Unknown keys, malformed values,
inconsistent 429 evidence, and attempts above the cap fail closed.
COMPLETED is terminal. Do not retry it.PENDING is not a failure. Report that the receipt is still pending; do not invent
a polling interval, timeout, SLA, quota, or freshness guarantee.FAILED with http_status: 429 is the only status-specific retry class in this
skill. If a numeric retry_after_seconds value is supplied, the output preserves
that evidence as the wait instruction. If it is absent, the output names
Grammarly's documented 2-second-base exponential-backoff guidance for 429 only;
it does not invent a maximum, jitter rule, quota, or service promise.MANUAL_REVIEW: the receipt alone does not
establish that retrying is safe.attempts == max_attempts is ATTEMPT_CAP_REACHED and must
not receive retry guidance. An input with attempts > max_attempts is invalid.The cap is caller-supplied policy, not a Grammarly limit. The analyzer never changes the cap or performs the next attempt. A human or caller-owned controller must decide whether a retry is appropriate after reviewing the emitted classification.
Use synthetic receipts for evaluation. Never paste document text, raw request or response bodies, HTTP headers, access tokens, authorization values, or secrets. The script is standard-library-only and has no network, filesystem-write, subprocess, or deletion behavior. It reports validation errors rather than trying to sanitize unsafe input.
Read the focused references only when needed:
references/receipt-schema.md — exact accepted
fields, recursive rejection rules, and output classes.references/official-contract.md — the
primary Grammarly Writing Score contract and the narrow 429 guidance boundary.The JSON result names the accepted status, attempts, cap, classification, and a short evidence-bounded guidance string. It never echoes submitted metadata beyond those safe scalar fields and never fabricates an SLA, timeout, quota, result body, or document diagnosis.
Invalid JSON, forbidden recursive keys, unknown fields, unsupported statuses,
contradictory 429 evidence, and cap violations are errors. The script exits non-zero
and emits no classification. A valid non-429 failure is MANUAL_REVIEW, not a retry
recommendation.
COMPLETED_TERMINAL and no retry instruction.retry_after_seconds: 17 returns RETRY_AFTER_EVIDENCE and
preserves 17 seconds.diagnostics.response_body or credentials.access_token field is
rejected before classification.references/receipt-schema.md — accepted fields,
recursive rejection, and classifications.references/official-contract.md — primary
Grammarly contract and narrow 429 guidance.Grammarly Writing Score API (accessed 2026-09-04).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/grammarly-access-readinessAudit a Grammarly API OAuth configuration offline for recognized organization
access, least-privilege scopes, and documented API coverage. Use when reviewing
Grammarly Enterprise or institution-wide Grammarly for Education API readiness,
OAuth scope changes, or an AI/plagiarism access discrepancy. Trigger with
"Grammarly OAuth readiness", "Grammarly API scopes", or "Grammarly
institution-wide access". Do not use for
obtaining credentials, making API calls, or submitting documents.
/grammarly-data-safety-guardianAudit and gate a Grammarly document-submission manifest offline before an authorized
integration upload. Use when checking supported extensions, file-size and
text-length metadata, approval, consent, retention, and approved destination.
This skill never accepts or submits document content and is not a replacement for
legal, privacy, or security approval. Trigger with "Grammarly submission
preflight", "Grammarly document safety", or "Grammarly retention check".
/grammarly-document-evaluatorValidate, plan, and explicitly execute Grammarly Writing Score, AI Detection,
or Plagiarism Detection document jobs using the documented create, presigned
upload, and poll lifecycle. Use when an operator needs to score a document,
detect AI-generated content, check originality, diagnose a malformed document
submission, or verify API result fields. Do not use for browser-editor grammar
suggestions, live text rewriting, license deletion, or undocumented webhooks.
Trigger with "score this document", "run Grammarly AI detection", "check this
document for plagiarism", or "diagnose this Grammarly document job".
/grammarly-license-governorProduce a review-only plan from a sanitized Grammarly License Management snapshot, identifying non-admin users whose last activity is before an explicit cutoff. Use when governing unused seats without exposing identity data or mutating Grammarly. Trigger with "review Grammarly inactive licenses", "Grammarly seat audit", or "analyze a sanitized Grammarly license snapshot".npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin grammarly-packOther plugins' skills for the same job