Skip to content
SkillModel-led3,244 tokens in use

pinme-auth

Shows an agent how to add user sign-up, token verification and user lookup to a PinMe Worker through the PinMe auth proxy.

3,763 stars on the repository MIT Licenseglitternetwork/pinme · skills/pinme-auth
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-auth costs

43tokens idle
3,244tokens 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
  • Structure16/25
  • Examples15/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 107

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 four PinMe auth proxy endpoints that a Worker written in TypeScript can call: create a user with email and password, verify an id token, fetch one user, and list users with paging. Each comes with request and error tables and a TypeScript example.

It also covers the frontend side, where Firebase Auth uses the public client config for email or Google sign-in, and a list of common mistakes such as treating a 403 as an expired token. The SKILL.md is written mostly in Chinese with English code.

What You Get

  • TypeScript functions for create_user, verify_token, get user and list_users
  • Error tables with HTTP status and message for each endpoint
  • Firebase Auth frontend code for email and Google login that returns an id token
  • A rule that the project API key stays in the Worker and never reaches the browser
  • A list of common mistakes, such as 403 meaning an unverified email

Common Use Cases

  • Adding email and password registration to a PinMe app
  • Verifying a login token inside a Worker before serving protected data
  • Paging through every user of a project

What Makes It Unique

It is limited to the PinMe auth proxy and spells out its quirks: a valid token with an unverified email returns 403, not 401, and a failed sign-up rolls back so no half-created account remains. It pairs with the main pinme skill for project setup.

Under The Hood

The skill gives the agent code for a Worker that calls the PinMe platform auth API over HTTPS with the project API key and project name. It does not run commands or scripts by itself. The agent writes Worker and frontend code in your project, and the API key must stay in Worker secrets, never in browser code. Sign-up triggers a verification email sent by the platform.

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