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

.claude/commands/apply.md

apply is a command for Claude Code from cypggs/ai-job-search-cn. It costs 0 tokens per session (9,960 once invoked), scanned C, original, MIT.

A workflow that uses one agent to draft a job application and another to review it, based on a job posting supplied as a URL or pasted text.

In plain words
What is it for?
Use it to evaluate a posting, prepare a tailored CV and cover letter, get a content review, and verify the final application documents.
Why use it?
It separates writing from criticism and includes checks for the finished application, including compiling and inspecting PDF files.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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 ../cover_letters && xelatex -interaction=nonstopmode cover_<company>_<role>.tex.

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/apply.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 apply

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/cypggs/ai-job-search-cn/apply"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/apply.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 9,960 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00000 $0.09960
Opus 5.5 $0.00000 $0.03984
Sonnet 5.5 $0.00000 $0.01992
Haiku 4.5 $0.00000 $0.00996

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

Security

Grade C, and why

apply scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Custom template whose compile command redirects to `build/`:** also `rm -rf cv/build cover_letters/build` (`/add-template` Step 4 already says `/apply` must delete it).

Makes network callslowCapability

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

- **If the fetch returns HTTP 403, or the content is a login wall or an unrelated listing page, do not give up and do not draft from the title.** Follow the remaining escalation order in `09-web-research.md`: retry with
.claude/commands/apply.md · 447 lines

How it starts

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

/apply - Drafter-Reviewer Job Application Workflow

You are orchestrating a two-agent job application workflow. The job posting is provided below as $ARGUMENTS (either a URL or pasted text).

Follow these steps exactly in order. Do not skip steps.

Standing rule — write new facts back to the profile. If the user confirms, corrects or supplies a fact that is not already in 01-candidate-profile.md — a metric, a project detail, a skill, a scope correction — update that file in the same turn. Do not leave it living only in the conversation or in a draft.

This is not bookkeeping. A fact that exists only in chat will be treated as unsupported by a later session and stripped from drafts as a fabrication. Anything absent from the sources does not exist as far as future drafting is concerned, and the loss is silent — a real achievement quietly disappears from every subsequent CV.

This rule is the input side of the Step 3 Factual Grounding Audit, not a competitor to it. The audit is deliberately strict: an ungrounded claim is removed, and it cannot tell a fabrication from a real fact the user stated out loud last week. That strictness is correct, and it is exactly why confirmed facts have to reach the sources in the same turn they surface. Write to 01-candidate-profile.md specifically — it is one of the audit's three sources, so a fact recorded there is grounded on the next run. Adding a fact to 01 that CLAUDE.md and the master CV simply do not mention is an absence, not a contradiction, and does not trip the audit's profile-consistency warning; if the new fact corrects something either of those states, fix it there too rather than leaving the two sources disagreeing.

Token-efficiency rules for this workflow:

  • Never re-Read a file whose contents are already in your context from an earlier step. If you read it in Step 1, it is still available in Step 2.
  • When dispatching the reviewer agent, pass draft content inline in the agent prompt rather than asking the agent to Read files you already have in memory.
  • Run the full verification checklist exactly once, at the end (Step 6). The reviewer focuses on content critique, not verification.
  • Step 5 (compile and inspect PDFs) is mandatory and non-skippable — page-break decisions are unpredictable, and source files that look fine often produce broken PDFs (orphaned entry titles, cover letters spilling to page 2, bullet fonts mismatching).

Read the full file on GitHub · 447 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 Changed · +133 lines scan A → C f15f7a534d66
  2. 2mo ago First seen · 314 lines · 0 tokens per session scan A 765f1bfaff34

Subscribe to this mod's changes

apply is a command published in the GitHub repository cypggs/ai-job-search-cn (90 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 9,960 tokens. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.