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.
npx agentmods add skills/hackbyrd/orbital-express/add-auth-user-typenpx skills add Hackbyrd/orbital-express --skill add-auth-user-typegit clone --depth 1 https://github.com/Hackbyrd/orbital-expressWrote 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.
[](https://agentmods.dev/skills/hackbyrd/orbital-express/add-auth-user-type)<a href="https://agentmods.dev/skills/hackbyrd/orbital-express/add-auth-user-type"><img src="https://agentmods.dev/badge/skills/hackbyrd/orbital-express/add-auth-user-type.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00064 | $0.01142 |
| Opus 5 | $0.00032 | $0.00571 |
| Sonnet 5 | $0.00013 | $0.00228 |
| Haiku 4.5 | $0.00006 | $0.00114 |
Grade A, and why
add-auth-user-type 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add an authenticated user type
Each user type is its own table with its own Passport strategies, session table, and auth scheme — never a role column on an existing table. The whole design is in docs/auth-migration.md and README "Authentication". Mirror the existing User/Admin implementation exactly.
Tutorial:
docs/tutorials/add-auth.mdwalks through the full auth setup for theUsertype end-to-end (migration → register → login → refresh → logout → tests). Use it as the reference implementation when adding a new type.
Steps (for a new type <Type>, e.g. Partner)
-
Plan/sign-off: define the user/session schemas, login identifiers, client audiences, auth actions, authorization, errors, and tests. Get sign-off before scaffolding or edits.
-
The user table: use the
create-featureskill andyarn gen <Type>; never hand-create the feature. Addemail/phone(unique),salt,password(sensitive),isActive, andtokenVersionINT NOT NULL DEFAULT 0 plusvalidatePassword,getSensitiveData/getPrivateDatastatics. After placeholder cleanup, reviewyarn repair <Type> --dry-run, then runyarn repair <Type>. Every auth/session feature keeps complete standard structure. -
Session table:
yarn gen <Type>Session, then preview/applyyarn repair <Type>Session --dry-run/yarn repair <Type>Session. Model + migration columns:idUUID, owner FK<type>Id(indexed), self-refreplacedBySessionId,refreshTokenHash(sensitive, unique index),expiresAt,revokedAt,lastUsedAt,userAgent,ipAddress,client(default'web'),platform(default'web'). MirrorUserSession. -
Audience: add to
helpers/constants.jsTOKEN_AUDIENCE:<TYPE>: { WEB: '<type>-web', APP: '<type>-app' }. -
Passport strategies (
services/passport.js): addJWT<Type>Login(local, with the dummy-bcrypt timing fix) andJWTAuth<Type>(JWT:secretOrKey: ACCESS_TOKEN_SECRET,issuer: HOSTNAME,audience: Object.values(TOKEN_AUDIENCE.<TYPE>), plus thetokenVersioncheck).
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.
- 4d ago First seen · 42 lines · 64 tokens per session scan A ef0408495ed3
add-auth-user-type is a skill published in the GitHub repository Hackbyrd/orbital-express (14 stars, last pushed 15d ago), licensed MIT. It adds 64 tokens to every session and 1,142 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…