Skip to content
SkillModel-led1,205 tokens in use

pinme-email

Guides an agent to write correct TypeScript for sending email from a PinMe Worker through the platform send_email API.

3,763 stars on the repository MIT Licenseglitternetwork/pinme · skills/pinme-email
npx skills add glitternetwork/pinme
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing pinme-email costs

34tokens idle
1,205tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

networkdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure11/25
  • Examples12/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Reaches the network−10

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 69

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Fair
  • Development activity24
  • Maintenance32
  • Community48
  • Maturity40
  • Momentum40

This skill documents the PinMe send_email endpoint and shows the Worker code to call it. A POST with a to address, a subject and an HTML body goes out with the project API key, and the sender is set to the project name at pinme.cloud.

It lists the environment variables PinMe injects into the Worker, the success and error responses for 400, 401 and 500, a verification code example, and a reusable error handler for PinMe API calls.

What You Get

  • A sendEmail function for a Worker that posts to the PinMe send_email endpoint
  • A request and response reference with the three accepted fields
  • A table of 400, 401 and 500 errors and their messages
  • A unified error handler that also covers network failures

Common Use Cases

  • Sending a verification code from a Worker route
  • Mailing a notification when a form is submitted
  • Reusing one error handler for several PinMe platform calls

What Makes It Unique

It is tied to the PinMe platform, so no mail provider account is needed in the project: the Worker uses its injected API key and the sender address comes from the project name. It is the narrow companion of the main pinme skill, which holds a shorter version of the same example.

Under The Hood

The skill supplies code for a Worker that sends an HTTPS request to the PinMe platform API with the project API key from the Worker environment. It does not run commands or scripts. The agent writes or edits Worker TypeScript in your project, and each call sends real email from the project address once deployed.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers