agentleFS
elizaOSelizaOS/eliza/.agents/skills/shell/SKILL.md

shell

Skill20k starsChanged 5 days agoMITView on GitHub

Write the code around the generated core: read before writing or changing anything in `src/` or a test, in VibeLang (`.vibe`) or React (`.tsx`), and before importing `gen/<name>.effect.vibe`, building or running the application.

21 other projects use a version of this, 1 of them edited.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about elizaOS/eliza

The biggest 5 of 91 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 91

Talked about on GitHub, YouTube, Bluesky, Hacker News and the web (91 times).

On GitHub · 50

45 more on GitHub

On YouTube · 24

19 more on YouTube

On Bluesky · 12

7 more on Bluesky

On the web · 2

Used with

Projects with it also use update-cli-config, migrate-to-skills and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • PandelisZSkill

    update-cli-config

    View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

    Also in 6 projects that use this

  • 32103210Skill

    migrate-to-skills

    Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.

    Also in 6 projects that use this

  • 32103210Skill

    update-cursor-settings

    Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.

    Also in 6 projects that use this

  • 0mlkrizzz655335vSkill

    review-bugbot

    缺陷导向代码审查。用 Bugbot 子代理找 bug。

    Also in 3 projects that use this

  • 0mlkrizzz655335vSkill

    sdk

    Codex SDK 集成开发。用 TypeScript/Python SDK 做 agent 生命周期、流式输出、本地/云端执行等集成。

    Also in 5 projects that use this

  • Tsumugii24Skill

    split-to-prs

    Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.

    Also in 5 projects that use this

  • +2 more from 32103210
  • +1 more from 0mlkrizzz655335v

The file

Files
SKILL.md

The VibeLang shell

The shell around the generated code is VibeLang: .vibe files, TypeScript syntax over Effect 4, in which a function's type says what it fails with and which services it needs. Every package depends on the vibelang compiler: types runs vibelang --noEmit -p ., which checks .vibe, .ts and .tsx as one program, and gen writes gen/<name>.effect.vibe beside each gen/<name>.ts.

Before writing any, read the skill the compiler ships, node_modules/vibelang/skills/vibelang/SKILL.md. The language is new: look syntax and Effect APIs up, and compile often.

The Effect adapter

gen/<name>.effect.vibe is gen/<name>.ts for effect code. Import it in place of the .ts module: "../gen/index.effect.vibe".

It exportsWhich is
every type of gen/<name>.tsthe same types
its constants and functions, under their own names: initial, step, enabled, parseEvent, your guards, helpers and rulesthe same, declared to throw nothing, so effect code calls them bare: canPay(order, 5). The compiler refuses that call (EK0403) when the function is imported from gen/<name>.ts

and for a state machine, with [, by], NotASender and decodeSender only when the spec has a sender:

It exportsWhich is
error Rejected { event, state[, by] }the rules do not allow this event in this state
error NotAnEvent { input }, NotAState { input }, NotASender { input }an untrusted value that is not one
decodeEvent(input), decodeState(input), decodeSender(input)parseEvent, parseState and parseSender, failing where they return undefined
apply(current, event[, by])step, failing with Rejected where enabled refuses instead of leaving the state unchanged
service Machinethe state and the one way to change it: get(), the state as it is kept now; send(event[, by]), which applies the event to the state as it is kept when it is sent, so a Rejected carries that state; receive(input[, by]) for an untrusted event (decodeEvent, then send); and changes, a Stream of the state the Machine was made with or last led to, then of each one an event sent to it leads to
machine(start = initial)a Layer that provides Machine in memory, applying one event at a time; start may be a state decodeState returned
machineOver(load, keep)an effect that makes a Machine over a state kept elsewhere: each event is applied to what load reads when it is sent, never to a copy, and the state it leads to goes to keep before send returns. It fails as the first load does; where a later load fails or keep dies, send dies and the state stays. A shell that keeps the state elsewhere, such as a file, supplies only how to load and keep it
stored(key, start = initial)a Layer that provides Machine kept as JSON under key in Effect's KeyValueStore (effect/persistence/KeyValueStore): each event is applied to what is stored when it is sent, through decodeState, or to start where nothing is, so a page, tab or program over the same store steps from what another stored and never writes over it; what is stored and is not a state fails the layer with NotAState, or makes a later send die, and is never written over; each new state is stored before send returns, and send dies where the store refuses it

Where transitions return { state, out }, apply, send and receive return that record; get and changes give the state.

