job-seeker: Skill for Claude Code

.agents/skills/db/SKILL.md

db is a skill for Claude Code, Codex from galiprandi/job-seeker. It costs 25 tokens per session (1,259 once invoked), scanned A, original, MIT.

A command-line tool for safely reading and changing data in a PostgreSQL database, a common system for storing structured application data.

In plain words
What is it for?
It reads records as JSON, performs approved inserts or updates, tests the database connection, and shows tables or schemas.
Why use it?
It provides one controlled way to run database queries, keeps credentials out of commands, and requires explicit permission before writes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is galiprandi/job-seeker's own configuration. It tells Claude Code and Codex how to work on job-seeker itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything job-seeker configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/db.js "SELECT * FROM users WHERE id = 1".

Reuse

Borrowing it

Nothing to install: this file belongs to galiprandi/job-seeker. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/galiprandi/job-seeker/main/.agents/skills/db/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/galiprandi/job-seeker

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 db

README.md
[![agentmods](https://agentmods.dev/badge/skills/galiprandi/job-seeker/db/github.svg)](https://agentmods.dev/skills/galiprandi/job-seeker/db)
Your own site
<a href="https://agentmods.dev/skills/galiprandi/job-seeker/db"><img src="https://agentmods.dev/badge/skills/galiprandi/job-seeker/db/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 db

Your own site · 80×15
<a href="https://agentmods.dev/skills/galiprandi/job-seeker/db"><img src="https://agentmods.dev/badge/skills/galiprandi/job-seeker/db.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.01259
Opus 5 $0.00013 $0.00629
Sonnet 5 $0.00005 $0.00252
Haiku 4.5 $0.00003 $0.00126

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

Security

Grade A, and why

db scanned grade A with 0 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/db/SKILL.md · 121 lines

How it starts

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

db — Postgres CLI for agents

scripts/db.js is the single entry point to the database. Use it instead of psql or inline pg scripts.

Why

  • Reads DATABASE_URL from .env automatically. No manual sourcing, no leaked credentials.
  • Read-only by default. Writes require explicit --write. Prevents accidental destructive SQL.
  • JSON output. Easy to parse, token-efficient.
  • Portable. Works on any machine that cloned the repo and ran onboarding (no psql in PATH required).
  • Never prints the connection string. --ping shows masked user@host/db only.

Commands

# Read (default, JSON array out)
node scripts/db.js "SELECT * FROM users WHERE id = 1"
node scripts/db.js "SELECT data->'profile' AS profile FROM users WHERE id = 1"

# Write (requires --write)
node scripts/db.js "INSERT INTO applications (user_id, platform, company, role, url, status, data) VALUES (1, 'linkedin', 'Acme', 'Eng Manager', 'https://...', 'applied', '{}'::jsonb)" --write
node scripts/db.js "UPDATE users SET data = jsonb_set(data, '{linkedin_profile}', '\"https://...\"') WHERE id = 1" --write

# Introspection
node scripts/db.js --tables
node scripts/db.js --schema applications
node scripts/db.js --ping

Rules

  • Always use this CLI for DB access. Never write inline pg scripts in skills, never call psql directly.
  • Read-only by default. A statement that does not start with SELECT/WITH/SHOW/EXPLAIN/VALUES/DESCRIBE is refused without --write.
  • Output is JSON. SELECTs print [{...}, ...]. Writes print {rowCount, command}.
  • Never echo DATABASE_URL. If you need to confirm connectivity, use --ping (masked).
  • Parametrize when needed by interpolating safely into the SQL string. This CLI has no parameter binding for CLI args; for user-supplied strings, escape single quotes (' -> '').
  • JSONB access: use data->'key' (jsonb) or data->>'key' (text). Use jsonb_set for updates.

Schema reference

Tables live in public. Discover with --tables and --schema <table>. Known tables:

Read the full file on GitHub · 121 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. 10d ago First seen · 121 lines · 25 tokens per session scan A 1fda6251c984

Subscribe to this mod's changes

db is a skill published in the GitHub repository galiprandi/job-seeker (26 stars, last pushed 16d ago), licensed MIT. It adds 25 tokens to every session and 1,259 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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