users

users is a skill for Claude Code, Codex from racecraft-lab/Paddock. It costs 19 tokens per session (1,137 once invoked), scanned A, original, MIT.

A code map for user accounts and authentication, including passwords, sessions, cookies, Google sign-in, security events, and user API routes.

In plain words
What is it for?
Use it when exploring or changing account setup, login, password verification, session cookies, Google authentication, user management, or agent trust scoring.
Why use it?
It helps developers identify where users are authenticated, sessions are managed, and security activity is recorded.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when exploring or changing account setup, login, password verification, session cookies, Google authentication, user management, or agent trust scoring.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/racecraft-lab/paddock/users
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add racecraft-lab/Paddock --skill users
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/Paddock

Made for: Claude Code, Codex.

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 users

README.md
[![agentmods](https://agentmods.dev/badge/skills/racecraft-lab/paddock/users/github.svg)](https://agentmods.dev/skills/racecraft-lab/paddock/users)
Your own site
<a href="https://agentmods.dev/skills/racecraft-lab/paddock/users"><img src="https://agentmods.dev/badge/skills/racecraft-lab/paddock/users/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 users

Your own site · 80×15
<a href="https://agentmods.dev/skills/racecraft-lab/paddock/users"><img src="https://agentmods.dev/badge/skills/racecraft-lab/paddock/users.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,137 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.00019 $0.01137
Opus 5.5 $0.00008 $0.00455
Sonnet 5.5 $0.00004 $0.00227
Haiku 4.5 $0.00002 $0.00114

Measured 1mo ago against content hash 8b0afddeaa4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

users 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 1mo 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.

.agents/skills/generated/users/SKILL.md · 94 lines

How it starts

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

Users

45 symbols | 12 files | Cohesion: 78%

When to Use

  • Working with code in src/
  • Understanding how getMcSessionCookieName, isRequestSecure, parseMcSessionCookieHeader work
  • Modifying users-related functionality

Key Files

File Symbols
src/lib/auth.ts warnProxyAuthMisconfigOnce, safeCompare, getDefaultWorkspaceContext, getWorkspaceIdFromRequest, getTenantIdFromRequest (+15)
src/lib/session-cookie.ts getMcSessionCookieName, isRequestSecure, parseMcSessionCookieHeader, envFlag, getMcSessionCookieOptions
src/lib/security-events.ts normalizeSecurityEventType, calculateAgentTrustScore, logSecurityEvent, updateAgentTrustScore
src/lib/password.ts hashPassword, verifyPasswordWithRehashCheck, verifyPassword
src/app/api/auth/users/route.ts POST, PUT, DELETE
src/app/api/setup/route.ts GET, POST
src/app/api/auth/me/route.ts GET, PATCH
src/app/api/auth/google/route.ts upsertAccessRequest, POST
src/lib/google-auth.ts verifyGoogleIdToken
src/lib/db.ts needsFirstTimeSetup

Entry Points

Start here when exploring this area:

  • getMcSessionCookieName (Function) — src/lib/session-cookie.ts:6
  • isRequestSecure (Function) — src/lib/session-cookie.ts:10
  • parseMcSessionCookieHeader (Function) — src/lib/session-cookie.ts:15
  • getMcSessionCookieOptions (Function) — src/lib/session-cookie.ts:35
  • calculateAgentTrustScore (Function) — src/lib/security-events.ts:62

Key Symbols

Symbol Type File Line
getMcSessionCookieName Function src/lib/session-cookie.ts 6
isRequestSecure Function src/lib/session-cookie.ts 10
parseMcSessionCookieHeader Function src/lib/session-cookie.ts 15
getMcSessionCookieOptions Function src/lib/session-cookie.ts 35
calculateAgentTrustScore Function src/lib/security-events.ts 62
logSecurityEvent Function src/lib/security-events.ts 78
updateAgentTrustScore Function src/lib/security-events.ts 121
hashPassword Function src/lib/password.ts 11
verifyPasswordWithRehashCheck Function src/lib/password.ts 22
verifyPassword Function src/lib/password.ts 42
verifyGoogleIdToken Function src/lib/google-auth.ts 10
needsFirstTimeSetup Function src/lib/db.ts 353
safeCompare Function src/lib/auth.ts 42
getWorkspaceIdFromRequest Function src/lib/auth.ts 172
getTenantIdFromRequest Function src/lib/auth.ts 177
createSession Function src/lib/auth.ts 188
destroyAllUserSessions Function src/lib/auth.ts 274
authenticateUser Function src/lib/auth.ts 285
getUserById Function src/lib/auth.ts 333
createUser Function src/lib/auth.ts 356

Read the full file on GitHub · 94 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. 1mo ago First seen · 94 lines · 19 tokens per session scan A 8b0afddeaa4c

Subscribe to this mod's changes

users is a skill published in the GitHub repository racecraft-lab/Paddock (12 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 1,137 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

mission-control

Interact with Mission Control — AI agent orchestration dashboard. Use when registering agents, managing tasks, syncing skills, or querying agent/task status via MC APIs.

builderz-labs/mission-control · 34 tokens

middlewares

Create and compose tRPC middleware with t.procedure.use(), extend context via opts.next({ ctx }), build reusable middleware with .concat() and .unstablepipe(), define base procedures like publicProcedure and authedProcedure. Access raw input with getRawInput(). Logging, timing, OTEL tracing patterns.

trpc/trpc · 63 tokens

server-side-calls

Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.

trpc/trpc · 61 tokens

service-oriented-architecture

Break a tRPC backend into multiple services with custom routing links that split on the first path segment (op.path.split('.')) to route to different backend service URLs. Define a faux gateway router that merges service routers for the AppRouter type without running them in the same process. Share procedure and…

trpc/trpc · 91 tokens

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

trigger-realtime-and-frontend

Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials…

triggerdotdev/trigger.dev · 148 tokens