Overview
The Corelayer CLI ships with a built-in Corelayer skill. Once installed, supported AI agents can automatically use the Corelayer CLI whenever you mention production issues, errors, monitoring, or triage without needing to re-read--help or be told how the CLI works.
This is useful for:
- Developers who use AI coding agents as their daily assistant
- Background agents that monitor or triage production issues on a schedule
- Anyone who wants an agent to reach for
corelayercommands instead of raw HTTP requests
Install the Skill
Verify Installation
After installing, start a new agent session. The skill should appear anywhere your agent exposes installed skills or command packs. If your agent supports manual invocation, use that tool’s native mechanism to load the Corelayer skill.What the Skill Teaches the Agent
The skill gives the agent complete knowledge of the Corelayer CLI:- All commands and their flags (
issues list,issues get,issues close,groups list, etc.) - Global flags (
--json,--quiet,--api-url,--no-color) - Common workflows (checking production health, triaging issues, scripting with JSON output)
- Background agent best practices (
--jsonfor structured output,--quietto suppress interactive messages,default-groupto avoid repeating group IDs)
Auto-Trigger
On agents that support automatic skill loading, the skill can activate when you mention:- Production issues, errors, or monitoring
- Incidents or root cause analysis
- Issue triage
- “Check prod”, “what’s broken”, “any errors”
- Corelayer by name
Background Agent Setup
Background agents benefit the most from the skill because they cannot interactively read--help. To set up a background agent:
- Install the CLI and authenticate:
- Set a default group so the agent does not need to pass
--groupon every call:
- Install the skill:
--json for structured output and know the full command surface without additional prompting.
Uninstall the Skill
How It Works
The skill is a Markdown file (SKILL.md) containing:
- Frontmatter with trigger keywords that tell the agent when to load the skill
- Instructions with the full CLI command reference, flags, and workflows
install-skill command copies this file from the CLI package into the local skill location used by supported agent runtimes. The underlying guidance is agent-agnostic even when a given installer targets a specific runtime’s skill directory.