Token导航 LogoToken导航

Agent Skill · 开发

share-usecase(分享用例)

share-usecase 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

share-usecase 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 744。

总安装 59,266周安装 2,421GitHub Stars 公开资料未说明下载 18,981核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:share-usecase(分享用例)
来源仓库:https://github.com/josephl37/share-usecase
安装命令:
openclaw skills install share-usecase
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install share-usecase

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

将您的 OpenClaw 用例分享到clawusecase.com。分析您最近的工作并为社区创建提交。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install share-usecase;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

share-usecase 怎么安装?

在终端执行 openclaw skills install share-usecase。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

share-usecase 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

share-usecase 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

share-usecase 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

share-usecase 用的人多吗?

公开数据是累计安装 59,266 次,近一周安装 2,421 次,下载 18,981 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

share-usecase 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
share-usecase

分享用例 · 本页

59,266—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
share_usecase
description
Share your OpenClaw use case to clawusecase.com. Analyzes your recent work and creates a submission for the community.
author
Rex 🐧
version
2.0.1

Share Use Case Skill

This skill helps you share your OpenClaw use cases to clawusecase.com.

When to Use

Trigger this skill when the user wants to share a use case they've built with OpenClaw. They might say:

  • "/share_usecase"
  • "I want to share this use case"
  • "Let me submit this to clawusecase"
  • "Share what I just built"

Important: When users choose to get credit via OAuth, automatically poll for their connection completion. Don't make them tell you they've connected - detect it automatically and proceed with submission.

Implementation requirement: You MUST actively monitor the polling loop and send an immediate message when connection is detected. Do not run polling silently in the background - check results frequently and respond the moment you see a successful credential. The user should see "✅ Connected as @username!" within seconds of completing OAuth, without having to ask.

How It Works

1. Greet and Explain

When the user triggers /share_usecase, start with a friendly greeting:

🐧 Share Your Use Case

Hey! clawusecase.com is a community showcase where OpenClaw users share what they've built to inspire others.

Let me look at what you've been working on and draft a use case for you...

2. Analyze Recent Context

Look back at the conversation history (last 50-100 messages or past few hours) to understand what the user built. Look for:

  • What problem they were trying to solve
  • What tools/integrations they used (GitHub, Stripe, Resend, etc.)
  • How they solved it
  • Any requirements or setup needed

3. Generate Use Case Structure

Create a well-structured use case with these fields:

Required:

  • title (50-100 chars) - Clear, descriptive title of what was built
  • hook (100-200 chars) - One-sentence summary that grabs attention
  • problem (200-500 chars) - What problem this solves
  • solution (300-800 chars) - How it works, what was built
  • category - One of: "Productivity", "Development", "Business/SaaS", "Home Automation", "Social/Content", "Data & Analytics", "Fun"
  • skills (array) - Tools/technologies used (e.g., ["GitHub", "Stripe", "Resend"])

Optional:

  • requirements - What you need to use this (API keys, accounts, etc.)

4. Normalize Tools/Skills

Before finalizing, normalize tool names using normalize-tools.js:

node normalize-tools.js "github,stripe api,resend email"

This ensures consistent naming (e.g., "github" → "GitHub", "stripe api" → "Stripe").

5. Show Preview and Get Approval

Present the generated use case to the user in a clean format:

📋 Use Case Draft

Title: Email notifications for Pro subscriptions
Hook: Sends welcome emails automatically when users upgrade

Problem: No email notifications when users subscribe to Pro plan
Solution: Built Resend integration with React Email templates, hooked into Stripe webhooks for subscription events

Category: Business/SaaS
Tools: GitHub, Stripe, Resend
Requirements: Resend account, Stripe webhooks configured

Would you like to:
- Submit as-is
- Edit any fields
- Cancel

If they want to edit, iterate until they're happy.

6. Ask About Attribution

Once they approve the content, ask about attribution:

Would you like to be credited for this submission?

Options:
1. ✅ Yes, credit me (connect Twitter or GitHub)
2. 🎭 No, submit anonymously

If you choose credit, you'll get a link on the live use case and build your profile in the community!

If they choose credit:

Generate OAuth links and send them:

