jobsearch-apply-mcp: Command for Claude Code

.claude/commands/add-template.md

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

A command for adding your own CV or cover-letter template to an AI job-application system. A template is a reusable document design, such as one made with LaTeX or Typst, that can be compiled into a PDF.

In plain words
What is it for?
Use it to register, list, activate, or restore CV and cover-letter templates, including their file type, build command, fonts, style rules, and page limits.
Why use it?
It removes the need to recreate your preferred document format for every application. The command records how the template works, checks that it produces a PDF, and connects it to future applications.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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 →

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/treymorgan/jobsearch-apply-mcp/add-template/github.svg)](https://agentmods.dev/commands/treymorgan/jobsearch-apply-mcp/add-template)
Your own site
<a href="https://agentmods.dev/commands/treymorgan/jobsearch-apply-mcp/add-template"><img src="https://agentmods.dev/badge/commands/treymorgan/jobsearch-apply-mcp/add-template/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-template

Your own site · 80×15
<a href="https://agentmods.dev/commands/treymorgan/jobsearch-apply-mcp/add-template"><img src="https://agentmods.dev/badge/commands/treymorgan/jobsearch-apply-mcp/add-template.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,296 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 95% 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.03296
Opus 5 $0.00000 $0.01648
Sonnet 5 $0.00000 $0.00659
Haiku 4.5 $0.00000 $0.00330

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

Security

Grade A, and why

add-template 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 10d 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.

Origin

This is a copy

95% identical to add-template — 10 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-template.md · 202 lines

How it starts

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

/add-template - Register a Custom CV or Cover Letter Template

You are helping the user register their own CV or cover letter template with the AI Job Search framework — LaTeX, Typst, or any other toolchain that compiles to PDF from the command line. The framework ships with moderncv (banking style) for CVs and a custom cover.cls for cover letters. This command lets the user swap in their own template: store the template files, capture usage instructions (source extension, compile command, fonts, style rules, page limits), verify the template compiles, and wire it into the /apply workflow so every future application uses it.

$ARGUMENTS may contain a subcommand, a file path, or nothing.

Follow these steps in order.


Step 0: Parse Arguments

  • If $ARGUMENTS contains --list: run List Mode below and stop.
  • If $ARGUMENTS contains --use <name>: run Switch Mode below, then continue to Step 5: Activate with the resolved template metadata. --use default deactivates any custom template and restores the stock guidance (see Step 5).
  • If $ARGUMENTS contains a file path or @-mentioned file: treat it as the template source and carry it into Step 1.
  • Otherwise: start the registration flow at Step 1.

List Mode

Use Glob with templates/**/TEMPLATE.md to find registered templates. For each, read the manifest and print a table:

## Registered Templates

| Name | Type | Source | Toolchain | Fonts | Active |
|------|------|--------|-----------|-------|--------|
| <name> | CV / Cover letter | .tex/.typ/... | tectonic/typst/... | <main font> | yes/no |

A template is active if 05-cv-templates.md (CV) or 06-cover-letter-templates.md (cover letter) contains an ACTIVE-TEMPLATE managed block naming it. If no custom templates exist, say so and explain that /add-template registers one. Stop here.

Switch Mode

If $ARGUMENTS contains --use <name>:

  1. If <name> is default, skip template resolution and continue to Step 5 with default as the activation target.
  2. Use Glob with templates/**/TEMPLATE.md and find manifests whose parent folder name exactly matches <name>.
  3. If no manifest matches, stop and say the template is not registered. Suggest /add-template --list to see available names.
  4. If more than one manifest matches, stop and list the matching manifest paths. Ask the user to rename one of the templates; activation must be unambiguous.
  5. Read the matching TEMPLATE.md and extract:
    • Type: CV or Cover letter
    • Source extension: e.g. .tex, .typ
    • Compile command: the full declared command
    • Engine/toolchain: e.g. tectonic, typst (display label)
    • Page limit: <N> page(s)
    • Fonts: the full font summary line
  6. Derive the template folder from the manifest path and verify template<source-extension> exists in the same folder. If it is missing, stop with an error; the template registration is incomplete.
  7. Derive <type> for Step 5 from the manifest path:
    • templates/cv/<name>/TEMPLATE.md -> cv
    • templates/cover_letters/<name>/TEMPLATE.md -> cover_letters
  8. Continue to Step 5 using the resolved <name>, <type>, <source-extension>, <compile-command>, engine/toolchain label, font summary, page limit, template skeleton path, and manifest path. Do not re-run Steps 1-4; --use switches an already-registered template.

Read the full file on GitHub · 202 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. 10d ago First seen · 202 lines · 0 tokens per session scan A 8e7ed2a3a1b2

Subscribe to this mod's changes

add-template is a command published in the GitHub repository treymorgan/jobsearch-apply-mcp (0 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,296 tokens. A static security scan graded it A with 0 findings. It is 95% identical to add-template, differing in 10 lines, and is treated as a copy.