Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Handle login, signup, logout, sessions, protected routes, onboarding gates, roles, permissions, and safe redirects. Use this skill for any task touching authentication or authorization — adding/changing login flows, protecting routes/screens, role-based UI or access control, session handling, or redirect logic after auth events. Treat changes in this area as higher-risk: confirm before changing existing auth behavior.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✗→✓ | ▲ Improved | 33% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 14% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 17% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 29% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 48% | 0% |
Implement or modify authentication and authorization correctly and safely — protecting routes, handling sessions, and applying role/permission logic without introducing security gaps or breaking existing access.
user.role === 'admin', permission arrays, claims, etc.).Do not invent a custom final response format for this skill. Follow the Global Agent Output and Reporting Skill. Only include skill-specific reporting details when necessary for understanding the completed work.
Other measured skills in the registry, with their headline benchmark lift.