Overview
Agents
Layer ships agent skills as files, in the
hev/layer repository. They are plain
SKILL.md documents with YAML frontmatter — no harness-specific format and
nothing to install beyond putting the directory where your agent looks.
git clone https://github.com/hev/layer.git
| Skill | Use it for |
|---|---|
hevlayer-search-app | Building a search application: schema design, connecting a source, chunking, indexing, querying, generating the UI. |
hevlayer-docs | Answering Layer questions from the docs instead of from memory. |
hevlayer-layer-cli | Driving the layer CLI — environments, indexes, pipelines, install. |
hevlayer-search-app also carries store-capabilities.md, a generated table
of which wire features each backend serves — the answer to “can I do this?”,
so an agent reads coverage instead of guessing and hitting a
422 UnsupportedByStore.
Install the skills
Claude Code picks the skills up from a clone with no setup: .claude/skills/
in the repository links to skills/.
For any other harness that reads a skill directory:
scripts/install-skills.sh
That copies the skills into $AGENT_SKILL_HOME, defaulting to
${CODEX_HOME:-~/.codex}/skills. Point it elsewhere with the variable:
AGENT_SKILL_HOME=~/.config/my-agent/skills scripts/install-skills.sh
If your harness has no skill directory, paste the body of a SKILL.md into
AGENTS.md or the equivalent. The files are written to work either way. The
repository’s own AGENTS.md is the starting point.
Use the docs from your coding agent through the same edition-specific corpus as the site. Search results cite heading anchors in the selected view.
Local docs
From the repository’s site/ directory:
pnpm run ask --edition ce overview
pnpm run ask --edition ce search "write and query rows"
pnpm run ask --edition ce section get "quickstart#2-write-rows"
Use --edition pro to select the full documentation. Local retrieval needs no
API key. It generates the edition projections from the committed digest and
source corpus, preserving untouched full-corpus summaries and glossary.
Hosted docs
Point the ask CLI at https://hevlayer.com/api/ask/ce for Community Edition
or https://hevlayer.com/api/ask/pro for the full docs. For example:
layer ask --endpoint https://hevlayer.com/api/ask/ce tree
Text exports
CE index and CE full text contain only the CE view. The full-product equivalents are full index and full text. Keep the edition in copied citations so readers and agents open the same view.