create-template

Generate Earl HCL templates for custom service integrations.

112|7|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/mathematic-inc/earl --skill create-template-mathematic-inc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-template
Source: https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template
Command: npx skills add https://github.com/mathematic-inc/earl --skill create-template-mathematic-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of new Earl HCL templates, streamlining the process of integrating new APIs, databases, or shell commands into your agent's toolset.

Core Features & Use Cases

  • Template Generation: Creates HCL files for custom API, database, or shell command integrations.
  • Protocol Inference: Automatically determines the correct protocol (HTTP, GraphQL, gRPC, Bash, SQL) based on user input.
  • Use Case: When you need to interact with a new internal microservice via its REST API, this Skill helps you quickly generate the necessary Earl template to make it callable by your agent.

Quick Start

Use the create-template skill to generate an Earl HCL template for calling the GitHub API to create an issue.

Frequently Asked Questions about create-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an HCL template for a custom API integration?

To generate an HCL template for a custom API integration, provide your service details to automatically create Earl templates supporting HTTP, GraphQL, gRPC, Bash, and SQL protocols. The Skill determines the correct protocol based on your input and validates the output against the Earl template schema.

What is the best way to add new commands to an existing provider template?

The best way to add new commands to an existing provider template is to specify the desired commands, which allows the generation process to append them while ensuring adherence to the Earl template schema. This streamlines extending your agent's toolset with new shell commands or database calls.

Can I use this to create templates for both REST APIs and SQL databases?

Yes, you can create templates for both REST APIs and SQL databases because the protocol inference mechanism supports HTTP, GraphQL, gRPC, Bash, and SQL. It automatically determines the correct protocol based on your input to generate the appropriate Earl HCL file.

How does protocol inference work when creating Earl templates?

Protocol inference works by analyzing your provided service details to automatically determine whether HTTP, GraphQL, gRPC, Bash, or SQL is required. It then generates the corresponding Earl HCL template, ensuring the correct protocol structure is applied for your custom integration.

Do I need to manually validate my generated Earl HCL templates?

No, you do not need to manually validate your generated Earl HCL templates because the creation process includes built-in validation steps. It ensures adherence to the Earl template schema automatically, verifying the structure of your custom service integrations before completion.