db-insert

db-insert is a skill for Claude Code from leopu00/job-hunter-team. It costs 68 tokens per session (938 once invoked), scanned A, original, MIT.

A command-line helper for creating new records in the JHT SQLite database, which is a file-based database. It supports positions, companies, scores, applications, and highlights.

In plain words
What is it for?
It helps agents save newly found jobs, company analyses, scores, job applications, and position highlights in the correct database tables.
Why use it?
It provides a consistent way to add records and separates creation from updating existing records. Job positions must be checked for duplicate URLs first.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 /app/shared/skills/db_insert.py <table> --<field> <value> [--<field> <value>...].

Good fit It helps agents save newly found jobs, company analyses, scores, job applications, and position highlights in the correct database tables.

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/leopu00/job-hunter-team
agentmods
npx agentmods add skills/leopu00/job-hunter-team/db-insert

Made for: Claude Code.

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-insert

README.md
[![agentmods](https://agentmods.dev/badge/skills/leopu00/job-hunter-team/db-insert.svg)](https://agentmods.dev/skills/leopu00/job-hunter-team/db-insert)
Your own site
<a href="https://agentmods.dev/skills/leopu00/job-hunter-team/db-insert"><img src="https://agentmods.dev/badge/skills/leopu00/job-hunter-team/db-insert.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 938 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.00068 $0.00938
Opus 5 $0.00034 $0.00469
Sonnet 5 $0.00014 $0.00188
Haiku 4.5 $0.00007 $0.00094

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

Security

Grade A, and why

db-insert 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 8d 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-insert/SKILL.md · 90 lines

How it starts

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

db-insert — record creation on the JHT DB

Wrapper at /app/shared/skills/db_insert.py. Creates new records in the JHT SQLite DB. Required fields differ per table.

Pattern

python3 /app/shared/skills/db_insert.py <table> --<field> <value> [--<field> <value>...]

Tables: position, company, score, application, highlight.

Position (Scout)

python3 /app/shared/skills/db_insert.py position \
  --title "Python Developer" --company "Acme Corp" \
  --location "Remote EU" --remote-type full_remote \
  --url "https://acme.com/jobs/42" --source linkedin --found-by scout-1 \
  --jd-text "<full JD text>" --requirements "Python, Flask, PostgreSQL"

--url is required (the script fails without it). The Scout must always pre-check duplicates with db-query check-url first.

Company (Analyst)

python3 /app/shared/skills/db_insert.py company \
  --name "Acme Corp" --hq-country "Italy" --sector "fintech" \
  --verdict GO --analyzed-by analista-1

--verdict accepts GO, CAUTIOUS, NO_GO.

Score (Scorer)

python3 /app/shared/skills/db_insert.py score \
  --position-id 42 --total 85 \
  --stack-match 35 --remote-fit 18 --salary-fit 8 \
  --experience-fit 9 --strategic-fit 15 \
  --scored-by scorer-1

The 5 sub-scores map to DB columns: stack_match · remote_fit · salary_fit · experience_fit · strategic_fit. --total is the canonical 0–100 score the Captain reads.

One score per call — write it immediately. The Scorer writes the score right after evaluating ONE position, then moves to the next. Never evaluate several positions and fire all the score inserts together at the end of the round: they would share the same scored_at second and look rushed. One position → one evaluation → one immediate insert → next (Scorer RULE-08).

Application (Writer)

python3 /app/shared/skills/db_insert.py application \
  --position-id 42 \
  --cv-path "/jht_user/applications/42/cv.md" \
  --cv-pdf-path "/jht_user/applications/42/cv.pdf" \
  --written-by scrittore-1 --written-at now

Read the full file on GitHub · 90 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 90 lines · 68 tokens per session scan A 4fce2ab6f74e

Subscribe to this mod's changes

db-insert is a skill published in the GitHub repository leopu00/job-hunter-team (49 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 938 once invoked, about $0.0003 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.