Security Secrets
IgorWarzocha/Opencode-Workflows
Review secret detection patterns and scanning workflows. An agent skill from IgorWarzocha/Opencode-Workflows.
Creates a new Earl HCL template for a specific API, database, or shell command.
$ npx skills add mathematic-inc/earl --skill create-template -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mathematic-inc/earl create-template --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mathematic-inc/earl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/development/create-template .claude/skills/create-template && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "create-template" agent skill from https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template into .claude/skills/create-template/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-template", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mathematic-inc/earl/tree/main/skills/development/create-templateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mathematic-inc/earl --skill create-template -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mathematic-inc/earl create-template --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mathematic-inc/earl.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/development/create-template .agents/skills/create-template && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "create-template" agent skill from https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template into .agents/skills/create-template/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-template", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mathematic-inc/earl --skill create-template -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mathematic-inc/earl create-template --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mathematic-inc/earl.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/development/create-template .cursor/skills/create-template && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "create-template" agent skill from https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template into .cursor/skills/create-template/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-template", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mathematic-inc/earl.git --path skills/development/create-template--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mathematic-inc/earl --skill create-template -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mathematic-inc/earl create-template --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mathematic-inc/earl.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/development/create-template .gemini/skills/create-template && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "create-template" agent skill from https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template into .gemini/skills/create-template/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-template", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mathematic-inc/earl create-templateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mathematic-inc/earl --skill create-template -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mathematic-inc/earl.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/development/create-template .github/skills/create-template && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "create-template" agent skill from https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template into .github/skills/create-template/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-template", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mathematic-inc/earl --skill create-template -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mathematic-inc/earl create-template --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mathematic-inc/earl.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/development/create-template .opencode/skills/create-template && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "create-template" agent skill from https://github.com/mathematic-inc/earl/tree/main/skills/development/create-template into .opencode/skills/create-template/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-template", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
create-templateCreates a new Earl HCL template for a specific API, database, or shell command.
Create Template is an agent skill from mathematic-inc/earl. Creates a new Earl HCL template for a specific API, database, or shell command. Use when adding a new service to Earl's template library, or when a pre-built template doesn't cover a needed command.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security. It works with GitHub. The repository describes itself as: Secure CLI proxy for AI agents — HCL-defined operation templates with OS keychain secrets, MCP integration, and prompt injection protection. The licence is Apache-2.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c56a45f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and hcl).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
mathematic-inc.github.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Create Template loads about 2.8k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 1,046 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mathematic-inc/earl at commit c56a45f, republished under its Apache-2.0 licence (© mathematic-inc). 1,046 words, ~2,780 tokens.
.claude/skills/create-template/SKILL.md (or your agent's skills folder).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.
earl templates validateearl callIf 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'."
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 listCheck the list carefully:
github.create_issue appears in
the list), skip the import and go directly to Phase 7 to set any missing secrets.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.# 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>.hclIf a pre-built template was imported, skip to Phase 7: Set Secrets — phases 2–6 are not needed. Then continue to Phase 8 to verify the template works.
Only proceed to custom template authoring (phases 2–6) if no pre-built template covers the needed command.
Map the user's description to a protocol:
| User mentions | Protocol | Reference file |
|---|---|---|
| REST, HTTP, API, endpoint, JSON API, webhook | http | ../references/http-templates.md (raw) |
| GraphQL, query/mutation (in API context) | graphql | ../references/graphql-templates.md (raw) |
| gRPC, protobuf, service mesh | grpc | ../references/grpc-templates.md (raw) |
| shell, bash, CLI, script, command line | bash | ../references/bash-templates.md (raw) |
| SQL, database, postgres, mysql, sqlite | sql | ../references/sql-templates.md (raw) |
If the answer is genuinely ambiguous, ask one follow-up question.
If the user mentions localhost, 127.0.0.1, 0.0.0.0, or any private IP range (10.x, 172.16-31.x,
192.168.x), warn immediately:
Earl blocks requests to private and loopback IP addresses (SSRF protection). This cannot be bypassed. Use a publicly accessible URL, or use the
bashprotocol to call local services.
Read the reference file for the chosen protocol before writing any HCL. The reference file contains the complete template shape, required fields, auth patterns, and known gotchas.
Critical rule for all protocols: HCL parses before Jinja renders. All {{ }} expressions
must be inside valid HCL string values.
# WRONG — invalid HCL:
params = [{{ args.limit }}]
# CORRECT — Jinja expression inside a string, rendered to a number at call time:
params = ["{{ args.limit }}"]Do NOT write the file to disk yet. Compose the template content in memory — it will be written to disk only after Phase 5 human review and approval.
Target path (determine now, write after approval):
./templates/<provider>.hcl~/.config/earl/templates/<provider>.hcl (macOS/Linux) or
%APPDATA%\earl\templates\<provider>.hcl (Windows)Default to local if the current directory is a project (contains .git/, package.json,
Cargo.toml, or similar). Default to global otherwise.
Provider naming: lowercase letters and underscores only. No hyphens, dots, or uppercase.
Examples: github, my_company_api, internal_db.
If the file already exists: Read it first. Add the new command block to the existing
file rather than overwriting it.
Environments (optional): If the user needs staging/production separation, add an
environments block at the provider level. Environment variables are available as vars.*
in all template expressions. See the template schema docs
for full syntax. Only add environments when the user explicitly needs them — most templates
don't.
Template structure:
version = 1
provider = "<provider_name>"
command "<command_name>" {
title = "<Short title, shown in tool listings>"
summary = "<One-line summary>"
description = <<-EOT
<Full description of what this command does.>
Parameters:
- param_name: description
## Guidance for AI agents
Use this command to <explain when to use it>.
Example: `earl call --yes --json <provider>.<command> --param_name value`
EOT
annotations {
mode = "<read|write>"
secrets = ["<provider>.<secret_key>"]
}
param "<param_name>" {
type = "<string|number|boolean>"
description = "<What this parameter controls>"
required = <true|false>
default = "<default_value>" # omit if required = true
}
operation {
protocol = "<http|graphql|grpc|bash|sql>"
# ... protocol-specific fields from the reference file
}
result {
output = "{{ result }}"
}
}Required for every template:
annotations.mode: "read" if the command reads data, "write" if it creates/modifies/deletesannotations.secrets: list all secret keys the template needs (format: "provider.key_name")description must include a ## Guidance for AI agents sectionShow the user the complete template content before writing the file:
"Here is the template I've drafted. Please review it before I write it to disk:
[show full template content]
Does this look correct? Should I write it and run
earl templates validate?"
Do not write the file or proceed until the user explicitly approves. Once written to disk, the template is immediately callable — there is no staging step. Approval here is the only gate before it becomes live.
earl templates validateFix any errors reported and re-validate. Common errors:
| Error | Cause | Fix |
|---|---|---|
HCL parse error / unexpected token | Invalid HCL syntax | Check structure and quotes |
template root must be an object | Missing version/provider fields | Add version = 1 and provider = "..." |
undefined variable in Jinja | {{ args.x }} doesn't match a param name | Check param names match references |
params = [{{ ... }}] syntax error | Bare Jinja in HCL array | Wrap in string: ["{{ ... }}"] |
Check annotations.secrets in the template file for required secret keys. For pre-built
imports, read the imported file at ~/.config/earl/templates/<provider>.hcl (macOS/Linux)
or %APPDATA%\earl\templates\<provider>.hcl (Windows) to find them.
Print a checklist:
Template ready. Set the required secrets in your terminal:
earl secrets set <provider>.<key>
(Repeat for each secret listed above)
Tell me when you're done and I'll verify they're set.On macOS: Warn the user that the first earl secrets set run may show a system dialog asking
to allow Earl keychain access — click "Always Allow" to avoid repeated prompts.
After the user confirms, verify:
earl secrets listCheck that all required keys appear. If any are missing, re-print just the missing ones.
Run a test call with representative parameters:
earl call --yes --json <provider>.<command> --<param> <test_value>Important: If annotations.mode = "write", the test call will create/modify/delete real
data. If the template defines environments (check the environments block for valid names),
use --env <name> to select a non-production environment for the test call. Otherwise, use a
test or sandbox account, a safe test value (e.g. a dedicated test repo), or choose a read-only
command for the initial verification. Warn the user before running write-mode test calls.
If the call fails:
no such command → template not loaded, check earl templates listtroubleshoot-earlcreate-template again for the same providermigrate-to-earlsecure-agenttroubleshoot-earl© mathematic-inc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/development/create-template of mathematic-inc/earl.
Open the folder on GitHubat commit c56a45f
Create Template next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Create Template this skillmathematic-inc/earl | 113 | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Security SecretsIgorWarzocha/Opencode-Workflows | 122 | — | ~1.2k | Automated safety check: Notes | None | |
| Google Dorks Cataloguphiago/recon-skills | 1.3k | — | ~1.1k | Automated safety check: Notes | MIT | |
| Agentic GitHub Actions Auditortrailofbits/skills | 7.4k | 6 repos | ~5.4k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Snapshotboostsecurityio/poutine | 522 | — | ~214 | Automated safety check: Pass | Apache-2.0 | |
| Implementing Sigstore For Software Signingmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~3.2k | Automated safety check: Notes | Apache-2.0 |
IgorWarzocha/Opencode-Workflows
Review secret detection patterns and scanning workflows. An agent skill from IgorWarzocha/Opencode-Workflows.
uphiago/recon-skills
High-precision Google dorks for exposed configs, secrets, and credentials -- real-world validated
trailofbits/skills
Statically audits GitHub Actions workflows that run AI coding agents, tracing attacker-controlled input to agent prompts and flagging unsafe sandbox, trigger and allowlist settings.
boostsecurityio/poutine
Run snapshot regression tests after changes to OPA rules, scanners, analyzers, or formatters to detect output regressions.
mukul975/Anthropic-Cybersecurity-Skills
Implements Sigstore-based software signing and verification using Cosign keyless signing, Rekor transparency log verification, and Fulcio certificate authority integration to establish cryptographic…
elementalsouls/Claude-BugHunter
Hunting skill for auth bypass vulnerabilities. An agent skill from elementalsouls/Claude-BugHunter.
mathematic-inc/earl
Scans a codebase for raw API/CLI calls (curl, gh, stripe-cli, psql, grpcurl, etc.) and replaces them with Earl templates — one provider at a time.
mathematic-inc/earl
A skill your agent uses when you need to call an API, run a database query, or execute a shell command via Earl.
mathematic-inc/earl
Locks down an AI agent by configuring platform-level tool restrictions (deniedTools) and Earl network egress rules.
Works with
Categories
Creates a new Earl HCL template for a specific API, database, or shell command. Create Template is an agent skill from mathematic-inc/earl. Creates a new Earl HCL template for a specific API, database, or shell command.
Create Template fits situations like: adding a new service to Earls template library; A pre-built template doesnt cover a needed command.
Run `npx skills add mathematic-inc/earl --skill create-template -a claude-code`. Or copy the skill folder (skills/development/create-template in mathematic-inc/earl) into .claude/skills/create-template in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mathematic-inc/earl --skill create-template -a codex`. Or copy the skill folder (skills/development/create-template in mathematic-inc/earl) into .agents/skills/create-template in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mathematic-inc/earl --skill create-template -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-template, .gemini/skills/create-template, .github/skills/create-template and .opencode/skills/create-template in your project.
SKILL.md names no scripts, command-line tools or credentials: Create Template is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: mathematic-inc.github.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Create Template is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Create Template: Security Secrets (IgorWarzocha/Opencode-Workflows, 122 stars), Google Dorks Catalog (uphiago/recon-skills, 1.3k stars), Agentic GitHub Actions Auditor (trailofbits/skills, 7.4k stars) and Snapshot (boostsecurityio/poutine, 522 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mathematic-inc (a GitHub organization) maintains it in mathematic-inc/earl, which has 113 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 6, 2026.
Source: mathematic-inc/earl on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.