ai-job-search: Command for Claude Code

.claude/commands/add-portal.md

add-portal is a command for Claude Code from MadsLorentzen/ai-job-search. It costs 0 tokens per session (3,269 once invoked), scanned A, original, MIT.

A command for creating a search skill for a local job board. It investigates the job portal, creates the skill's files, and tests a live search before registration.

In plain words
What is it for?
Use it to add job-search support for a portal in your country or language, including researching its structure and trying a real query.
Why use it?
It gives you a guided way to adapt the job-search framework to portals that are not already supported. The generated skill stays in your own project.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

This is MadsLorentzen/ai-job-search's own configuration. It tells Claude Code how to work on ai-job-search 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 ai-job-search configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd .agents/skills/<name>/cli && bun install && cd ../../../...

About the project

AI Job Search is a Claude Code-based framework that runs on a user's machine to organize an AI-assisted job application process. It evaluates job postings, adapts CVs, writes cover letters, and helps prepare for interviews. The catalogue entries define commands, skills, instructions, an agent, and a setting for this workflow.

MadsLorentzen/ai-job-search · 47,502 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to MadsLorentzen/ai-job-search. 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/MadsLorentzen/ai-job-search/master/.claude/commands/add-portal.md
Clone the repo
git clone --depth 1 https://github.com/MadsLorentzen/ai-job-search

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 add-portal

README.md
[![agentmods](https://agentmods.dev/badge/commands/madslorentzen/ai-job-search/add-portal/github.svg)](https://agentmods.dev/commands/madslorentzen/ai-job-search/add-portal)
Your own site
<a href="https://agentmods.dev/commands/madslorentzen/ai-job-search/add-portal"><img src="https://agentmods.dev/badge/commands/madslorentzen/ai-job-search/add-portal/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 add-portal

Your own site · 80×15
<a href="https://agentmods.dev/commands/madslorentzen/ai-job-search/add-portal"><img src="https://agentmods.dev/badge/commands/madslorentzen/ai-job-search/add-portal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,269 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.03269
Opus 5.5 $0.00000 $0.01308
Sonnet 5.5 $0.00000 $0.00654
Haiku 4.5 $0.00000 $0.00327

Measured today against content hash b07952acbf19, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-portal scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

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

Do reconnaissance before writing any code. Use WebFetch (or `curl` via Bash) on the portal:
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/commands/add-portal.md · 161 lines

How it starts

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

/add-portal - Generate a Job-Portal Search Skill for Your Local Market

You are helping the user build a job-portal search skill for a job board in their market. The repo ships worked examples of the pattern (four Danish portals plus the country-agnostic linkedin-search and freehire-search), and the README invites users elsewhere to build equivalents — this command turns that invitation into a guided workflow: investigate the portal, scaffold the skill from the canonical structure, and test-run a live query before registering anything.

The generator is country-agnostic: it works for any portal in any market and language. The skills it produces are typically market-specific and live in the user's fork (per repo policy, country-specific portal skills are not merged upstream — the generator is the upstream feature, its output is yours).

$ARGUMENTS may contain a subcommand, a portal URL, or nothing.

Follow these steps in order.


Step 0: Parse Arguments

  • If $ARGUMENTS contains --list: use Glob with .agents/skills/*/SKILL.md, print a table of installed portal skills (name, market from the description, data source from url-reference.md), and stop.
  • If $ARGUMENTS contains a URL: treat it as the portal URL and carry it into Step 1.
  • Otherwise: start the interview at Step 1.

Step 1: Interview - Portal Basics

Ask the user (skip anything already answered by $ARGUMENTS):

  1. Portal URL - the job board's public site (e.g. https://www.seek.com.au, https://www.stepstone.de).
  2. Skill name - kebab-case, suffixed -search (e.g. seek-search, stepstone-search). Must not collide with an existing folder in .agents/skills/.
  3. Market and language - which country/region the portal covers and what language its postings use. This drives the trigger phrases in SKILL.md (include local-language terms like the Danish skills do: "ledige stillinger", "jobsøgning").
  4. A realistic test query - a job title or skill the user would actually search for, used for the live test in Step 4.

Read the full file on GitHub · 161 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. today Changed b07952acbf19
  2. 1mo ago First seen · 161 lines · 0 tokens per session scan A 7cd254993de0

Subscribe to this mod's changes

add-portal is a command published in the GitHub repository MadsLorentzen/ai-job-search (47,502 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,269 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.