Back to list
Mearman

gravatar-check

by Mearman

Plugin marketplace distributing extensions that add skills, commands, hooks and custom agents to the code environment.

2🍴 0📅 Jan 23, 2026

SKILL.md


name: gravatar-check description: Check if a Gravatar exists for an email address. Use when the user wants to verify if someone has a Gravatar, check avatar availability, or validate email addresses against Gravatar's database.

Check Gravatar Availability

Check if a Gravatar avatar exists for an email address.

Script Execution (Preferred)

npx tsx scripts/check.ts <email> [options]

Options:

  • --no-cache - Bypass cache and fetch fresh data

Run from the gravatar plugin directory: ~/.claude/plugins/cache/gravatar/

How It Works

Uses a HEAD request with d=404 parameter to check if a Gravatar exists:

  • If Gravatar exists: Returns 200 OK
  • If no Gravatar: Returns 404 Not Found

Results are cached for 24 hours to avoid redundant API calls.

Usage

npx tsx scripts/check.ts <email> [options]

Arguments

ArgumentRequiredDescription
emailYesEmail address to check for Gravatar

Options

OptionDescription
--no-cacheBypass cache and fetch fresh data from Gravatar

Output

When Gravatar exists:

Checking: user@example.com

✓ Gravatar exists
  Hash: b48bf4373d7b7374351c0544f36f7fc3
  URL: https://www.gravatar.com/avatar/b48bf4373d7b7374351c0544f36f7fc3
  Profile: https://www.gravatar.com/b48bf4373d7b7374351c0544f36f7fc3

When no Gravatar found:

Checking: nonexistent@example.com

✗ No Gravatar found
  Hash: abc123def456789...
  This email does not have a Gravatar image.
  A default image will be shown.

Examples

Check if developer has Gravatar:

npx tsx scripts/check.ts beau@dentedreality.com.au

Bypass cache for fresh check:

npx tsx scripts/check.ts user@example.com --no-cache

Use Cases

Validate Email Addresses

Check if an email is associated with a Gravatar profile:

npx tsx scripts/check.ts contact@company.com

Bulk User Verification

Check multiple team members:

for email in dev1@company.com dev2@company.com; do
  npx tsx scripts/check.ts "$email"
done

Conditional Avatar Display

Verify Gravatar exists before displaying avatar in UI:

npx tsx scripts/check.ts user@example.com && echo "Show Gravatar" || echo "Show default"

Caching

Results are cached for 24 hours. Since Gravatars change infrequently, caching improves performance while maintaining accuracy.

Use --no-cache when you need real-time verification.

Exit Codes

  • 0 - Success (Gravatar exists or check completed)
  • 1 - Error (invalid usage or network error)

Note: A "No Gravatar found" result is still exit code 0 - it's a successful check that returned no avatar.

  • Use gravatar-url skill to generate Gravatar URLs
  • Use gravatar-download skill to download Gravatar images
  • Combine with GitHub/npm user lookups to check developer avatars

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon