Agent skill · software engineering · secondsky

session-management

Implements secure session management with JWT tokens, Redis storage, refresh flows, and proper cookie configuration. Use when building authentication systems, managing user sessions, or implementing secure logout functionality.

Why this skill is useful

Adds executable scripts for secure session management with JWT and Redis that aren't commonly found in public documentation.

What it needs

Requires redis installed locally. About 1k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.

What this skill does

Session Management Implement secure session management with proper token handling and storage. Token-Based Sessions Redis Session Storage Cookie Configuration Token Refresh Flow Security Requirements Use HTTPS exclusively Set httpOnly and sameSite on cookies Implement proper token expiration Use strong, unique secrets per environment Validate signatures on every request Never Do Store sensitive data in tokens Transmit tokens via URL parameters Use weak or shared secrets Skip signature validation

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills secondsky/session-management

View the source on GitHub

Browse the @skills marketplace