# Extending OpenClaw with Microfn Skills

Table of Contents

Give OpenClaw its own persistent toolkit. Connect microfn and your agent can create reusable functions, update them as needs change, and build a growing library of custom capabilities.

Build tools once, then reuse them. Need to change the logic? Patch existing functions. New integration? Compose existing tools or create new ones. All running securely in microfn’s cloud sandbox.

1. Install the Microfn Skill

To get started, you need to tell OpenClaw to install the Microfn skill. You can do this by pointing it to the official skills repository:

“Install the microfn skill from github.com/microfnhq/skills”

Telling OpenClaw to install the microfn skill via Telegram

2. Generate an API Token

OpenClaw needs to authenticate with Microfn to deploy and run your functions.

  1. Go to your Microfn API settings.
  2. Generate a new API Token.
  3. Copy the token; you’ll need to give it to OpenClaw in the next step.

3. Configure OpenClaw

Once you have your token, tell OpenClaw to save it securely:

“Use my microfn API token: <YOUR_TOKEN>”

Telling OpenClaw to use the microfn API token via Telegram

OpenClaw will store this token and use it to communicate with the Microfn cloud.

4. Building Tools on the Fly

Now that OpenClaw is connected, it can build its own tools. You can ask it to perform complex tasks, and it will automatically determine if it needs to create a new function to get the job done.

Asking OpenClaw to build a new tool using the microfn skill

Example prompts for OpenClaw:

  • “Create a tool to fetch the current price of Bitcoin and send me a notification if it drops below $50k.”
  • “Write a function to summarize the last 5 emails from my inbox and save the summary to KV storage.”
  • “Build a custom API integration for my internal CRM.”

Why use Microfn with OpenClaw?

  • Secure Sandbox: Code runs in an isolated cloud environment, protecting your local machine.
  • Persistent Storage: Use built-in KV storage for stateful workflows.
  • Secrets Management: Safely handle API keys and credentials.
  • Zero Configuration: Functions are deployed and ready to run instantly.

Read more

For more details on building and managing skills, check out the OpenClaw documentation.

Built with microfn, your toolbox for composable functions

Microfn is a tiny cloud runner for composable JavaScript functions. Write your function, hit save, and microfn deploys it instantly.

https://microfn.dev - deploy JavaScript functions into the cloud in seconds


More Posts