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.
curl -O https://raw.githubusercontent.com/treymorgan/jobsearch-apply-mcp/main/.claude/commands/add-template.mdgit clone --depth 1 https://github.com/treymorgan/jobsearch-apply-mcpWrote 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/treymorgan/jobsearch-apply-mcp/add-template)<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.
<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>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.03296 |
| Opus 5 | $0.00000 | $0.01648 |
| Sonnet 5 | $0.00000 | $0.00659 |
| Haiku 4.5 | $0.00000 | $0.00330 |
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.
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.
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
$ARGUMENTScontains--list: run List Mode below and stop. - If
$ARGUMENTScontains--use <name>: run Switch Mode below, then continue to Step 5: Activate with the resolved template metadata.--use defaultdeactivates any custom template and restores the stock guidance (see Step 5). - If
$ARGUMENTScontains 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>:
- If
<name>isdefault, skip template resolution and continue to Step 5 withdefaultas the activation target. - Use Glob with
templates/**/TEMPLATE.mdand find manifests whose parent folder name exactly matches<name>. - If no manifest matches, stop and say the template is not registered. Suggest
/add-template --listto see available names. - 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.
- Read the matching
TEMPLATE.mdand extract:- Type:
CVorCover 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
- Type:
- 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. - Derive
<type>for Step 5 from the manifest path:templates/cv/<name>/TEMPLATE.md->cvtemplates/cover_letters/<name>/TEMPLATE.md->cover_letters
- 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;--useswitches an already-registered template.
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.
- 10d ago First seen · 202 lines · 0 tokens per session scan A 8e7ed2a3a1b2
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.
Other commands, from other repositories
quick-eval
Quick job evaluation. Paste a JD and get a score plus one-paragraph summary. Faster than a full evaluate. Use when someone says 'quick eval', 'quick score', or 'just give me a number'.
review
Strict pre-PR review of the diff — risk-tiered ensemble (1-4 pr-reviewer passes by size/risk), security gate first on risky diffs, per-finding verifier fan-out, deterministic verdict from parsed schema-1 findings.
implement-feature
Implement a feature end-to-end under the review-workflow (Primary Owner + conditional test stage + docs sync).
review-agent-cli
Agent-facing CLI review with agent-cli-reviewer (Primary Owner).
gate
Run the current apps/landing phase gate via gate-auditor against the dev server.
review-ai
AI provider review with ai-provider-expert (Primary Owner).