Docs / Integrations / Using FastMode with OpenClaw
Back to FastMode

Using FastMode with OpenClaw

How It Works

Once the FastMode skill is installed, your OpenClaw agent has full access to the FastMode CLI. You can ask your agent to build websites, manage content, and deploy — it handles the CLI commands automatically.

The skill includes comprehensive documentation that teaches the agent how to use every command correctly, so you can focus on describing what you want rather than how to do it.


Getting Started

After installing the skill, try these prompts to get started:

See Your Projects

"What FastMode projects do I have?"

The agent runs fastmode projects and shows your projects with their URLs and status.

Create a New Site

"Create a new FastMode project called 'My Portfolio'"

The agent creates a hosted site at my-portfolio.fastmode.ai with free SSL.

Build a Website

"Build a blog website for my FastMode project 'My Portfolio'. I want a homepage, about page, blog listing, and individual blog post pages."

The agent will create the schema, write HTML templates with CMS tokens, package everything into a zip, validate it, and deploy.


Example Workflows

Build and Deploy a Website from Scratch

"I need a website for my bakery called Sweet Treats. It should have a homepage with hero section, an about page, a menu page showing our products with photos and prices, and a contact page with a form. Use warm colors and a clean design."

The agent will:

  1. Create the project: fastmode projects create "Sweet Treats"
  2. Set it as default: fastmode use "Sweet Treats"
  3. Define the schema with a products collection (name, description, price, image, category)
  4. Write the HTML templates with for dynamic content
  5. Create the manifest.json
  6. Build the zip package
  7. Validate: fastmode validate package site.zip
  8. Deploy: fastmode deploy site.zip
  9. Check status: fastmode status

Add Content to an Existing Site

"Add 5 blog posts to my 'My Portfolio' project about web development topics."

The agent creates items with proper HTML content for rich text fields:

fastmode items create posts -n "Getting Started with React" -d '{"title": "Getting Started with React", "body": "<h2>Introduction</h2><p>React is...</p>", "category": "Tutorial"}' -p "My Portfolio"

Update Existing Content

"Update the 'about us' page content on my Sweet Treats site. Change the tagline to 'Handcrafted with love since 2020'."

The agent finds and updates the item:

fastmode items update pages about-us -d '{"tagline": "Handcrafted with love since 2020"}' -p "Sweet Treats"

Add a New Collection

"Add a testimonials section to my site with fields for customer name, quote, rating, and company."

The agent writes a schema file and syncs it:

fastmode schema sync -f schema.json -p "Sweet Treats"

Check on a Deployment

"Did my last deploy succeed? What's the current status of my site?"
fastmode status -p "Sweet Treats"

Fix a Failed Build

"The build failed. Can you check what went wrong and fix it?"

The agent runs fastmode status to see the error, diagnoses the issue (e.g. unbalanced template tags, missing files), fixes the source, re-validates, and re-deploys.


Tips for Better Results

Be Specific About Your Project

Always mention which project you're working on:

Good: "Add a team member to my 'Sweet Treats' project"

Less clear: "Add a team member"

Describe the Design You Want

The more detail you give, the better the result:

"Build a modern portfolio with a dark theme, gradient accents in purple and blue, card-based project grid, and a sticky navigation bar."

Ask for Validation

Before deploying, ask the agent to validate:

"Validate everything before deploying"

Check Status After Changes

After deploying or adding content, ask:

"Check if the build succeeded"

Work Incrementally

For complex sites, build in stages:

  1. "First, set up the project and create the blog collection"
  2. "Now build the homepage and blog templates"
  3. "Add 3 sample blog posts"
  4. "Deploy and check the status"

Use Built-in Docs

The agent can access built-in documentation for reference:

"Show me an example of a blog index template"
"What field types are available?"
"Show the common mistakes guide"

What the Agent Handles Automatically

The FastMode skill documentation teaches the agent to:

  • Put static assets in public/ (not assets/) and use /public/ paths
  • Use triple braces {} for rich text fields in templates
  • Use flat cmsTemplates keys in manifest.json (not nested objects)
  • Look up item UUIDs for relation fields instead of using names
  • Validate packages before deploying to catch errors early
  • Check build status after deploying and fix failures
  • Require --confirm for delete operations and ask you first

Troubleshooting

Agent can't find the fastmode command

The CLI may not be installed. Ask the agent:

"Install the fastmode CLI with: npm install -g fastmode-cli"

Authentication prompt appears

The agent needs you to complete the browser OAuth flow. It will show a URL — open it, sign in, and approve access. This only happens once.

Build fails after deploy

Ask the agent to check and fix:

"Run fastmode status and tell me what went wrong, then fix it and redeploy"

Content not showing on site

Items may be in draft mode. Ask:

"List all items in the posts collection and publish any drafts"

Related Docs

Built in Fast Mode