Agent skill · Audited from source
Clerk Local Dev Loop
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Set up local development workflow with Clerk.
Cite
Cite this page
ModelsAtlas. “Clerk Local Dev Loop (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/clerk-local-dev-loop
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
LOWPrompt injectionprompt.credential_read · references/implementation-guide.md:11
cat > .env.local << 'EOF'
- Why
- asks the agent to read credentials
- Fix
- —
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/clerk-pack/skills/clerk-local-dev-loopThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Set up local development workflow with Clerk.
--- name: clerk-local-dev-loop description: 'Set up local development workflow with Clerk. Use when configuring development environment, testing auth locally, or setting up hot reload with Clerk. Trigger with phrases like "clerk local dev", "clerk development", "test clerk locally", "clerk dev environment". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(pnpm:*), Grep version: 1.15.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - clerk - testing - authentication - workflow compatibility: Designed for Claude Code --- # Clerk Local Dev Loop ## Overview Configure an efficient local development workflow with Clerk authentication, including test users, hot reload, and mock auth for unit tests. ## Prerequisites - Clerk SDK installed (`clerk-install-auth` completed) - Development instance created in Clerk Dashboard - Node.js development environment ## Instructions ### Step 1: Configure Development Instance Create a separate Clerk development instance to isolate test data from production. ```bash # .env.local — use test keys (pk_test_ / sk_test_) NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_... CLERK_SECRET_KEY=sk_test_... # Optional: Enable Clerk debug logging CLERK_DEBUG=true ``` Clerk development instances provide: - No email verification required - Test phone numbers accepted - Relaxed rate limits - OAuth with test credentials ### Step 2: Set Up Test Users ```typescript // scripts/seed-test-users.ts import { createClerkClient } from '@clerk/backend' const clerk = createClerkClient({ secretKey: process.env.CLERK_SECRET_KEY! }) async function seedTestUsers() { const users = [ { emailAddress: ['[email protected]'], password: 'test1234', firstName: 'Admin', lastName: 'User' }, { emailAddress: ['[email protected]'], password: 'test1234', firstName: 'Member', lastName: 'User' }, ] for (const user of users) { try { await clerk.users.createUser(user) console.log(`Created: ${user.emailAddress[0]}`) } catch (err: any) { if (err.status === 422) { console.log(`Already exists: ${user.emailAddress[0]}`) } else { throw err } } } } seedTestUsers() ``` Run with: ```bash npx tsx scripts/seed-test-users.ts ``` ### Step 3: Configure Hot Reload ```typescript // next.config.ts — ensure Clerk works with hot reload const nextConfig = { // Clerk SDK is compatible with Turbopack experimental: { // turbo: {}, // Uncomment if using Turbopack }, // Prevent Clerk SDK from being bundled incorrectly serverExternalPackages: ['@clerk/backend'], } export default nextConfig ``` ```bash # Start dev server with HTTPS (required for some Clerk features) npx next dev --experimental-https ``` ### Step 4: Development Scripts ```json // package.json scripts { "scripts": { "dev": "next dev", "dev:https": "next dev --experimental-https", "dev:seed": "tsx scripts/seed-test-users.ts", "dev:tunnel": "ngrok http 3000", "dev:webhook": "ngrok http 3000 --log stdout" } } ``` ### Step 5: Mock Authentication for Tests ```typescript // test/helpers/clerk-mock.ts import { vi } from 'vitest' export function mockClerkAuth(overrides: { userId?: string; orgId?: string } = {}) { const mockAuth = { userId: overrides.userId || 'user_test_123', orgId: overrides.orgId || null, getToken: vi.fn().mockResolvedValue('mock_token'), has: vi.fn().mockReturnValue(true), } vi.mock('@clerk/nextjs/server', () => ({ auth: vi.fn().mockResolvedValue(mockAuth), currentUser: vi.fn().mockResolvedValue({ id: mockAuth.userId, firstName: 'Test', lastName: 'User', emailAddresses: [{ emailAddress: '[email protected]' }], }), clerkMiddleware: vi.fn(() => (req: any, res: any, next: any) => next()), })) return mockAuth } ``` ```typescript // test/api/data.test.ts import { describe, it, expect, beforeEach } from 'vitest' import { mockClerkAuth } from '../helpers/clerk-mock' describe('GET /api/data', () => { beforeEach(() => { mockClerkAuth({ userId: 'user_test_123' }) }) it('returns data for authenticated user', async () => { const res = await fetch('/api/data') expect(res.status).toBe(200) }) }) ``` ## Output - Development instance with test keys configured - Test users seeded via script - HTTPS dev server running for Clerk compatibility - Vitest mock helpers for auth in unit tests ## Error Handling | Error | Cause | Solution | |-------|-------|----------| | Dev/prod key mismatch | Using `pk_live_` in dev | Switch to `pk_test_` / `sk_test_` keys | | SSL required | Clerk needs HTTPS locally | Run `next dev --experimental-https` | | Cookies not set | Wrong domain config | Check Clerk Dashboard domain settings | | Session not persisting | Browser storage issue | Clear cookies, check localhost domain | ## Examples ### Playwright Auth Fixture for E2E Tests ```typescript // e2e/fixtures/auth.ts import { test as base } from '@playwright/test' export const test = base.extend({ authenticatedPage: async ({ page }, use) => { await page.goto('/sign-in') await page.fill('input[name="identifier"]', '[email protected]') await page.click('button:has-text("Continue")') await page.fill('input[name="password"]', 'test1234') await page.click('button:has-text("Continue")') await page.waitForURL('/dashboard') await use(page) }, }) ``` ## Resources - [Clerk Development Mode](https://clerk.com/docs/deployments/overview) - [Clerk Testing Guide](https://clerk.com/docs/testing/overview) - [Next.js HTTPS Dev](https://nextjs.org/docs/app/api-reference/cli/next#https-for-local-development) ## Next Steps Proceed to `clerk-sdk-patterns` for common SDK usage patterns.
Excerpt, first 5,759 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/clerk-local-dev-loop/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/clerk-local-dev-loop/)
<a href="https://modelsatlas.com/skills/jeremylongshore/clerk-local-dev-loop/"><img src="https://modelsatlas.com/skills/jeremylongshore/clerk-local-dev-loop/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Clerk Local Dev Loop
What does the Clerk Local Dev Loop skill do?
Is Clerk Local Dev Loop safe to install?
What can Clerk Local Dev Loop access on my machine?
Which assistants does Clerk Local Dev Loop work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Clerk Local Dev Loop skill do?
- Is Clerk Local Dev Loop safe to install?
- What can Clerk Local Dev Loop access on my machine?