express-jwt-postgres-api

express-jwt-postgres-api is a skill for Claude Code, Codex from andersonamaral2/Claude-Code-to-Deep-Agents-Skills-Converter. It costs 58 tokens per session (2,094 once invoked), scanned C, original, MIT.

A starter project for a Node.js web API built with Express.js, a framework for handling web requests, using JWT login tokens, PostgreSQL, and Docker Compose for local setup.

In plain words
What is it for?
Use it to create a REST API, where programs exchange data through web URLs, with user authentication and database storage. It is aimed at local development with Node.js, npm, Docker, and Docker Compose.
Why use it?
It provides the basic pieces needed for login, protected URLs, request handling, and a relational database without assembling the project structure from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./db/init.sql:/docker-entrypoint-initdb.d/init.sql.

Good fit Use it to create a REST API, where programs exchange data through web URLs, with user authentication and database storage. It is aimed at local development with Node.js, npm, Docker, and Docker Compose.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/andersonamaral2/Claude-Code-to-Deep-Agents-Skills-Converter
agentmods
npx agentmods add skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for express-jwt-postgres-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3/github.svg)](https://agentmods.dev/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3)
Your own site
<a href="https://agentmods.dev/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3"><img src="https://agentmods.dev/badge/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for express-jwt-postgres-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3"><img src="https://agentmods.dev/badge/skills/andersonamaral2/claude-code-to-deep-agents-skills-converter/deep-agents-output-3.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,094 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.02094
Opus 5 $0.00029 $0.01047
Sonnet 5 $0.00012 $0.00419
Haiku 4.5 $0.00006 $0.00209

Measured 12d ago against content hash acb59f911395, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

express-jwt-postgres-api scanned grade C with 2 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 12d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `execute` | Run npm, docker, curl, and inline tests |
examples/deep-agents-output-3/SKILL.md · 309 lines

How it starts

The opening of the file, as written. The whole thing — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Express.js JWT API with PostgreSQL and Docker

Builds a production-style Express.js REST API with JWT authentication, a PostgreSQL database, layered middleware, and Docker Compose for local development.

Execution Context

This skill runs inside Deep Agents CLI (v0.0.34+). Available tools:

Tool Usage in this skill
write_todos Plan the build steps
execute Run npm, docker, curl, and inline tests
write_file Create source files, SQL, compose, and .env
edit_file Adjust files if a test reveals an issue

Critical execution rules:

  1. Always start by creating the plan via write_todos.
  2. Create files one by one via write_file — never generate everything at once.
  3. Test each module via execute immediately after creating it.
  4. Verify required environment variables before starting the server.

Execution Plan (use with write_todos)

  • 1. Check prerequisites (Node.js 18+, npm, Docker, Docker Compose)
  • 2. Verify environment variables (JWT_SECRET, DATABASE_URL, PORT)
  • 3. Initialize project and install dependencies
  • 4. Create src/db.js (PostgreSQL pool)
  • 5. Create middleware (auth.js, logger.js)
  • 6. Create routes (auth.js, notes.js)
  • 7. Create src/index.js entry point
  • 8. Create db/init.sql and docker-compose.yml
  • 9. Create .env, start the database, run the API
  • 10. Test the full register → login → create-note flow

Prerequisites Check

Use execute to verify the toolchain:

node --version    # requires 18+
npm --version
docker --version
docker compose version

Environment Setup

Verify required environment variables via execute:

for var in JWT_SECRET DATABASE_URL; do
  if [ -z "${!var}" ]; then
    echo "WARNING: $var not set — will fall back to .env defaults"
  fi
done
echo "Environment check done"

Security note: Never hardcode production secrets. The .env below uses placeholders; keep it out of version control via .gitignore.

Read the full file on GitHub · 309 lines

Changes

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.

  1. 12d ago First seen · 309 lines · 58 tokens per session scan C acb59f911395

Subscribe to this mod's changes

express-jwt-postgres-api is a skill published in the GitHub repository andersonamaral2/Claude-Code-to-Deep-Agents-Skills-Converter (57 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 2,094 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

azure-postgres-ts

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL…

microsoft/skills · 94 tokens

butterbase

AI-native, open-source backend-as-a-service with a built-in Model Context Protocol server. Postgres, auth, storage, functions, AI gateway.

butterbase-ai/butterbase · 34 tokens

supabase

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies…

supabase/agent-skills · 185 tokens

supabase-cli

This skill should be used when user asks to "use supabase CLI", "supabase init", "supabase start", "run migrations", "deploy edge functions", "manage Supabase project", or works with the supabase command-line tool for local development and project management.

fcakyon/claude-codex-settings · 60 tokens

supabase-js

This skill should be used when user asks to "use supabase-js", "query Supabase database", "supabase auth", "supabase storage", "supabase realtime", "supabase edge functions", or works with the @supabase/supabase-js JavaScript/TypeScript SDK.

fcakyon/claude-codex-settings · 64 tokens

supabase-node

Express/Hono with Supabase and Drizzle ORM.

alinaqi/maggy · 14 tokens