purelymail-mcp-server: Command for Claude Code

.claude/commands/check-license.md

check-license is a command for Claude Code from gui-wf/purelymail-mcp-server. It costs 12 tokens per session (564 once invoked), scanned A, original, MIT.

A command workflow for checking whether an npm package's software licence fits a project's non-commercial licence. npm is the package system commonly used for JavaScript projects.

In plain words
What is it for?
Use it before updating a dependency to inspect its licence, approve compatible licences, reject listed copyleft licences, or document alternatives and exceptions.
Why use it?
It prevents incompatible packages from being installed and records licence decisions for future updates. Packages needing interpretation are sent for manual review.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

This is gui-wf/purelymail-mcp-server's own configuration. It tells Claude Code how to work on purelymail-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything purelymail-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gui-wf/purelymail-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gui-wf/purelymail-mcp-server/master/.claude/commands/check-license.md
Clone the repo
git clone --depth 1 https://github.com/gui-wf/purelymail-mcp-server

Made for: Claude Code.

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 check-license

README.md
[![agentmods](https://agentmods.dev/badge/commands/gui-wf/purelymail-mcp-server/check-license/github.svg)](https://agentmods.dev/commands/gui-wf/purelymail-mcp-server/check-license)
Your own site
<a href="https://agentmods.dev/commands/gui-wf/purelymail-mcp-server/check-license"><img src="https://agentmods.dev/badge/commands/gui-wf/purelymail-mcp-server/check-license/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-license

Your own site · 80×15
<a href="https://agentmods.dev/commands/gui-wf/purelymail-mcp-server/check-license"><img src="https://agentmods.dev/badge/commands/gui-wf/purelymail-mcp-server/check-license.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 564 The whole file, excluding the scripts and references it only reads on demand.
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.00012 $0.00564
Opus 5 $0.00006 $0.00282
Sonnet 5 $0.00002 $0.00113
Haiku 4.5 $0.00001 $0.00056

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

Security

Grade A, and why

check-license 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 10d 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.

.claude/commands/check-license.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Check the license compatibility for package $1 ${2:+version $2}.

License Checking Workflow

First, run the license check command:

npm view $1${2:+@$2} license

Then analyze the result using this decision tree:

✅ COMPATIBLE LICENSES

If the license is one of: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD

Action: Proceed with the update

  1. Use /update-license-docs command to update docs/package-licenses.md
  2. If this is a license change from the previous version, note it in the "Notes" column
  3. Continue with package installation/update
  4. Confirm compatibility has been verified

🚨 INCOMPATIBLE LICENSES

If the license is one of: GPL, GPL-2.0, GPL-3.0, AGPL, AGPL-3.0, LGPL, LGPL-2.1, LGPL-3.0

Action: Cannot use this package version

  1. Recommend: Keep the current version (check current version in package.json)
  2. Alternative: Search for alternatives with: npm search <package-functionality-keywords>
  3. Last resort: Consider if our project license should be changed to accommodate this dependency
  4. Document the incompatibility issue for future reference

⚠️ REQUIRES MANUAL REVIEW

If the license contains: "NonCommercial", "NC", "Commercial", proprietary terms

Action: Manual review needed

  1. Check if the license restrictions overlap with our non-commercial license (potentially redundant)
  2. Verify if the license allows our intended use case (internal productivity, open source contributions)
  3. Flag for decision: proceed, find alternatives, or contact package maintainer

❓ UNKNOWN/UNDEFINED LICENSE

If npm returns: undefined, empty, or unrecognized license

Action: Investigation required

  1. Check the package's GitHub repository for LICENSE file
  2. Look in package.json for license field
  3. Check README.md for license information
  4. If still unclear, consider this package high-risk and find alternatives

Output Format

Always provide a clear summary:

  • License found: [license name]
  • Compatibility: ✅ Compatible / 🚨 Incompatible / ⚠️ Needs Review / ❓ Unknown
  • Recommended action: [specific next steps]
  • Alternative packages: [if applicable]

Read the full file on GitHub · 60 lines

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. 10d ago First seen · 60 lines · 0 tokens per session scan A a34c86aa06f1

Subscribe to this mod's changes

check-license is a command published in the GitHub repository gui-wf/purelymail-mcp-server (8 stars, last pushed 8mo ago), licensed MIT. It adds 12 tokens to every session and 564 once invoked, about $0.0001 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.