add-template

add-template is a command for Claude Code from ishandutta2007/Awesome-AI-Job-Hunting. It costs 0 tokens per session (3,289 once invoked), scanned A, a copy of add-template, MIT.

A command for adding and managing a personal CV or cover-letter template that can create PDF files from the command line.

In plain words
What is it for?
Use it to register a template, record its file and compilation instructions, check that it builds, list available templates, or switch the active template.
Why use it?
It lets the job-application workflow use your preferred document design instead of only the included templates.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to register a template, record its file and compilation instructions, check that it builds, list available templates, or switch the active template.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ishandutta2007/awesome-ai-job-hunting/add-template
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ishandutta2007/Awesome-AI-Job-Hunting

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/ishandutta2007/awesome-ai-job-hunting/add-template/github.svg)](https://agentmods.dev/commands/ishandutta2007/awesome-ai-job-hunting/add-template)
Your own site
<a href="https://agentmods.dev/commands/ishandutta2007/awesome-ai-job-hunting/add-template"><img src="https://agentmods.dev/badge/commands/ishandutta2007/awesome-ai-job-hunting/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/ishandutta2007/awesome-ai-job-hunting/add-template"><img src="https://agentmods.dev/badge/commands/ishandutta2007/awesome-ai-job-hunting/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,289 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 100% 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.03289
Opus 5 $0.00000 $0.01644
Sonnet 5 $0.00000 $0.00658
Haiku 4.5 $0.00000 $0.00329

Measured 12d ago against content hash 7df88e3d3c03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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

100% identical to add-template — 0 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/... | lualatex/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. lualatex, 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. 12d ago First seen · 202 lines · 0 tokens per session scan A 7df88e3d3c03

Subscribe to this mod's changes

add-template is a command published in the GitHub repository ishandutta2007/Awesome-AI-Job-Hunting (3 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,289 tokens. A static security scan graded it A with 0 findings. It is 100% identical to add-template, differing in 0 lines, and is treated as a copy.