create-template

create-template is a skill for Claude Code, Codex from mathematic-inc/earl. It costs 45 tokens per session (2,568 once invoked), scanned A, original, Apache-2.0.

A guide for creating Earl HCL templates, which describe how Earl calls a particular API, database, or shell command. It covers provider commands, parameters, authentication, and protocol details.

In plain words
What is it for?
Building and validating a new Earl template, checking for an existing provider template, preparing a secrets checklist, and testing the resulting command.
Why use it?
It gives a defined process for adding a service when Earl's existing templates do not cover the needed operation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building and validating a new Earl template, checking for an existing provider template, preparing a secrets checklist, and testing the resulting command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mathematic-inc/earl/create-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.

Any agent
npx skills add mathematic-inc/earl --skill create-template
Clone the repo
git clone --depth 1 https://github.com/mathematic-inc/earl

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mathematic-inc/earl/create-template/github.svg)](https://agentmods.dev/skills/mathematic-inc/earl/create-template)
Your own site
<a href="https://agentmods.dev/skills/mathematic-inc/earl/create-template"><img src="https://agentmods.dev/badge/skills/mathematic-inc/earl/create-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 create-template

Your own site · 80×15
<a href="https://agentmods.dev/skills/mathematic-inc/earl/create-template"><img src="https://agentmods.dev/badge/skills/mathematic-inc/earl/create-template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,568 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 234
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Prompt Injection · line 68
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Rogue Agent · line 108
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00045 $0.02568
Opus 5.5 $0.00018 $0.01027
Sonnet 5.5 $0.00009 $0.00514
Haiku 4.5 $0.00005 $0.00257

Measured 2mo ago against content hash 8017aa8d9912, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-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 2mo 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.

skills/development/create-template/SKILL.md · 274 lines

How it starts

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

Create Template

Creates an Earl HCL template file for a specific service and protocol. Each template defines the commands, parameters, authentication, and protocol shape for one provider.

Process

  1. Discover — understand what service and command to build
  2. Infer protocol — map the user's description to one of Earl's 5 protocols
  3. Load reference — read the protocol reference for HCL shapes and patterns
  4. Write template — create the HCL file
  5. Review — show the user the complete template before running it
  6. Validate — run earl templates validate
  7. Secrets — print checklist for the human to set secrets
  8. Verify — run a test earl call

Phase 1: Discover Intent

If the request doesn't name a provider, command, and protocol, ask one question:

"What service do you want to call, and what should the command do? For example: 'Call the GitHub API to create an issue' or 'Query my PostgreSQL database for user records'."

Check for pre-built templates first

Earl ships with 26 ready-made provider templates. If the user names a known service, check whether it is already imported before offering to import it:

earl templates list

Check the list carefully:

  • If the specific command needed is already present (e.g. github.create_issue appears in the list), skip the import and go directly to Phase 7 to set any missing secrets.
  • If the provider is imported but the specific command is not in the list (e.g. github commands appear but not github.create_issue), skip the import and proceed to custom template authoring (phases 2–6) to add the missing command to the existing file.
  • If the provider is not imported at all, offer to import the pre-built template:
# Available: github, stripe, slack, notion, openai, anthropic, recall_ai, discord, gitlab, jira, linear,
#            pagerduty, twilio, sendgrid, cloudflare, vercel, render, shopify, hubspot,
#            mailchimp, datadog, sentry, airtable, auth0, supabase, resend
earl templates import https://raw.githubusercontent.com/mathematic-inc/earl/main/examples/<provider>.hcl

Read the full file on GitHub · 274 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. 2mo ago First seen · 274 lines · 45 tokens per session scan A 8017aa8d9912

Subscribe to this mod's changes

create-template is a skill published in the GitHub repository mathematic-inc/earl (113 stars, last pushed 4d ago), licensed Apache-2.0. It adds 45 tokens to every session and 2,568 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

create-template compared with skills from other repositories

create-template next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-templatemathematic-inc/earlSkill1134d agoApache-2.0A45Claude Code, Codex
api-design-patternsbobmatnyc/claude-mpmSkill1582mo agononeA29Claude Code
api-designasgarovf/locusaiSkill238mo agoMITA37Claude Code
goericrisco/rsc-harnessSkill5554d agoMITA86Claude Code, Codex
mcp2cliknowsuchagency/mcp2cliSkill2.4k5d agoMITB126Claude Code
api-designericrisco/rsc-harnessSkill5554d agoMITA105Claude Code, Codex
lapLap-Platform/LAPSkill34713d agoApache-2.0A89Claude Code