Skip to main content

hevlayer-layer-cli

Operate hev layer with the layer CLI. Use when the user asks an agent to inspect Layer environments, query docs through layer ask, list or get indexes, pipelines, warehouses, or UDFs, open the operations TUI, delete indexes, install Layer on AWS, or run Function manifests.

소스 정보

저장소
hev/layer
최근 소스 활동
2026년 9월 27일 15:41
감지된 SKILL.md 언어
영어
스타
3
포크
0

hevlayer-layer-cli: operate Layer environments

Guide use of the layer CLI to inspect environments and work with indexes, pipelines, warehouses, UDFs and operations commands.

Uses

Use it for CLI operations; use the separate hevlayer-docs Skill when the task is only to consult documentation.

Limitations

Some supported commands delete indexes or install infrastructure, so the requested operation and target must be explicit.

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
hevlayer-layer-cli
description
Operate hev layer with the layer CLI. Use when the user asks an agent to inspect Layer environments, query docs through layer ask, list or get indexes, pipelines, warehouses, or UDFs, open the operations TUI, delete indexes, install Layer on AWS, or run Function manifests.
# hev layer CLI Use `layer` to operate hevlayer from the terminal. In a Layer checkout, prefer a repo-local binary: go build -o layer ./apps/layer-cli ./layer --help Use `./layer ...` for a repo-local binary and `layer ...` for one on `PATH`. Prefer `-o json` for agent parsing and do not print API keys. For docs questions, start with `layer ask` against the committed digest: layer ask grep "<query>" layer ask cat "<section-id>" layer ask tree layer ask glossary get "<term>" For read-only operational inspection, prefer: layer -o json env ls layer -o json env show [NAME] layer -o json index list layer -o json index get NAME layer -o json pipeline list layer -o json pipeline get ID layer -o json udf list layer -o json udf get UDF_ID `layer install` provisions a full AWS environment from a checkout — VPC, EKS, IAM/IRSA, S3, ECR via Terraform, then the Helm release. `layer install status` and `layer install uninstall` round out the lifecycle. It needs cloud credentials; confirm the account and profile before running it. Only `layer run` needs Kubernetes access by default. It applies a Function CR, registers the UDF spec with the gateway, triggers discovery, and optionally watches until the queue drains. Confirm the target environment, gateway URL, kube context, and Kubernetes namespace before mutating state. Mutating commands include `layer env add`, `layer env use`, `layer env rm`, `layer index delete`, `layer install`, `layer run`, and `layer run --rm`. Resolve configuration in this order: explicit flags, `LAYER_*` or `HEVLAYER_*` environment variables, `--env` or `LAYER_ENV`, the active `~/.hevlayer/config.toml` environment, then the built-in base URL.
GitHub에서 보기