Great! Connect your account to get credit:

🐦 X (Twitter): [init Twitter OAuth and get URL]
😺 GitHub: [init GitHub OAuth and get URL]

Click one of the links above to authenticate. I'll detect when you're connected and submit automatically!

Auto-detect connection:

⚠️ CRITICAL: You MUST actively monitor and respond to polling results in real-time. Do NOT run polling in the background and wait for system messages. Check the process output directly and respond immediately.

Immediately after sending OAuth links, start polling and watch for completion:

Recommended approach:

cd /path/to/skill
for i in {1..24}; do
  # Try to get credential
  RESULT=$(node get-credential.js --token [oauth_token] 2>&1)
  
  if echo "$RESULT" | grep -q '"username"'; then
    # SUCCESS! Parse the credential
    USERNAME=$(echo "$RESULT" | grep -o '"username":"[^"]*"' | cut -d'"' -f4)
    PLATFORM=$(echo "$RESULT" | grep -o '"platform":"[^"]*"' | cut -d'"' -f4)
    
    # IMMEDIATELY notify user (don't wait for background processes!)
    # Send this message RIGHT NOW before continuing
    echo "User should see: ✅ Connected as @$USERNAME!"
    
    # Store the full credential for submission
    CREDENTIAL="$RESULT"
    break
  fi
  
  # Not ready yet, wait 5 seconds
  if [ $i -lt 24 ]; then
    sleep 5
  fi
done

# After loop, check if we got a credential
if [ -z "$CREDENTIAL" ]; then
  echo "Timeout - credential not received within 2 minutes"
fi

Critical implementation notes:

  1. DO NOT use exec(..., background: true) for polling - you won't see results in time
  2. DO run polling synchronously or check process output immediately
  3. IMMEDIATELY send "✅ Connected as @username!" message when detected
  4. DO NOT wait for system messages or background process completion
  5. Parse the credential JSON directly from the command output

Example flow:

  1. Send OAuth links to user
  2. Immediately start polling (synchronous checks every 5 seconds)
  3. Each iteration: Check if credential exists
  4. The INSTANT it's found: Send message "✅ Connected as @username! Submitting your use case now..."
  5. Extract username/platform from credential JSON
  6. Proceed with submission

If timeout (2 minutes):

⏰ Still waiting for your connection. Take your time - I'll keep checking for another 2 minutes!

Then continue polling for another 24 attempts.

If they choose anonymous:

Proceed with anonymous submission (no author info).

7. Submit to API

Use submit.js to POST to the API:

With attribution:

node submit.js \
  --title "Email notifications for Pro subscriptions" \
  --hook "Sends welcome emails automatically when users upgrade" \
  --problem "No email notifications when users subscribe to Pro plan" \
  --solution "Built Resend integration with React Email templates..." \
  --category "Business/SaaS" \
  --skills "GitHub,Stripe,Resend" \
  --requirements "Resend account, Stripe webhooks configured" \
  --author-username "josephliow" \
  --author-handle "josephliow" \
  --author-platform "twitter" \
  --author-link "https://twitter.com/josephliow"

Anonymous:

node submit.js \
  --title "Email notifications for Pro subscriptions" \
  --hook "Sends welcome emails automatically when users upgrade" \
  --problem "No email notifications when users subscribe to Pro plan" \
  --solution "Built Resend integration with React Email templates..." \
  --category "Business/SaaS" \
  --skills "GitHub,Stripe,Resend" \
  --requirements "Resend account, Stripe webhooks configured" \
  --anonymous

8. Confirm Submission

If successful, share the link with the user:

✅ Use case submitted successfully!

View it here: https://clawusecase.com/cases/email-notifications-for-pro-subscriptions

Thanks for sharing with the community! 🎉

Error Handling

Rate Limiting

If you get a 429 error:

⏰ You've hit the submission limit (10 per day).
Try again tomorrow or contact support if you need to submit more.

Validation Errors

If fields are invalid (title too short, solution too brief):

❌ Submission failed: Title must be at least 20 characters

Let's fix that. What would you like the title to be?

API Errors

For other errors, show the error message and offer to retry.

Tips for Good Use Cases

