laya

laya is a Claude Code mod by anshc022 that runs the Laya decision model on your machine: checks each prompt, hints Claude at the right folder and task type, gives Claude a fast laya decide tool, and shows every decision in a band.

Updated 2026-09-28

What is laya?

laya is a Claude Code mod by anshc022 that runs the Laya decision model on your machine: checks each prompt, hints Claude at the right folder and task type, gives Claude a fast laya decide tool, and shows every decision in a band. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authoranshc022
Repositoryanshc022/laya-claude-code
Popularityno public popularity data yet
CategoryInterface
SecurityHigh risk (48/100)
Rank#2,622 of 5,272 Claude Code mods; #1,091 in Interface
LicenseApache-2.0
Last commit2026-09-28
Hooks5 events
Seesevery prompt, mcp__laya__decide calls
Draws onAbovePrompt, Pane

Is laya safe to install?

laya scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.http.fetchnetwork requests
$.process.runruns processes
$.process.spawn
$.session.cwd
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install laya?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/anshc022/laya-claude-code
    claude plugin validate ./laya-claude-code/plugins/laya
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add anshc022/laya-claude-code && claude plugin install laya@laya-tools

Or ask Claude to set it up

Paste this into Claude Code and it installs laya for you:

Install the "laya" Claude Code mod from https://github.com/anshc022/laya-claude-code/tree/main/plugins/laya. Run claude plugin validate on it first and show me what it can access before you enable it.