weft-ai-language — Claude Code skill: what it does, how to install
Teaches coding assistants to write Weft workflows, connect typed LLM nodes, and manage human checkpoints with Restate.
npx skills add reason-machines/trending-skills --skill weft-ai-language -a claude-codeWhat weft-ai-language does
This skill equips your coding agent to build programs in Weft. Written in Rust, Weft treats language models, human input, APIs, and databases as native nodes. The compiler verifies every typed port connection before execution starts.
Workflows run on top of Restate for durable checkpoints. Crashes or multi-day pauses inside HumanQuery steps will not wipe running state. The local environment includes a SvelteKit dashboard accessible at http://localhost:5173 alongside the backend services.
Running the stack requires Docker for PostgreSQL, plus Bash 4 or newer on macOS. Environment tokens like OPENROUTER_API_KEY live in .env. They are not checked on boot, so missing tokens only break execution once that specific node runs.
What it helps with
- write typed Weft workflow pipelines with LLM nodes
- configure human-in-the-loop approvals that survive system restarts
- set up the Weft local backend and SvelteKit interface via
dev.sh - route outputs conditionally using
Gatenodes
Example prompts for the agent
- Help me build a Weft pipeline that requires human sign-off before posting to Discord.
- Show me how to connect an LlmConfig node to LlmInference in Weft.
- Configure the .env variables and run the Weft local dev environment.
How to install weft-ai-language
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill weft-ai-language -a claude-code2Manually: put the files in place
~/.claude/skills/weft-ai-language/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/weft-ai-language/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill weft-ai-language -a codex2Manually: put the files in place
.agents/skills/weft-ai-language/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill weft-ai-language -a cursor2Manually: put the files in place
.cursor/skills/weft-ai-language/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills weft-ai-language2Manually: put the files in place
.github/skills/weft-ai-language/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill weft-ai-language -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/weft-ai-languageManually: put the files in place
.devin/skills/weft-ai-language/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill weft-ai-language -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about weft-ai-language
How to install weft-ai-language in Claude Code?
Run npx skills add reason-machines/trending-skills --skill weft-ai-language -a claude-code in your terminal.
What is the purpose of weft-ai-language?
It teaches AI agents the syntax of the Weft language, its node library, and local setup scripts.
What dependencies are needed before running Weft?
You need Docker and Node.js installed. On macOS, you also need Bash 4 or newer via brew install bash.