jobsearch-apply-mcp: Command for Claude Code

.claude/commands/add-portal.md

add-portal is a command for Claude Code from treymorgan/jobsearch-apply-mcp. It costs 0 tokens per session (3,230 once invoked), scanned A, a copy of add-portal, MIT.

A guided command for turning a job website into a search skill. It investigates the site, creates the skill's files, and tests a live search before setup is complete.

In plain words
What is it for?
Use it to add a local or country-specific job portal to an AI job-search setup. It helps investigate a portal, scaffold its search skill, run a test query, and list installed portal skills.
Why use it?
It removes the need to design the integration and search process from scratch. It also checks that the resulting skill can retrieve real listings before you use it.

Command for Claude Code

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

This is treymorgan/jobsearch-apply-mcp's own configuration. It tells Claude Code how to work on jobsearch-apply-mcp 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 jobsearch-apply-mcp 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 treymorgan/jobsearch-apply-mcp. 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/treymorgan/jobsearch-apply-mcp/main/.claude/commands/add-portal.md
Clone the repo
git clone --depth 1 https://github.com/treymorgan/jobsearch-apply-mcp

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/treymorgan/jobsearch-apply-mcp/add-portal/github.svg)](https://agentmods.dev/commands/treymorgan/jobsearch-apply-mcp/add-portal)
Your own site
<a href="https://agentmods.dev/commands/treymorgan/jobsearch-apply-mcp/add-portal"><img src="https://agentmods.dev/badge/commands/treymorgan/jobsearch-apply-mcp/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/treymorgan/jobsearch-apply-mcp/add-portal"><img src="https://agentmods.dev/badge/commands/treymorgan/jobsearch-apply-mcp/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,230 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 94% copy Near-identical to another mod 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.03230
Opus 5 $0.00000 $0.01615
Sonnet 5 $0.00000 $0.00646
Haiku 4.5 $0.00000 $0.00323

Measured 11d ago against content hash aae49448bd27, 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 11d 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:
Origin

This is a copy

94% identical to add-portal — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.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 US job board. The repo ships a worked example of the pattern (freehire-search) — this command turns that pattern 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. Coverage - which US regions or job categories the portal covers. This drives the trigger phrases in SKILL.md.
  4. A realistic test query - a job title or skill the user would actually search for, used for the live test in Step 4.

Step 2: Investigate the Portal

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

  1. Find the search URL pattern. Load the portal's search page, run a search in the URL bar mentally or via fetch, and identify: the search endpoint, the query parameter, and any parameters for location, posting age, and pagination. Prefer a JSON API if one backs the site (check for /api/ XHR endpoints in the page source); otherwise plan to parse the HTML results page.
  2. Fetch one search-results response for the test query and identify the per-result fields: id, title, company, location, posting date, and URL. For HTML, note the class names / attributes that anchor each field. For JSON, note the field paths.
  3. Find the detail-page pattern - the URL that returns a single posting's full description, and where the description, deadline, employment type, and apply link live in it.
  4. Check access requirements and terms.
    • Fetch robots.txt and check whether the search/detail paths are disallowed.
    • If the portal requires login/authentication to view listings, stop: this pattern only works on public pages. Tell the user and suggest checking whether the portal has an official API.
    • If robots.txt disallows the paths or the portal's terms prohibit automated access, tell the user plainly and let them decide whether to proceed for personal use. If they proceed, the generated SKILL.md must carry a prominent personal-use-only warning (keep volume low, no commercial or bulk use, own responsibility). Prefer a portal with an official API where one exists - it is more reliable than parsing markup, and it avoids the question entirely. A free API key is worth the extra setup step.

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. 11d ago First seen · 161 lines · 0 tokens per session scan A aae49448bd27

Subscribe to this mod's changes

add-portal is a command published in the GitHub repository treymorgan/jobsearch-apply-mcp (0 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,230 tokens. A static security scan graded it A with 1 finding (makes network calls). It is 94% identical to add-portal, differing in 20 lines, and is treated as a copy.