A shell, src/app.vibe, and its test, test/app.test.vibe, on the order example's spec. answer needs a Machine, which the caller provides; receive decodes the input and applies it, so the state changes only if both pass; canSubmit is a guard of the spec, called bare. The only comment is the test's spec citation (AGENTS.md, "Writing code"):

import { Machine, NotAnEvent, Rejected, canSubmit } from "../gen/index.effect.vibe"

export effect function answer(input: unknown) {
  const orders = try Machine
  return effect {
    const order = try orders.receive(input)
    return canSubmit(order) ? "ready to submit" : order.status
  } catch (error) => match (error) {
    when NotAnEvent: "not an event";
    when Rejected: `${error.event.type} is not allowed for a ${error.state.status} order`;
  }
}
// spec/index.md, "Story: Check out"
import { assert, it } from "@effect/vitest"
import { machine } from "../gen/index.effect.vibe"
import { answer } from "../src/app.vibe"

it.effect("Check out", effect () => {
  provide machine() {
    const said = [try answer({ type: "addItem", qty: 2 }), try answer({ type: "pay", amount: 1 }), try answer("pay")]
    try Effect.try(() => assert.deepStrictEqual(said, ["ready to submit", "pay is not allowed for a Draft order", "not an event"]))
  }
})
  • machine() forgets when the process ends; stored(key) keeps the state in the KeyValueStore layer the program provides (layerFileSystem(dir) on Node, layerStorage in a browser, layerMemory in a test), shared by every page or program over the same key. A page another has stored past, such as a second tab or the page a step back restores, shows its last state until its next event, which is applied to what is stored; nothing locks the store between a send's read and its write, so two that send at the same instant can still lose one event. Never restate the state as an Effect Schema. A shell that keeps it any other way, on machineOver or on apply and the decoders, needs a driver that check compares with the spec (SPEC.md, "Conformance"): check writes one to fill in when src/ imports apply.
  • Cover every case in a finite match. Match event.type with literal patterns or match the event itself with patterns such as when { type: "pay", let amount }: …. A match without default must cover the whole finite union (EK4701), including variants distinguished by tag.
  • A .vibe file reaches the platform through Effect, not through node:* imports, console, fetch or the DOM: an Effect service (Console, FileSystem, HttpClient, …), a module node { … } body in the file, or a thin .ts file beside it.
  • //@ files stay .ts (prove skill). Effect code calls one through a module body that says what its functions throw.

The React interface

Components are .tsx under src/, built with Vite. A component reads the state and sends events through hooks over the Machine service, so what it shows is the spec's state and what it can do is what enabled allows: a control is offered exactly when its event is. It keeps in useState only what the spec does not own, such as an open menu or a draft in a text box.

In a package that depends on react, gen/<name>.react.ts exports, for each state machine, useMachine(runtime) over a ManagedRuntime that provides Machine. It returns { state, cause, can(event[, by]), send(event[, by]) }: state is undefined until the machine has published one, cause is what stopped it (such as a stored layer that could not read its key), can is enabled in that state, and send resolves with the Exit of Machine.send. Offer a control exactly when can holds; never hand-write a hook over changes.

Style with Tailwind utilities on the project's tokens, compose shadcn/ui components before writing one, and follow the design skill.

The page is served by the package's start script, or dev when that is not the studio, which prints the http://localhost address it serves at: check's explore stage runs it and lets Bombadil drive the page. What must hold in every state the page reaches goes in test/bombadil.ts (SPEC.md, "Exploring the page").

Building, running and testing

CommandDoes
checkpnpm checktypes checks src/, test/ and gen/ with vibelang --noEmit -p .
buildpnpm build (vibelang)checks, and writes JavaScript to dist/, as dist/src/… and dist/gen/…
runpnpm build && node dist/src/main.jsruns the built src/main.vibe
explorepnpm checkthe explore stage serves the page and checks test/bombadil.ts with Bombadil in Chromium
testpnpm test (vitest run)test/**/*.test.vibe, written with @effect/vitest, and the property tests of src/**/*.schema.* and *.contract.*; compiled as they load, no build first (AGENTS.md, "Tests")
Needs
Node26
dependencieseffect, @effect/platform-node, vibelang-runtime
devDependenciesvibelang, vibelang-vite, vite, vitest, @effect/vitest, @types/node

VibeLang's packages move together, and with one version of Effect: pin them exactly, at the versions in the tools' own package.json, which spec init adds. The compiler writes declarations for other tools under .vibe/, even when it only checks: keep it out of Git, like dist/.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.