AGENT SKILL

earl

Use this skill when the user wants to securely call APIs from AI agents, manage secrets in OS keychain, or set up MCP tools for Claude Code/Cursor.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
earl
description
Use this skill when the user wants to securely call APIs from AI agents, manage secrets in OS keychain, or set up MCP tools for Claude Code/Cursor.

03 SKILL.md 正文

earl Plugin

Secure CLI proxy for AI agents — secrets stay in OS keychain, never in tool arguments.

Commands

Templates

  • earl template import — Import a provider template

Secrets

  • earl secret set — Store a secret in OS keychain

Calling

  • earl call --yes --json — Call a template command

Usage Examples

  • "Import GitHub template and call search_repos"
  • "Store API token securely"
  • "Set up MCP tools for Claude Code"

Installation

curl -fsSL https://raw.githubusercontent.com/mathematic-inc/earl/main/scripts/install.sh | bash

Examples

# Import a template
earl templates import https://raw.githubusercontent.com/mathematic-inc/earl/main/examples/github.hcl

# Store a secret
earl secrets set github.token

# Call a command
earl call --yes --json github.search_repos --query "language:rust stars:>100"

# MCP setup for Claude Code
# Add to MCP config:
# { "mcpServers": { "earl": { "command": "earl", "args": ["mcp", "stdio"] } } }

Key Features

  • HCL-defined operation templates
  • OS keychain secrets storage
  • MCP integration
  • Prompt injection protection
  • Supports HTTP, GraphQL, gRPC, Bash, SQL

04 同仓库更多 Skills