
Description
Leyline is a foundation plugin for Claude Code plugins. It provides shared utilities and services that keep plugin behavior consistent across a larger set of plugins. Leyline handles resource tracking, service integration and pipeline patterns, such as error handling and circuit breakers. Its skills cover a broad set of needs. The service-registry skill manages connections to external services, their quotas and usage logs, which suits enforcing rate limits and capturing cost metrics. The error-patterns skill sets out standard error handling and recovery. The authentication-patterns skill covers common sign-in flows for external APIs. The content-sanitization skill cleans external content before it is loaded, such as issues, pull requests or web fetch results. The damage-control skill handles recovery when an agent crashes, runs out of context, hits a merge conflict or is left in a broken state. The evaluation-framework skill covers decision thresholds, scoring and action utility, and the risk-classification skill provides a four-tier risk model for routing tasks. The git-platform skill abstracts GitHub, GitLab and Bitbucket commands, and the ticket-writing skill helps write tracker tickets. The page notes that Abstract handles evaluation and design, while Leyline supplies the technical parts. It is part of the claude-night-market repository by athola on GitHub.…
Highlights
- Track service quotas, usage and cost metrics
- Standard error patterns and circuit breakers
- Sanitize external content before loading it
- Recover agents from crashes, merge conflicts and broken state
- Abstract GitHub, GitLab and Bitbucket git commands
Ratings & Reviews
No ratings yet
Be the first to rate leyline.
People also visit

sandbox-stable
Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox
leyline FAQ
Who is Leyline for?
It is for developers building Claude Code plugins that need shared infrastructure, such as service connections, error handling and recovery.
Which git hosts does it cover?
The git-platform skill abstracts GitHub, GitLab and Bitbucket commands.
What is damage control?
It is the skill for recovering an agent after a crash, context overflow, merge conflict or broken state.
Where is the source?
It is in the claude-night-market repository by athola on GitHub, under plugins/leyline.
What are the best leyline alternatives?
Popular alternatives to leyline include clerk, api-rate-limiting and qwencloud-ops-auth. See all leyline alternatives













