What problem does it solve?
This Skill automates the migration of raw API/CLI calls within a codebase to more manageable and discoverable Earl templates, streamlining agent interactions with external services.
Core Features & Use Cases
- Automated Discovery: Scans codebases to identify common API/CLI tool usage (curl, gh, stripe-cli, etc.).
- Provider-Based Migration: Migrates one API provider at a time, ensuring reviewability and reversibility.
- Template Management: Imports pre-built Earl templates or guides the creation of custom ones.
- Secret Handling: Manages necessary API secrets securely.
- Use Case: You have a project that heavily relies on
curl commands to interact with the GitHub API. This Skill can automatically find these calls, import the github Earl template, and replace the curl commands with earl call github.some_action commands, making the code cleaner and the API interactions more robust.
Quick Start
Use the migrate-to-earl skill to scan your codebase for raw API calls and convert them to Earl templates, starting with the GitHub provider.