ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

rue-chialisp

Create Chia blockchain puzzles using Rue, a type-safe language that compiles to CLVM. Use for smart contract development, custom puzzle creation, or when user says "create a coin that...", "build a puzzle", "chialisp", "rue", "timelock", "multisig", "escrow", "atomic swap", or describes coin spending conditions.

Why use this skill?

Build type-safe Chia smart contracts with the Rue-Chialisp skill. Automate multisig, timelocks, and atomic swaps on the Chia blockchain.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/koba42corp/rue-chialisp
Or

What This Skill Does

The rue-chialisp skill is a powerful development tool for the Chia blockchain that allows users to write smart contracts using Rue, a type-safe, high-level language designed for the CLVM (Chia Lisp Virtual Machine). Unlike raw Chialisp, which can be verbose and difficult to debug, Rue provides familiar procedural syntax, strong typing, and compiler-level optimizations. This agent skill enables users to define complex spending conditions, timelocks, multisig configurations, and atomic swaps through natural language interactions. The agent automates the process of scaffolding, compiling, and validating your smart contracts into CLVM bytecode, ready for on-chain deployment on the Chia network.

Installation

To integrate this skill into your environment, use the command: clawhub install openclaw/skills/skills/koba42corp/rue-chialisp. Once installed, ensure your development environment is ready by running scripts/rue-check.sh to verify your dependencies. Initialize your workspace with scripts/rue-init.sh my-project to set up the necessary boilerplate for your specific use case.

Use Cases

This skill is indispensable for building secure and scalable DeFi applications on Chia. Common use cases include:

  • Vaults and Timelocks: Restricting coin expenditure until a specific block height is reached.
  • Multi-Party Security: Creating multi-signature wallets requiring M-of-N consensus.
  • Atomic Swaps: Facilitating trustless asset exchanges between two parties.
  • Subscription Services: Automating recurring payments with conditional logic.
  • Escrow Contracts: Holding funds until an arbiter validates a transaction.

Example Prompts

  1. "Create a coin that acts as an escrow for 50 XCH, requiring a signature from my arbiter key and a release date after block 4,000,000."
  2. "Build a 2-of-3 multisig puzzle where any two of my three provided public keys can authorize a transfer."
  3. "Write a timelocked contract that burns 10% of the coin amount if spent before a specific height, otherwise allows full withdrawal to my address."

Tips & Limitations

  • Types and Safety: Always utilize Rue's type-checking to prevent runtime errors in CLVM. Stick to the predefined types like Bytes32 and PublicKey to avoid compilation failures.
  • Debugging: Use brun to simulate execution against specific arguments before deploying on-chain.
  • Limitations: While Rue simplifies development, always perform a security audit on your generated CLVM bytecode before deploying high-value assets. Complex recursive puzzles may hit cost limits; aim for modular, lean code structures.

Metadata

Stars1656
Views3
Updated2026-02-28
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-koba42corp-rue-chialisp": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#chia#blockchain#clvm#smart-contracts#web3
Safety Score: 4/5

Flags: file-write, file-read, code-execution