claude-works: Command for Claude Code

.claude/commands/setup.md

setup is a command for Claude Code from andrewaws26/claude-works. It costs 17 tokens per session (1,251 once invoked), scanned A, original, MIT.

An onboarding command for the claude-works job-application system. It installs the package and gathers a candidate's example jobs, resume, personal details, work permissions, preferences, and restrictions.

In plain words
What is it for?
Use it to configure the system for one candidate, create its job-search data directory, and verify that the installation passes linting, type checks, and tests.
Why use it?
It prevents a new setup from continuing with someone else's sample policy or identity. It also checks the installation with code-quality and test commands.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is andrewaws26/claude-works's own configuration. It tells Claude Code how to work on claude-works 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 claude-works configures →

Reuse

Borrowing it

Nothing to install: this file belongs to andrewaws26/claude-works. 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/andrewaws26/claude-works/main/.claude/commands/setup.md
Clone the repo
git clone --depth 1 https://github.com/andrewaws26/claude-works

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/andrewaws26/claude-works/setup/github.svg)](https://agentmods.dev/commands/andrewaws26/claude-works/setup)
Your own site
<a href="https://agentmods.dev/commands/andrewaws26/claude-works/setup"><img src="https://agentmods.dev/badge/commands/andrewaws26/claude-works/setup/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 setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/andrewaws26/claude-works/setup"><img src="https://agentmods.dev/badge/commands/andrewaws26/claude-works/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 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,251 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.00017 $0.01251
Opus 5.5 $0.00007 $0.00500
Sonnet 5.5 $0.00003 $0.00250
Haiku 4.5 $0.00002 $0.00125

Measured 1mo ago against content hash 26bf6107836d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup 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 1mo 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/setup.md · 105 lines

How it starts

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

You are onboarding a new candidate onto this job-application system. When you are done, the system must run for THEM: their policy, their search lanes, their resume claims, their identity. Never leave them running on the repo's default (someone else's) policy. Work autonomously; only stop to ask for the inputs listed below and for confirmations that involve their personal facts.

1. Collect the two inputs

Ask the user for:

  1. Example jobs they want (3-10 job posting URLs, or titles + companies). ATS URLs (Ashby/Greenhouse/Lever) are best; anything works.
  2. Their resume (a file path, pasted text, or a LinkedIn export). Also ask for: name, email, phone, location, LinkedIn/GitHub/website URLs, whether they are authorized to work in the US and need sponsorship, their base compensation floor, any companies they must not apply to (current employer, active interview processes), and any domains they refuse (defense, gambling, whatever they name).

2. Install

pip install -e .        # from this clone; or: pip install claude-works
ruff check . && mypy && pytest   # confirm the install is healthy (all green)
mkdir -p ~/jobsearch-data

3. Derive the personalization (from their examples, not the defaults)

Fetch each example job's JD (fetch_job_description or WebFetch). From the JDs + resume, derive and write:

  • ~/jobsearch-data/policy.json (start from examples/policy.sample.json):
    • core_signals: the stack terms that appear in BOTH their resume and the example JDs (their daily work).
    • edge_signals: rare differentiators from their resume (domain experience, unusual skill pairings) that few candidates share.
    • lane_points: the example jobs' title patterns, strongest first.
    • overlevel_terms / level_ok_signals: from their seniority.
    • hard_gap_skills: required-skill terms they lack (ask them to confirm).
    • excluded_companies / excluded_domains / comp_floor: from step 1.
    • seed_boards: the example jobs' org slugs plus 10-20 similar companies (same space, size, stack) that use Ashby/Greenhouse/Lever.
  • ~/jobsearch-data/SEARCH_ANGLES.md (format per examples/SEARCH_ANGLES.md): 2-4 lanes distilled from the example jobs; mark the strongest (PRIMARY / default lane).
  • ~/jobsearch-data/resumes/_genlib.py: copy examples/resumes/_genlib.py and replace ROLES + every fragment with entries built from THEIR resume. Each fragment must be a claim the user confirms is true; read the list back to them before writing it. Never invent, inflate, or extrapolate a claim. Copy examples/resumes/_render.sh alongside it (it uses Chrome when available).

Read the full file on GitHub · 105 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. 1mo ago First seen · 105 lines · 17 tokens per session scan A 26bf6107836d

Subscribe to this mod's changes

setup is a command published in the GitHub repository andrewaws26/claude-works (0 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,251 once invoked, about $0.0001 per session on Opus 5.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-09-01.