Help users create high-quality submissions:

Good Title:

  • ✅ "Email notifications for Pro subscriptions"
  • ❌ "Email thing I built"

Good Hook:

  • ✅ "Sends welcome emails automatically when users upgrade"
  • ❌ "Sends emails"

Good Problem:

  • ✅ "Users who upgraded to Pro weren't getting confirmation emails, causing confusion and support tickets"
  • ❌ "No emails"

Good Solution:

  • ✅ "Built a Resend integration with React Email templates. Set up Stripe webhooks to trigger on subscription.created events. Template includes upgrade details and next steps."
  • ❌ "Made it send emails with Stripe"

Category Guidelines

Help users pick the right category:

  • Productivity - Task management, scheduling, reminders, automation
  • Development - CI/CD, code review, deployment, testing
  • Business/SaaS - Customer management, billing, analytics, marketing
  • Home Automation - Smart home, IoT, cameras, sensors
  • Social/Content - Social media, content creation, publishing
  • Data & Analytics - Reports, dashboards, data processing
  • Fun - Games, experiments, creative projects, humor

Rate Limiting

Users can submit up to 10 use cases per day. The API tracks by authorUsername (or IP for anonymous).

If they hit the limit, suggest:

  • Wait until tomorrow
  • Make sure each submission is unique and valuable
  • Contact support if they need a higher limit

Quality Guidelines

The API has automatic quality filtering. Submissions must:

  • Title: 20-200 characters
  • Hook: 50-500 characters
  • Problem: 100-2000 characters
  • Solution: 200-5000 characters
  • At least 1 skill/tool
  • Valid category

Help users meet these requirements before submitting.

Example Interaction

User: I just built email notifications for when users subscribe
You: 🐧 Share Your Use Case

Hey! clawusecase.com is a community showcase where OpenClaw users share what they've built to inspire others.

Let me look at what you've been working on and draft a use case for you...

[analyzes recent conversation]

📋 Use Case Draft

Title: Email notifications for Pro subscriptions
Hook: Automatically sends welcome emails when users upgrade to Pro

Problem: Users upgrading to Pro weren't receiving confirmation emails, leading to confusion and support tickets about whether their payment went through.

Solution: Built a Resend email integration with custom React Email templates. Connected to Stripe webhooks to listen for subscription.created events. The welcome email includes upgrade confirmation, receipt, and next steps for accessing Pro features.

Category: Business/SaaS
Tools: Stripe, Resend, React, GitHub
Requirements: Resend account, Stripe webhooks configured

Would you like to:
- Submit as-is
- Edit any fields
- Cancel

User: Looks perfect!
You: Great! Would you like to be credited for this submission?

Options:
1. ✅ Yes, credit me (connect Twitter or GitHub)
2. 🎭 No, submit anonymously

User: Yes, credit me
You: Awesome! Connect your account to get credit:

🐦 X (Twitter): https://clawusecase.com/auth/connect?token=abc123&platform=twitter
😺 GitHub: https://clawusecase.com/auth/connect?token=def456&platform=github

Click one of the links above. I'll detect when you're connected and submit automatically!

[User clicks link and completes OAuth]

You: ✅ Connected as @josephliow!

Submitting your use case now...

[retrieves credential, submits]

✅ Use case submitted successfully!

View it here: https://clawusecase.com/cases/email-notifications-for-pro-subscriptions

Your use case is now live for the community to see. Thanks for sharing! 🎉

Files in This Skill

  • SKILL.md - This file (instructions)
  • submit.js - Submits use case to clawusecase.com API
  • get-credential.js - Retrieves OAuth credential from Convex after auth
  • poll-credential.sh - Helper script that polls for credential completion
  • normalize-tools.js - Normalizes tool/skill names
  • README.md - User documentation
  • config.json - Skill configuration

Troubleshooting

"Command not found: node" Node.js is required. Install it: brew install node (macOS) or from nodejs.org

"Failed to connect to API" Check internet connection and that clawusecase.com is accessible.

"OAuth token not found" The token might have expired (10 min timeout). Generate a fresh OAuth link.

平台分布

OpenClaw

86.47%
按下载量换算16,413

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills