Agent skill

Grammarly Data Safety Guardian

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Audit and gate a Grammarly document-submission manifest offline before an authorized integration upload.

MITAuto-check passed

Install Grammarly Data Safety Guardian

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill grammarly-data-safety-guardian -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace grammarly-data-safety-guardian --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/grammarly-data-safety-guardian .claude/skills/grammarly-data-safety-guardian && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
grammarly-data-safety-guardian
GitHub stars
2.8k
Token cost
~1.4k tokens
SKILL.md length
579 words
Files
5 (incl. scripts, references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Audit and gate a Grammarly document-submission manifest offline before an authorized integration upload.

  • Works in 4 steps: Collect only the manifest described in → Run the guard with stdin → Treat BLOCKED as a hard stop. Fix the… → …
  • Checking supported extensions
  • SKILL.md covers Overview, When to use, Prerequisites and Instructions, plus 4 more sections
  • Runs Python scripts from its folder; calls python3; reaches api.grammarly.com

What it does

Grammarly Data Safety Guardian is an agent skill from jeremylongshore/tons-of-skills-marketplace. Audit 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".

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `eval-spec.yaml`, `references/governance-gate.md` and `references/submission-contract.md`). Compatibility notes: Agent Skills-compatible hosts; requires Python 3.10+

The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Checking supported extensions
  • File-size and text-length metadata
  • Approved destination
  • With Grammarly submission preflight

