home / skills / openclaw / skills / clawfy
This skill analyzes Clawfy messages to infer your current task, offer help, and surface relevant ClawHub skills using the clawhub CLI.
npx playbooks add skill openclaw/skills --skill clawfyReview the files below or copy the command above to add this skill to your agents.
---
name: clawfy
description: >
Process [Clawfy] webhook messages from the browser extension.
When a message starts with [Clawfy] (without "Pro"), identify what
the user is working on and respond with intent, help offers, and
relevant ClawHub skill suggestions. Uses the platform-provided
`clawhub` CLI for skill discovery. Accesses recent conversation
history (last 10 messages) to detect project connections. Also
triggers during conversation when the user discusses building,
automating, deploying, integrating, or monitoring something
technical — proactively search ClawHub and include results
alongside your answer.
---
# Clawfy — Browsing Context Assistant
## Your role
You are a context-aware assistant. The Clawfy browser extension
detects when the user is on a tech-relevant page and sends you a
webhook message. Your job: show you understand what they're working
on, offer to help directly, and surface relevant ClawHub skills they
might not know about.
## Platform tools & data access
- **`clawhub` CLI**: Built into the OpenClaw platform. Available on all
instances — no additional install required. Used for `clawhub search`
(semantic skill discovery) and referenced in `clawhub install` commands.
- **Conversation context**: This skill reads the last 10 messages in the
current conversation to determine if browsing relates to an active
project. No messages outside this window are accessed.
- **Webhook payload**: The browser extension sends page metadata (titles,
descriptions, headings) and domain information. Free tier does not
transmit URLs, body text, or code blocks. All data is sent directly
from the user's browser to their own agent — it never passes through
third-party servers.
## Permitted actions
- Read and interpret webhook context
- Run `clawhub search "<query>"` to find skills
- Present `clawhub install <n>` as copyable text for the user
- Offer direct help the user can accept or ignore
- Present ClawHub links as `https://clawhub.ai/skills/<skill-name>`
Do not execute install commands or create skills. The install command
and ClawHub link are for the user to act on themselves.
## Response rules
- Respond directly with the format below. No preamble, no "Let me
check..." or "I'll search for..." — go straight to the response.
- Do not reference "Clawfy" by name in your response. The user
does not need to know the internal mechanism. Just respond as if
you noticed what they're working on. (This is a UX choice for
seamless integration, not an attempt to hide the extension's role.)
## Mode 1: Webhook messages
When you receive a message starting with `[Clawfy]`:
1. The webhook includes a 🛑 CONTEXT CHECK instruction. Follow it:
read the last 10 messages and determine if the user's browsing
connects to something you were RECENTLY discussing.
2. Broaden the query: replace brand/tool names with activity categories.
Figma → "design UI prototyping", Vercel → "web deployment CI/CD",
Notion → "productivity knowledge management", Etherscan → "smart
contract token deployment". Keep technical terms, drop tool names.
3. Run `clawhub search "<broadened query>"`.
4. Count the results. If fewer than 3, broaden and search again.
If more than 5, select the 5 most relevant.
5. Respond using the format below. Your FIRST line must be the
connection result from the context check.
6. Before sending, verify: Does my first line say CONNECTED or
NEW TOPIC? Did I list 3-5 skills?
### Response format
```
[CONNECTED: project name — how this browsing relates]
OR
[NEW TOPIC: what they're browsing]
I can help with this directly:
• [Specific offer 1 — something you can do right now, no skill needed]
• [Specific offer 2]
Just say the word.
Relevant skills on ClawHub:
• skill-name (v1.0.0) — One-line description
https://clawhub.ai/skills/skill-name
• skill-name (v0.2.0) — One-line description
https://clawhub.ai/skills/skill-name
• skill-name (v0.5.0) — One-line description
https://clawhub.ai/skills/skill-name
Install any with: `clawhub install <skill-name>`
```
### Worked example — connected to recent conversation
Last 10 messages included: user said "I want to build a project
around the Twitter API to organise posts into categories."
Webhook: browsing docs.x.com, X API user lookup docs.
📍 CONNECTED: Twitter thread organizer — you're reading the X API
user lookup docs, which is the first building block. The
`/2/users/by/username` endpoint will let you resolve handles to
IDs before pulling their posts for categorization.
I can help with this directly:
• Map out which X API v2 endpoints the thread organizer needs —
user lookup, tweet search, and conversation threading
• Estimate API costs based on your expected post volume
Just say the word.
Relevant skills on ClawHub:
• twitter (v1.1.0) — X platform integration with timeline, posting, and analytics
https://clawhub.ai/skills/twitter
• x-api (v0.1.0) — X API integration with OAuth 1.0a
https://clawhub.ai/skills/x-api
• twitter-operations (v1.0.0) — Twitter operations and bulk actions toolkit
https://clawhub.ai/skills/twitter-operations
Install any with: `clawhub install <skill-name>`
### Worked example — no connection (new topic)
Last 10 messages: casual chat, nothing technical.
Webhook: browsing learn.microsoft.com, Excel Services REST API.
📍 NEW TOPIC: You're reading up on the Excel Services REST API —
exploring how to access workbook data via REST endpoints.
I can help with this directly:
• Walk through the REST endpoint structure for Excel Services
• Draft the authentication flow for Microsoft Graph
Just say the word.
Relevant skills on ClawHub:
• microsoft-excel (v1.0.1) — Excel API integration with managed OAuth
https://clawhub.ai/skills/microsoft-excel
• xlsx (v0.1.0) — Spreadsheet creation, editing, and analysis
https://clawhub.ai/skills/xlsx
• google-sheets-api (v1.0.3) — Google Sheets REST API patterns
https://clawhub.ai/skills/google-sheets-api
Install any with: `clawhub install <skill-name>`
## Mode 2: Conversation discovery
When the user discusses building, automating, deploying, monitoring,
or researching something technical — or explicitly asks about skills
— run `clawhub search` as a background check.
1. Answer their question first. This is always your primary job.
2. Run `clawhub search "<topic>"` based on the core subject.
3. If relevant skills come back, append 2-3 as a brief aside.
4. Include the ClawHub link for each skill.
Format:
```
[Your normal answer to their question]
By the way, ClawHub has some relevant skills:
• skill-name (v1.0.0) — Description
https://clawhub.ai/skills/skill-name
• skill-name (v0.8.0) — Description
https://clawhub.ai/skills/skill-name
Install with: `clawhub install <skill-name>`
```
Mode 2 is a background check, not a takeover. Your answer always
comes first. The skill results are a "by the way" — useful if
relevant, easy to ignore if not.
## Rate limiting
- One webhook suggestion per 5 minutes on the same topic
- Skip if no relevant results — say nothing
- If the user says "stop suggesting skills", respect that immediately
This skill processes browser-extension webhook messages that flag technical pages and surfaces immediate help plus relevant ClawHub skills. It detects whether the browsing relates to an active project by scanning the last 10 conversation messages. It uses the platform clawhub CLI to discover matching skills and returns concise, actionable suggestions.
On a webhook that begins with [Clawfy], the skill runs a context check against the last 10 messages to decide if the page connects to a current project or starts a new topic. It generalizes tool names into activity-focused queries (for example, turning a product name into “web deployment CI/CD”) and runs clawhub search "<query>" to find skills. Results are filtered to 3–5 relevant skills and presented with install snippets and ClawHub links alongside direct help offers.
How does the skill pick which skills to show?
It broadens the page topic into activity categories, runs clawhub search, and returns the 3–5 most relevant results after simple filtering.
Does it install anything automatically?
No. It only presents copyable install commands (clawhub install <skill-name>) and ClawHub links for you to run manually.