Laya Fast Router — AI skill for Claude Code
A lightweight decision routing model designed to replace slow, expensive LLMs for simple classification and context selection tasks.
How to install Laya Fast Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pramitsaha123/laya-fast-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Laya Fast Router does
A lightweight decision routing model designed to replace slow, expensive LLMs for simple classification and context selection tasks. Drastically reduce your AI agent's latency and token costs by determining the exact bounded context before invoking heavy models like Claude or GPT.
Alternatives in AI
- AI Dev Tasks — A simple task management system for managing AI dev agents 7.8k ★
- Browserwing — BrowserWing turns your browser actions into MCP commands Or Claude Skill, allowing AI agents to control browse 1.2k ★
- Riteway — Simple, readable, helpful unit tests 1.2k ★
README
Laya Router Demo
A minimal example of using the [Laya](https://huggingface.co/convaiinnovations/laya) decision engine to route a customer-support request.
What it does
The script in `test_laya.py`:
- Creates a support request describing a duplicate charge.
- Defines three questions for the router: a department choice, an urgency score, and a cancellation-risk check.
- Calls
Router.predict()and prints the result.
Requirements
- Python 3.10 or later
- The
layapackage (version 0.3.20 was used for this example)
Install the dependency in your active Python environment:
python -m pip install laya
Run
From this folder, run:
python .\test_laya.py
The prediction is printed to the console. The package may need to download model files the first time it runs, so an internet connection may be required.
Related Skills
Gemini Model Router
Local-first agentic terminal that routes prompts across local Gemma 4 (vLLM), Gemini CLI, and Claude Code — pi
Prompt Forge
Claude Skill for generating production-ready prompts for any AI tool. Multi-tool routing, anti-fabrication rul
Jev Ultrafast MCP
Hand the browser work off: an MCP server where a decision model drives the page for your agent, so a flow cost
Product Mode
The most expensive bug in AI-assisted building is shipping the wrong thing, well. A CLAUDE.md for PM + eng tea
Stonewall
Stonewall is a local sandbox for AI coding agents, drastically limiting access to tools, paths and project fil
Teachable Course Builder Prompt
COPY AND PASTE INTO CLAUDE (claude.ai, Claude Code, or Claude in your IDE). Replace the items in [] with your
Related Agents
Ndv Optimize
Performance optimization specialist. Use when code is slow, queries are expensive, bundle is large, or latency
Context Auditor
Use proactively when the user wants to cut Claude Code token cost or asks "why is this session so expensive /
Flutter Performance Engineer
Use this agent to review Flutter/Dart code for performance problems — unnecessary rebuilds, jank and dropped f