Example prompts

  • “Grammarly submission preflight”
  • “Grammarly document safety”
  • “Grammarly retention check”
  • “/grammarly-data-safety-guardian”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Agent Skills-compatible hosts; requires Python 3.10+
  • Pre-approved tools (allowed-tools): Bash(python3:*)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Collect only the manifest described in
  2. Run the guard with stdin
  3. Treat BLOCKED as a hard stop. Fix the named metadata or governance decision;
  4. Treat INSPECTION_READY as permission only to create a normalized-filename job and

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(python3:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.grammarly.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Agent Skills-compatible hosts; requires Python 3.10+

    From compatibility in the SKILL.md frontmatter.

Context cost

Grammarly Data Safety Guardian loads about 1.4k tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 124 tokens; SKILL.md has 579 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~124
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 579 words, ~1,367 tokens.

Download SKILL.mdSave it as .claude/skills/grammarly-data-safety-guardian/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
grammarly-data-safety-guardian
description
Audit 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".
allowed-tools
Bash(python3:*)
compatibility
Agent Skills-compatible hosts; requires Python 3.10+
version
2.0.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, grammarly, data-safety, privacy, governance

Grammarly Data Safety Guardian

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.

Overview

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.

When to use

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.

Prerequisites

  • A synthetic or production-approved metadata-only manifest matching references/submission-contract.md.
  • Independent data-owner approval, consent evidence, transfer approval, content classification, and acknowledgment of provider retention boundaries.
  • Python 3.10 or newer. No document path, document content, credential, network, or writable output directory is required.

Instructions

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

  2. Run the guard with stdin:

    bash
    python3 scripts/audit_submission_manifest.py < submission-manifest.json
  3. Treat BLOCKED as a hard stop. Fix the named metadata or governance decision; never truncate or transform a document silently to pass the guard.

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

Show full SKILL.md (210 more words)Show less

Output

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.

Error Handling

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.

Examples

  • A .docx manifest at 4,194,304 bytes with approved classification, authority, consent, transfer, retention, exact API origin, and exact inspected upload origin: READY.
  • The same content-bound manifest with presigned_upload_origin: null and presigned_upload_origin_approved: false: INSPECTION_READY, which permits only destination discovery and no document upload.
  • A .txt manifest missing derived counts or with word_count: 29: BLOCKED.
  • A restricted manifest, lookalike API origin, private upload origin, or unapproved inspected upload origin: BLOCKED.
  • A manifest containing preview, raw_text, or client_token: BLOCKED before any size or governance decision is used.

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/.curated/grammarly-data-safety-guardian of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • eval-spec.yaml
  • references/governance-gate.md
  • references/submission-contract.md
  • scripts/audit_submission_manifest.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Grammarly Data Safety Guardian next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Grammarly Data Safety Guardian compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Grammarly Data Safety Guardian this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: PassMIT
Gate Testsvercel/next.js143k—~2.8kAutomated safety check: PassMIT
Skill Release Gaterohitg00/ai-engineering-from-scratch67k—~1kAutomated safety check: PassMIT
Gateplugin87/ux-ui-agent-skills1.6k—~532Automated safety check: PassMIT
Python Type Safetywshobson/agents40k—~1.4kAutomated safety check: PassMIT
Brain Ingest Gategarrytan/gbrain31k—~3.9kAutomated safety check: PassMIT

Similar skills

  • Gate Tests

    vercel/next.js

    Official

    How to use the @gate / @force-gate test directives instead of it.skip or fake-green skip patterns.

    143k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    67k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Gate

    plugin87/ux-ui-agent-skills

    Run the one-command quality gate and report the real N/N result.

    1.6k GitHub stars~532 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Python Type Safety

    wshobson/agents

    Python type safety with type hints, generics, protocols, and strict type checking.

    40k GitHub stars~1.4k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Brain Ingest Gate

    garrytan/gbrain

    Pre-write quality gate for content entering the brain. An agent skill from garrytan/gbrain.

    31k GitHub stars~3.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Safety Guard

    affaan-m/ECC

    Guard against destructive operations with three modes: Careful intercepts dangerous commands (rm -rf, git push --force, DROP TABLE) for confirmation, Freeze locks writes to one directory, and Guard…

    277k GitHub starsUsed in 2 repos~554 tokens
    DevelopmentAuto-check: notes

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Grammarly Data Safety Guardian

What does Grammarly Data Safety Guardian do?

Audit and gate a Grammarly document-submission manifest offline before an authorized integration upload. Grammarly Data Safety Guardian is an agent skill from jeremylongshore/tons-of-skills-marketplace. Audit and gate a Grammarly document-submission manifest offline before an authorized integration upload.

When should I use Grammarly Data Safety Guardian?

Grammarly Data Safety Guardian fits situations like: checking supported extensions; file-size and text-length metadata; approved destination; with Grammarly submission preflight.

How do I install Grammarly Data Safety Guardian in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill grammarly-data-safety-guardian -a claude-code`. Or copy the skill folder (skills/.curated/grammarly-data-safety-guardian in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/grammarly-data-safety-guardian in your project. Claude Code loads it when a task matches its description.

How do I install Grammarly Data Safety Guardian in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill grammarly-data-safety-guardian -a codex`. Or copy the skill folder (skills/.curated/grammarly-data-safety-guardian in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/grammarly-data-safety-guardian in your project. Codex loads it when a task matches its description.

Can I use Grammarly Data Safety Guardian in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill grammarly-data-safety-guardian -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/grammarly-data-safety-guardian, .gemini/skills/grammarly-data-safety-guardian, .github/skills/grammarly-data-safety-guardian and .opencode/skills/grammarly-data-safety-guardian in your project.

What does Grammarly Data Safety Guardian need to run?

Going by SKILL.md and its folder, Grammarly Data Safety Guardian needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(python3:*). Compatibility (from SKILL.md): Agent Skills-compatible hosts; requires Python 3.10+.

Does Grammarly Data Safety Guardian access the network?

SKILL.md names 1 domain. In commands or code: api.grammarly.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Grammarly Data Safety Guardian safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Grammarly Data Safety Guardian use?

Grammarly Data Safety Guardian is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Grammarly Data Safety Guardian use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Grammarly Data Safety Guardian?

Skills that share tags, products or a category with Grammarly Data Safety Guardian: Gate Tests (vercel/next.js, 143k stars), Skill Release Gate (rohitg00/ai-engineering-from-scratch, 67k stars), Gate (plugin87/ux-ui-agent-skills, 1.6k stars) and Python Type Safety (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Grammarly Data Safety Guardian?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.