templates

templates is a command for Claude Code from YousefNabil-SOC/claude-apex. It costs 23 tokens per session (804 once invoked), scanned A, original, MIT.

A collection of reusable task instructions for recurring workflows such as deployment or company research.

In plain words
What is it for?
Use it to define and run repeatable sequences involving builds, tests, Git commits, deployments, screenshots, documentation, or research.
Why use it?
It prevents repeated explanations by saving a workflow once and reusing it by name.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to define and run repeatable sequences involving builds, tests, Git commits, deployments, screenshots, documentation, or research.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yousefnabil-soc/claude-apex/templates
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/YousefNabil-SOC/claude-apex

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 templates

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/yousefnabil-soc/claude-apex/templates"><img src="https://agentmods.dev/badge/commands/yousefnabil-soc/claude-apex/templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 804 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.00023 $0.00804
Opus 5 $0.00012 $0.00402
Sonnet 5 $0.00005 $0.00161
Haiku 4.5 $0.00002 $0.00080

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

Security

Grade A, and why

templates 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 8d 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.

commands/templates.md · 84 lines

How it starts

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

/templates

EDIT THIS FILE — the examples below are generic starting points. Add your own templates for recurring workflows.

Purpose

Pre-built task templates for recurring work. Instead of re-explaining a workflow every time, define it once here and invoke with /templates <name> or template: <name>.

Example Templates (replace with your own)

deploy-app

Workflow: standard React/TS/Vite app deployment to Vercel.

Steps:

  1. npm run build — verify zero errors and zero warnings
  2. Run tests: npm test
  3. Stage specific changed files: git add <files>
  4. Commit with conventional-commit message: feat/fix/refactor: <what>
  5. git push origin main
  6. vercel --prod — wait for completion, note deployment URL
  7. vercel alias set <new-deployment-url> <canonical-domain> — NEVER skip
  8. Screenshot canonical URL with Playwright to verify
  9. Update MEMORY.md with deployment timestamp

research-company

Workflow: OSINT on a company for competitive intelligence or due diligence.

Steps:

  1. Use exa-web-search MCP for semantic queries on the company name
  2. Fetch the company website homepage with WebFetch — extract about, products, team
  3. Search LinkedIn, Crunchbase, Pitchbook for funding/team signals (if accessible)
  4. Check news in the last 12 months via exa-web-search
  5. Compile a structured report:
    • Company name, founded, HQ, employee count
    • Products/services, target market
    • Funding/revenue (if public)
    • Recent news, executive changes, risks
    • Competitive positioning
  6. Save to research/YYYY-MM-DD-<company-slug>.md
  7. Cross-reference minimum 3 sources before stating any "fact"

code-review-workflow

Workflow: multi-perspective code review of a PR or branch.

Steps:

  1. Run parallel agents:
    • code-reviewer agent — quality, style, convention adherence
    • security-reviewer agent — auth, input validation, secrets
    • performance-engineer agent — bundle size, render performance
    • tdd-guide agent — test coverage, edge cases
  2. Merge findings into a single structured report
  3. Group by severity: CRITICAL / HIGH / MEDIUM / LOW
  4. For each CRITICAL/HIGH: include file path, line number, suggested fix
  5. Present report to user for review
  6. Fix agreed-upon issues with focused edits (no scope creep)
  7. Re-run affected tests and build to verify

Read the full file on GitHub · 84 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. 8d ago First seen · 84 lines · 23 tokens per session scan A 6e8af363daa8

Subscribe to this mod's changes

templates is a command published in the GitHub repository YousefNabil-SOC/claude-apex (2 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 804 once invoked, about $0.0001 per session on Opus 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-03.