nextjs-client-cookie-pattern

12

Pattern for client components calling server actions to set cookies in Next.js. Covers the two-file pattern of a client component with user interaction (onClick, form submission) that calls a server action to modify cookies. Use when building features like authentication, preferences, or session management where client-side triggers need to set/modify server-side cookies.

Also in: security javascript

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install mcclowes/vague-playground/nextjs-client-cookie-pattern
skilz install mcclowes/vague-playground/nextjs-client-cookie-pattern --agent opencode
skilz install mcclowes/vague-playground/nextjs-client-cookie-pattern --agent codex
skilz install mcclowes/vague-playground/nextjs-client-cookie-pattern --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/mcclowes/vague-playground
2. Copy the agent skill directory:
cp -r vague-playground/.claude/skills/nextjs-client-cookie-pattern ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Type
Technical
Meta-Domain
development
Primary Domain
github
Market Score
12

Report Security Issue

Found a security vulnerability in this agent skill?