Laya Agent Skill — Development skill for Claude Code
Agent skill for typed decisions via any Laya-compatible API — routing, triage, guardrails, moderation, tool pre-screening.
How to install Laya Agent Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HunterXing/laya-agent-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Laya Agent Skill does
Agent skill for typed decisions via any Laya-compatible API — routing, triage, guardrails, moderation, tool pre-screening. Provider-agnostic.
Alternatives in Development
- Dario — A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline 485 ★
- Openseek — OpenSeek - 广度求索: open-source TUI coding agent with multi-provider routing, MCP, LSP, and Plan/Agent/YOLO modes 207 ★
- Opencode X — Open-source Claude Code alternative 97 ★
README
laya-agent-skill
A provider-agnostic, agent-agnostic sidecar for making fast, structured **typed decisions** through any [Laya](https://github.com/NandhaKishorM/laya)-compatible decision API. It works with a local service, a self-hosted gateway adapter, or any OpenAI-compatible deployment.
What it does
Laya-compatible decision backends answer `choice` / `score` / `noul` questions with probabilities instead of generating prose. The skill provides bounded workflows and safe integration paths for coding and tool-using agents:
- request, ticket, email, log and evidence classification;
- model, domain, workflow and skill routing suggestions;
- failure triage and evidence verification;
- change-risk floors and minimum test-scope hints;
- prompt-injection, jailbreak, phishing, spam and toxicity pre-screening;
- tool-call pre-screening before execution, with deterministic policy still in charge.
It explicitly does **not** let a decision model authorize destructive operations. Hard rules and user confirmation always win.
Agent-agnostic by design
The host only needs one of these capabilities:
- local command execution — use
scripts/laya.shorscripts/laya.py; - MCP stdio — register
scripts/laya_mcp.py; - HTTP tool access — call the configured OpenAI-compatible endpoint;
- project rules / skill loading — use the contract in
references/integration.md.
No hostname, token, model name or vendor is hardcoded. The backend is resolved at runtime:
| Variable | Purpose | Default |
|---|---|---|
LAYA_BASE_URL |
OpenAI-compatible API root | required |
LAYA_API_KEY |
Bearer token, if required | — |
LAYA_MODEL |
Default checkpoint or preset | laya-latest |
LAYA_DECISION_PATH |
Native state + questions path |
/decisions |
LAYA_CHAT_PATH |
OpenAI-compatible path | /chat/completions |
LAYA_TIMEOUT_SECONDS |
Request timeout | 15 |
LAYA_NATIVE_DECISIONS |
Prefer native endpoint when true |
false |
Quick star
Related Skills
Laya MCP
A single forward pass answers a set of "typed questions," returning calibrated probabilities alongside a decis
Polywave Go
Provider-agnostic parallel agent coordination for LLMs — Anthropic, OpenAI, Ollama, or any OpenAI-compatible e
Eigen
Opinionated, terminal-first local coding agent for Go/Linux: one daemon, many resumable sessions, multi-provid
Screen Publications
Invoke the publication-screening skill defined in this project's pack at guardrails/skills/publication-screeni
Monsters
Local, provider-agnostic agentic hub: an orchestrator and a squad of little monsters on your machine
Archie
ARCHIE Native Intelligence Engine — an independent, provider-agnostic cognitive engine (15 systems) with its o
Related Agents
Pre Screen
Runs the fund's first-step, deck-only triage and writes the pre-screen for the weekly screening committee. Use
Triage Router
MUST BE USED FIRST for any code review request (PR review, pre-commit review, "review this diff/branch/commit"
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints