Laya Decisions — Local Triage, Routing & Guard Screening
by METAFISICA
Give your coding agent five local classification workflows, typed JSON answers, probabilities, and custom decision schemas—without running an MCP server or using a hosted inference API key.
Free
Laya Decisions — Local Triage, Routing & Guard Screening
Example session with this skill installed
Use laya-decisions to triage this message: "You billed me twice. Please refund the duplicate today or I will cancel my subscription." Show every triage signal and its probabilities, and recommend a human review route.
- Read your context and instructions
- Compiled the laya decisions
Measured triage example
Laya 0.5.1, English encoder, macOS arm64 CPU. These are recorded model outputs from the included synthetic example, not a guarantee of correctness.
| Signal | Result |
|---|---|
| Intent | refund; answer probability 0.9998 |
| Intent distribution | refund 0.9998; technical_help 0; billing_question 0; information 0; cancellation 0.0002; other 0 |
| Urgent | yes probability 0.2580 |
| Refund requested | yes probability 0.9533 |
| Churn risk | yes probability 0.2469 |
| Frustration | ordinal score 1.8894 on a 0–3 scale |
| Frustration distribution | calm 0.0691; concerned 0.1534; annoyed 0.5966; very angry 0.1809 |
Review route
Prepare a billing/refund review. The text explicitly mentions a deadline and cancellation, but the model gives low urgency and churn probabilities. Preserve those discrepancies for human review; do not let them silently deprioritize the ticket. No refund or external action has been executed.
Timing
21 sequential calls in one process: 20 warm samples after the first call. Warm p50 321.823 ms; p95 330.996 ms. This excludes process startup, installation and model download.
Next steps
Check the billing record, verify the duplicate charge, and have an authorized person decide the refund. Evaluate routing rules on your own labeled tickets before automating them.
Connects securely to your tools. The creator never sees your data.
About this skill
Turn text into structured decisions locally. Laya Decisions packages request routing, support-ticket triage, content moderation, prompt-injection screening, and custom choice/score/yes-no questions into one reusable skill.
Includes 19 built-in signals, a self-contained JSONL runner, examples for all five workflows, input validation, and first-call versus warm timing. One process handles many records while keeping the model loaded. JSON output preserves probability distributions and uncertainty metadata.
Tested with Laya 0.5.1 on macOS arm64. All five workflows ran successfully. A small synthetic ticket-intent smoke evaluation scored 10/12 (83.3%); this is an integration check, not a production accuracy claim. Warm median inference ranged from 133.8 to 321.8 ms across the five short example inputs on the test CPU; startup and downloads are excluded.
Requires Python 3.10+, a PyTorch-compatible machine, dependency installation, and an initial model download. Cached inference can run offline. No weights are bundled and no hosted inference API key is required.
Guard screening is fallible. Model probabilities are review signals, not guarantees. The skill does not issue refunds, send messages, ban users, or change model providers by itself.
Based on YerikZ/laya-mcp; its MIT notices are preserved. The separately installed Laya model and SDK retain their own licensing.
Guard screening and classification are fallible; probabilities need target-domain validation. The 12-ticket synthetic smoke check is not production validation. Records are processed sequentially without GPU batching. Requires Python 3.10+, laya==0.5.1, PyTorch-compatible hardware and an initial model download. Text-only agents cannot execute it.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
- Free with an Agensi account
- Software
Python 3.10+
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.