easyship-safety

easyship-safety is a cursor rule for Cursor from easyship/easyship-mcp-plugin. It costs 347 tokens per session, scanned A, original, MIT.

A set of safety rules for Easyship shipping operations. Easyship is a service for creating, buying, tracking, and cancelling shipments and pickups.

In plain words
What is it for?
Use it to confirm destructive actions, protect credentials, validate addresses and parcel details, and explain shipping API errors.
Why use it?
It reduces the risk of cancelling shipments by mistake, exposing API tokens, or sending incomplete shipping data. It also requires clear handling of API errors.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to confirm destructive actions, protect credentials, validate addresses and parcel details, and explain shipping API errors.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/easyship/easyship-mcp-plugin/easyship-safety
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/easyship/easyship-mcp-plugin

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for easyship-safety

README.md
[![agentmods](https://agentmods.dev/badge/rules/easyship/easyship-mcp-plugin/easyship-safety.svg)](https://agentmods.dev/rules/easyship/easyship-mcp-plugin/easyship-safety)
Your own site
<a href="https://agentmods.dev/rules/easyship/easyship-mcp-plugin/easyship-safety"><img src="https://agentmods.dev/badge/rules/easyship/easyship-mcp-plugin/easyship-safety.svg" alt="Measured on agentmods" height="20"></a>
Per session 347 This file is loaded in full into every session.
When invoked 347 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00347 $0.00347
Opus 5 $0.00173 $0.00173
Sonnet 5 $0.00069 $0.00069
Haiku 4.5 $0.00035 $0.00035

Measured 7d ago against content hash 3a7c4a7fdade, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

easyship-safety scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/easyship-safety.mdc · 33 lines

What it actually says

Easyship Safety Rules

Destructive actions require confirmation

Before calling delete_shipment, cancel_shipment, or cancel_pickup, always ask the user to confirm. Show the shipment/pickup ID and current status so they can make an informed decision.

Never expose API tokens

Never display, log, or include EASYSHIP_API_ACCESS_TOKEN in responses, code snippets, or file contents. If the user shares a token in chat, warn them and suggest rotating it.

Validate required fields before API calls

Before calling create_shipment, verify that all required address fields are present: contact name, email, phone, street, city, and country code for both origin and destination. If any are missing, ask the user rather than guessing.

Before calling get_rates, ensure origin country, destination country, weight, and all three dimensions (length, width, height) are provided. Prompt for missing values.

Handle errors gracefully

If an API call returns an error, present the error message clearly and suggest a fix. Common issues:

  • 401 Unauthorized → token is missing or expired, direct to https://app.easyship.com/connect/api
  • 422 Unprocessable → missing or invalid fields, show which fields need correction
  • 429 Rate limited → wait and retry, inform the user

Currency and units

Always include the currency code when displaying prices. Do not convert currencies unless the user asks. Weights are in kg and dimensions in cm unless the user specifies otherwise.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 33 lines · 347 tokens per session scan A 3a7c4a7fdade

Subscribe to this mod's changes

easyship-safety is a cursor rule published in the GitHub repository easyship/easyship-mcp-plugin (0 stars, last pushed 2mo ago), licensed MIT. It adds 347 tokens to every session, about $0.0017 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other cursor rules, from other repositories

cursor

You are working on the checkout service. Preserve transaction integrity and auditability.

mrwogu/promptscript · 53 tokens

paddle-integration

Conventions for Paddle integration code.

PaddleHQ/paddle-agent-skills · 380 tokens

vtex-io-vtex-io-storefront-theme-app

Apply when designing or modifying a VTEX IO storefront theme app — the app that owns store/blocks.json, store/routes.json, store/templates/, store/contentSchemas.json, and the storefront page tree assembled from store.home, store.product, store.search, store.custom, and other native page templates. Covers how a theme…

vtex/skills · 3,594 tokens

faststore-faststore-storefront-ref-project-structure-routes-and-config

FastStore project structure, routes, CLI build pipeline, store configuration (discovery.config.js), and naming conventions. Use when understanding how a FastStore project is organized, how the @faststore/cli works, what files to create or modify, how routing works, or how to configure store settings like SEO, API…

vtex/skills · 70 tokens

faststore-faststore-storefront-ref-graphql-types-queries-and-mutations

Complete FastStore GraphQL BFF API reference including all built-in root queries, root mutations, and type definitions. Use when querying product, collection, search, cart, session, shipping, or user order data, when extending existing types with new fields, or when looking up available fields on types like…

vtex/skills · 78 tokens

medusa

Medusa rules and best practices. These rules should be used when building applications with Medusa.

XD3an/awesome-ai-coding-all-in-one · 449 tokens