Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

auth

Skill by trpc

Implement JWT/cookie authentication and authorization in tRPC using createContext for user extraction, t.middleware with opts.next({ ctx }) for context narrowing to non-null user, protectedProcedure base pattern, client-side Authorization headers via httpBatchLink headers(), WebSocket connectionParams, and SSE auth via cookies or EventSource polyfill custom headers.

  • Score 91
  • 41k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install auth

Built from the published package, never by AI.

git clone --depth 1 https://github.com/trpc/trpc /tmp/trpc && mkdir -p ~/.claude/skills && cp -r /tmp/trpc/packages/server/skills/auth ~/.claude/skills/auth

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install auth in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/server/skills/auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to auth

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

auth: common questions

How do I install auth?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is auth free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is auth safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to auth?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

Add to stack

Loading.