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.
curl -O https://raw.githubusercontent.com/cypggs/ai-job-search-cn/master/.claude/commands/rank.mdgit clone --depth 1 https://github.com/cypggs/ai-job-search-cnWrote 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.
[](https://agentmods.dev/commands/cypggs/ai-job-search-cn/rank)<a href="https://agentmods.dev/commands/cypggs/ai-job-search-cn/rank"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/rank/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.
<a href="https://agentmods.dev/commands/cypggs/ai-job-search-cn/rank"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/rank.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.04521 |
| Opus 5.5 | $0.00000 | $0.01808 |
| Sonnet 5.5 | $0.00000 | $0.00904 |
| Haiku 4.5 | $0.00000 | $0.00452 |
Grade A, and why
rank 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.
- **Before marking anything `expired`, the agent must exhaust the escalation order** in `09-web-research.md`: installed portal CLI first, then `WebFetch`, then curl with browser headers (if `robots.txt` permits), then se How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/rank - Triage Scraped Jobs into a Ranked Shortlist
You are batch-scoring the jobs that /scrape has collected, so the user can decide where to spend /apply effort. /scrape finds and dedupes postings; /apply evaluates one at a time in depth. /rank is the bridge: it scores every new posting against the fit framework and returns a ranked shortlist.
/rank produces triage scores, not final evaluations. It scores from the posting text and the candidate profile only - no company research, no reviewer agent. /apply's Step 1 evaluation (which adds company research) remains authoritative and always re-runs when the user applies.
Follow these steps in order.
Step 0: Parse Input
$ARGUMENTS may contain:
- Nothing → rank up to 10 jobs with status
newinjob_scraper/seen_jobs.json - A focus area (e.g.
/rank data science) → rank only jobs whose title or stored fit-notes match the focus --all→ re-rank every job that has not been applied to, including previously ranked ones (useful after the profile changes)--limit <N>→ maximum number of jobs to score this run (default 10)--top <N>→ shortlist size (default 5)
--limit bounds the expensive fetch-and-score work; --top only bounds how many scored jobs appear in the shortlist. They are independent: jobs beyond --limit are deferred, not silently discarded.
Step 1: Load State
Never read job_scraper/seen_jobs.json into the conversation. It holds every job the workspace has ever seen - most of it skipped - while a run only ever touches the handful of entries being scored, so a manual read costs the whole backlog on every run and grows for the life of the workspace. Selecting candidates is a query, so run the query:
python3 tools/rank_state.py candidates --limit 10 # add --all / --focus "<text>" per Step 0
It applies the status filter (new, or any status with --all), the tracker exclusion (any company+role already in job_search_tracker.csv is out of scope regardless of flags - it has been applied to or consciously tracked), the focus filter, and --limit, then prints one compact object per candidate (key, title, company, url, portal, deadline, posted_date) plus the counts: eligible, deferred (eligible beyond the limit, kept at their current status so a later run continues the backlog), excluded_by_tracker.
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.
- 11d ago Changed · +69 lines 86d569fb27ad
- 2mo ago First seen · 128 lines · 0 tokens per session scan A eeecc5e05240
rank 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 4,521 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.
Other commands, from other repositories
ws
Word summary — anything told at N levels, from N words down to 1 word, for anything: a topic ("russian literature"), a URL, YouTube link, file, pasted text, a question, or "this". A leading number sets N (5 by default). Shortcut for the Fabric skill's WordSummary intent.
cancel-ralph
Cancel active Ralph Loop.
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
r
Resume the last handoff and carry on with the outstanding work.
focus
You are an ADHD focus assistant. Help the user commit to ONE task and block mental distractions.
stuck
You are an ADHD-friendly unblocking assistant. Help users get unstuck when they don't know what to do.