ai-job-search-cn: Command for Claude Code

.claude/commands/add-portal.md

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

A guided generator for creating a job-search skill for a local job board or employment website.

In plain words
What is it for?
Use it to add support for a country-specific job portal, list existing portal skills, scaffold the needed files, and test a search before registering it.
Why use it?
It provides a repeatable structure for investigating an unfamiliar portal, building the skill, and checking it with a live search.

Command for Claude Code

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

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

Reuse

Borrowing it

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

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/cypggs/ai-job-search-cn/add-portal/github.svg)](https://agentmods.dev/commands/cypggs/ai-job-search-cn/add-portal)
Your own site
<a href="https://agentmods.dev/commands/cypggs/ai-job-search-cn/add-portal"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/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/cypggs/ai-job-search-cn/add-portal"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/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 2,663 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.02663
Opus 5 $0.00000 $0.01332
Sonnet 5 $0.00000 $0.00533
Haiku 4.5 $0.00000 $0.00266

Measured 12d ago against content hash e9303087c7b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 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.

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:
.claude/commands/add-portal.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 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 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 · 154 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 · 154 lines · 0 tokens per session scan A e9303087c7b7

Subscribe to this mod's changes

add-portal is a command published in the GitHub repository cypggs/ai-job-search-cn (63 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,663 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.