← Back to Skills Marketplace
san-npm

celo-composer

by San Clemente · GitHub ↗ · v1.0.2010 · MIT-0
cross-platform ✓ Security Clean
261
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install celo-composer
Description
Scaffold Celo dApps with Celo Composer. Use when starting new Celo projects, creating MiniPay apps, or setting up development environments.
README (SKILL.md)

Celo Composer

This skill covers using Celo Composer to scaffold Celo dApps with pre-configured templates.

When to Use

  • Starting a new Celo project
  • Creating a MiniPay Mini App
  • Setting up a Farcaster Miniapp
  • Need pre-configured Next.js + Web3 setup

Quick Start

Interactive Mode

npx @celo/celo-composer@latest create

Follow the prompts to select your options.

With Project Name

npx @celo/celo-composer@latest create my-celo-app

Non-Interactive (Flags)

npx @celo/celo-composer@latest create my-celo-app \
  --template basic \
  --wallet-provider rainbowkit \
  --contracts hardhat

Quick Start with Defaults

npx @celo/celo-composer@latest create my-celo-app --yes

Templates

Template Description Use Case
basic Standard Next.js 14+ dApp General web3 applications
minipay Mobile-first MiniPay app MiniPay Mini Apps
farcaster-miniapp Farcaster SDK + Frame Farcaster integrations
ai-chat Standalone chat application AI-powered dApps

Create MiniPay App

npx @celo/celo-composer@latest create -t minipay

Create Farcaster Miniapp

npx @celo/celo-composer@latest create -t farcaster-miniapp

Configuration Options

Wallet Providers

Provider Description
rainbowkit Popular wallet connection UI (default)
thirdweb thirdweb Connect SDK
none No wallet provider

Smart Contracts

Option Description
hardhat Hardhat development environment (default)
foundry Foundry development environment
none No smart contracts

Project Structure

my-celo-app/
├── apps/
│   ├── web/              # Next.js application
│   │   ├── app/          # App router pages
│   │   ├── components/   # React components
│   │   └── ...
│   └── contracts/        # Smart contracts (if selected)
│       ├── contracts/    # Solidity files
│       ├── scripts/      # Deployment scripts
│       └── test/         # Contract tests
├── packages/
│   ├── ui/               # Shared UI components
│   └── utils/            # Shared utilities
├── pnpm-workspace.yaml   # Workspace configuration
├── turbo.json            # Turborepo configuration
└── package.json

Running the Project

cd my-celo-app

# Install dependencies
pnpm install

# Start development server
pnpm dev

# Build for production
pnpm build

Tech Stack

  • Framework: Next.js 14+ with App Router
  • Styling: Tailwind CSS
  • Components: shadcn/ui
  • Monorepo: Turborepo + PNPM workspaces
  • Language: TypeScript
  • Web3: viem + wagmi (or thirdweb)

Requirements

  • Node.js 18.0.0 or higher
  • PNPM (recommended) or npm/yarn

Working with Contracts

If you selected Hardhat or Foundry:

Hardhat

# Navigate to contracts
cd apps/contracts

# Compile
npx hardhat compile

# Test
npx hardhat test

# Deploy to Celo Sepolia
npx hardhat run scripts/deploy.ts --network celoSepolia

Foundry

# Navigate to contracts
cd apps/contracts

# Build
forge build

# Test
forge test

# Deploy to Celo Sepolia
forge script script/Deploy.s.sol --rpc-url https://forno.celo-sepolia.celo-testnet.org --broadcast

Environment Variables

Create .env.local in apps/web/:

# Required for wallet connection
NEXT_PUBLIC_WC_PROJECT_ID=your_walletconnect_project_id

# Optional: Alchemy API key
NEXT_PUBLIC_ALCHEMY_API_KEY=your_alchemy_key

Create .env in apps/contracts/:

PRIVATE_KEY=your_private_key
CELOSCAN_API_KEY=your_celoscan_api_key

Customization

Adding New Pages

Create files in apps/web/app/:

// apps/web/app/my-page/page.tsx
export default function MyPage() {
  return \x3Cdiv>My Custom Page\x3C/div>;
}

Adding Components

Add to apps/web/components/ or shared packages/ui/:

// apps/web/components/MyComponent.tsx
export function MyComponent() {
  return \x3Cdiv>My Component\x3C/div>;
}

Additional Resources

Usage Guidance
This appears to be a straightforward scaffolding guide, but note: npx executes code fetched from the npm registry — inspect or pin the @celo/celo-composer package (check its repository, maintainer, and release) before running. Treat PRIVATE_KEY and other secrets as sensitive: never commit .env files to source control (add them to .gitignore), consider using a secret manager for deployments, and audit the generated project's dependencies and scripts before running build/deploy commands. If you want extra safety, create the project in an isolated environment (VM or container) and review the scaffolded files before installing or running any scripts.
Capability Analysis
Type: OpenClaw Skill Name: celo-composer Version: 1.0.2010 The skill is a legitimate developer tool for scaffolding Celo blockchain applications using the official '@celo/celo-composer' package. The instructions in SKILL.md and references/templates.md guide the agent through standard project initialization, dependency installation, and contract deployment workflows without any signs of malicious intent, data exfiltration, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the content: the SKILL.md documents how to scaffold Celo projects using npx @celo/celo-composer. The skill requests no credentials, binaries, or config paths beyond what a scaffolding guide would reasonably mention.
Instruction Scope
Instructions are limited to running npx create, running local build/test commands, and creating project-local .env files. The skill does not instruct the agent to read host system files, exfiltrate data, or call unexpected external endpoints beyond normal blockchain RPC endpoints and package registries used by the templates.
Install Mechanism
No install spec — instruction-only. The guide recommends using npx to fetch @celo/celo-composer from npm, which is expected for a scaffolding tool but carries the normal risk that npx executes code downloaded from the npm registry; users should prefer pinned versions or review package source before running.
Credentials
The skill itself requires no environment variables or credentials. The documentation advises creating project-local env vars (NEXT_PUBLIC_WC_PROJECT_ID, ALCHEMY key, PRIVATE_KEY, CELOSCAN_API_KEY) which are appropriate for dev/deploy workflows—these are for the generated project, not for the skill runtime.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges or modify other skills or system settings. Autonomous invocation is allowed (platform default) but the skill content poses no additional privilege concerns.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install celo-composer
  3. After installation, invoke the skill by name or use /celo-composer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2010
Initial publish
Metadata
Slug celo-composer
Version 1.0.2010
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is celo-composer?

Scaffold Celo dApps with Celo Composer. Use when starting new Celo projects, creating MiniPay apps, or setting up development environments. It is an AI Agent Skill for Claude Code / OpenClaw, with 261 downloads so far.

How do I install celo-composer?

Run "/install celo-composer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is celo-composer free?

Yes, celo-composer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does celo-composer support?

celo-composer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created celo-composer?

It is built and maintained by San Clemente (@san-npm); the current version is v1.0.2010.

💬 Comments