ai-job-search: Command for Claude Code

.claude/commands/expand.md

expand is a command for Claude Code from suraj-davariya/ai-job-search. It costs 26 tokens per session (1,936 once invoked), scanned A, original, MIT.

A profile-enrichment command that finds genuine skills, subject areas, working methods, and behavior signals in a candidate's documents, code, and web information. It adds these findings to the candidate profile without replacing existing content.

In plain words
What is it for?
It is for expanding a candidate profile from source documents, GitHub, and the web, while avoiding duplicate entries and overwrites.
Why use it?
It helps capture relevant competencies that are missing from a profile while preserving what is already there.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

This is suraj-davariya/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 →

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/suraj-davariya/ai-job-search/expand"><img src="https://agentmods.dev/badge/commands/suraj-davariya/ai-job-search/expand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,936 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.
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.00026 $0.01936
Opus 5 $0.00013 $0.00968
Sonnet 5 $0.00005 $0.00387
Haiku 4.5 $0.00003 $0.00194

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

Security

Grade A, and why

expand 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 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.

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.

.claude/commands/expand.md · 177 lines

How it starts

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

/expand — Competency Expansion

Spec: docs/requirements/functional-requirements-onboarding.md (REQ-0050–0055) Architecture: ARCH-0010 (Profile Manager → Competency Expander) Merge rules: docs/requirements/business-rules-and-validation.md (§7.1 additive, §7.3 idempotency)

You are running the CareerForge competency-expansion workflow. Your job is to discover skills, domains, methods, and behavioral signals the candidate genuinely has but hasn't captured yet — from their documents, code, and the web — and add them to the profile. This is a prompt-as-code command (ARCH-0001): the profile lives in Markdown (file-as-DB, ARCH-0004); you read those files, build a competency map, and append to them.

/expand is the Profile Manager's Competency Expander. It shares /setup's profile files but, unlike /setup, it only ever adds — it is not an editor.


Hard Invariants (apply to every step, every write)

  1. Additive-only (REQ-0054). Never modify or remove existing content. /expand only appends. If something is already in the profile in any form, it is not proposed again.
  2. Read-before-write. Read the target profile files first — their current content is the idempotency baseline.
  3. Idempotency via source annotations (REQ-0054, business-rules §7.3). Every addition carries a source annotation, e.g. *(Coursera — Deep Learning Specialisation)*. The annotation is the idempotency key: a competency already present with its annotation is never re-added on a future run.
  4. No fabrication (ARCH-0007). Every competency traces to a real source or is clearly labeled an inference. Never invent a skill, course, certification, or repository. Flag anything you cannot read rather than guessing its content.
  5. No writes without confirmation (REQ-0053). Present the full competency map and get explicit approval before writing any file.
  6. Human-in-the-loop (ARCH-0006). You draft and execute; the user reviews and approves.

Read the full file on GitHub · 177 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 · 177 lines · 26 tokens per session scan A 62e88303a00a

Subscribe to this mod's changes

expand is a command published in the GitHub repository suraj-davariya/ai-job-search (22 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 1,936 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 commands, from other repositories