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/add-template.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/add-template)<a href="https://agentmods.dev/commands/cypggs/ai-job-search-cn/add-template"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/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/cypggs/ai-job-search-cn/add-template"><img src="https://agentmods.dev/badge/commands/cypggs/ai-job-search-cn/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.02341 |
| Opus 5 | $0.00000 | $0.01171 |
| Sonnet 5 | $0.00000 | $0.00468 |
| Haiku 4.5 | $0.00000 | $0.00234 |
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.
How it starts
The opening of the file, as written. The whole thing — 173 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 LaTeX template with the AI Job Search framework. 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 (compile engine, 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>: skip to Step 5: Activate with that template name.--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 | Engine | Fonts | Active |
|------|------|--------|-------|--------|
| <name> | CV / Cover letter | lualatex/xelatex/pdflatex | <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.
Step 1: Template Type and Source
Ask the user (skip anything already answered by $ARGUMENTS):
- Type: Is this a CV template or a cover letter template?
- Source: Where is the template? Accept any of:
- A path or @-mention of a
.texfile (plus optional.cls/.styfiles) - Pasted LaTeX content
- A directory containing the template and its assets (class files, fonts, images)
- A path or @-mention of a
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.
- 12d ago First seen · 173 lines · 0 tokens per session scan A f815f35aa46f
add-template is a command published in the GitHub repository cypggs/ai-job-search-cn (63 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,341 tokens. 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-08-30.
Other commands, from other repositories
brand-generate
Generate an on-brand document from a saved Brand Profile.
prose-review-docs
Reviews markdown documentation files or directories against the active prose style rules — the plugin's vendor-neutral baseline plus your organization's overlay when one is configured. Accepts a file path or directory (recursive). Runs prose-style-checker and optionally Vale. Supports --fix to auto-apply safe…
cti-report
Render case deliverables — relationship graph (PNG/SVG/Mermaid) and a polished PDF/DOCX assessment. Usage: /cti-report [--graph|--pdf].
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
render-figures
Compile all .tex and .typ figure files in a directory.
harness-onboarding
Generate a human-readable onboarding document from HARNESS.md, AGENTS.md, and REFLECTIONLOG.md — a friendly guide for new team members.