/grammarly-pack:grammarly-data-safety-guardianfrom grammarly-pack
Audits a Grammarly document-submission manifest offline against hard safety gates including supported extensions, file-size and text-length metadata, approval, consent, retention, and approved destination. Does not read document content or contact Grammarly.
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.
Run a deterministic preflight over a metadata-only submission manifest. The guard answers whether a planned document upload satisfies this skill's hard safety gates; it does not read a document, contact Grammarly, create an upload URL, or retain a copy of the manifest.
The guard is a closed-world policy check for a planned document submission. It combines Grammarly's documented format and size constraints with local governance decisions while keeping the document itself outside the workflow.
Use for a Writing Score, AI Detection (Beta), or Plagiarism Detection (Beta) document submission before and after the evaluator inspects the provider-issued upload origin. The preliminary decision gates OAuth metadata disclosure; the final decision gates document bytes. Do not trigger for writing or editing content, document previews, credential troubleshooting, or a request to upload a real document.
Collect only the manifest described in references/submission-contract.md. The manifest may contain extension, byte count, optional derived text counts, and governance decisions, the pinned API control-plane origin, and the exact sanitized presigned upload origin; it must not contain text, content, previews, credentials, paths, filenames, full upload URLs, or raw API responses.
Run the guard with stdin:
python3 scripts/audit_submission_manifest.py < submission-manifest.json
Treat BLOCKED as a hard stop. Fix the named metadata or governance decision;
never truncate or transform a document silently to pass the guard.
Treat INSPECTION_READY as permission only to create a normalized-filename job and
inspect its sanitized upload origin. Treat READY as permission to continue to the separately authorized upload
workflow, not as proof that a document is lawful, accurate, or safe for a new
destination.
The script accepts strict JSON, rejects duplicate keys and non-standard constants,
recursively rejects raw text, location, response, and credential fields, and performs
no network or filesystem writes. It enforces the documented extensions, 4,194,304-byte
maximum, UTF-8 text counts, a non-restricted classification, all approval gates, the
exact https://api.grammarly.com control-plane origin, and an explicitly approved
public HTTPS S3 presigned-upload origin on the default TLS port.
Return the deterministic JSON decision and failed check names. Do not echo a filename, path, text, preview, credential, identifier, or raw document metadata beyond the safe numeric and enum fields in the script's output.
BLOCKED is a hard stop for an unsupported extension, zero or oversized bytes,
supplied character/word limits, failed approval/consent/retention/destination
checks, unknown fields, duplicate keys, or unsafe content/credential fields. Do not
truncate, split, preview, log, or upload a document to investigate. Invalid input
returns a non-zero exit status and a JSON decision without the rejected value.
.docx manifest at 4,194,304 bytes with approved classification, authority,
consent, transfer, retention, exact API origin, and exact inspected upload origin:
READY.presigned_upload_origin: null and
presigned_upload_origin_approved: false: INSPECTION_READY, which permits only
destination discovery and no document upload..txt manifest missing derived counts or with word_count: 29: BLOCKED.restricted manifest, lookalike API origin, private upload origin, or unapproved
inspected upload origin: BLOCKED.preview, raw_text, or client_token: BLOCKED before
any size or governance decision is used.What SKILL.md sets; muted values are Claude Code's defaults
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-api-reliabilityAnalyze a sanitized Grammarly asynchronous job receipt without sending requests, reading document content, or guessing provider SLAs. Use when a Writing Score or similar document job is PENDING, FAILED, or COMPLETED and a bounded retry decision is needed. Trigger with "analyze Grammarly job receipt", "Grammarly 429 retry", or "Grammarly job status"./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