跳至主要内容
小龙虾小龙虾AI
🤖

Omi Me

Complete Omi.me integration for memories, action items (tasks), and conversations. Full CRUD + sync capabilities for OpenClaw.

下载1.1k
星标2
版本1.0.0
开发工具
安全通过
💬Prompt

技能说明


name: omi-me description: Complete Omi.me integration for memories, action items (tasks), and conversations. Full CRUD + sync capabilities for OpenClaw. homepage: https://omi.me metadata: openclaw: emoji: "🧠" requires: bins: ["omi", "omi-token"] env: ["OMI_API_TOKEN"]

Omi.me Integration for OpenClaw

Complete integration with Omi.me to sync and manage memories, action items (tasks), and conversations. Provides CLI tools.

Table of Contents

Setup

Automated Setup

# Run the setup script
bash /home/ubuntu/.openclaw/workspace/skills/omi-me/scripts/setup.sh

The setup script will:

  1. Create config directory ~/.config/omi-me/
  2. Guide you to configure your API token
  3. Create symlinks for omi and omi-token commands

Manual Setup

# Create config directory
mkdir -p ~/.config/omi-me

# Save your API token
echo "omi_dev_your_token_here" > ~/.config/omi-me/token
chmod 600 ~/.config/omi-me/token

Get API Token

  1. Visit https://docs.omi.me/doc/developer/api/overview
  2. Generate a developer API key
  3. Configure using:
# Interactive (recommended)
omi-token.sh set

# Or manually
echo "your-token" > ~/.config/omi-me/token

Token Management

omi-token.sh set    # Configure API token interactively
omi-token.sh get    # Print current token
omi-token.sh test   # Test connection to Omi.me

Token File

Default location: ~/.config/omi-me/token

You can also set via environment variable:

export OMI_API_TOKEN="your-token"

Files

  • ~/.config/omi-me/token - API token storage

CLI Commands

Token Management

CommandDescription
omi-token.sh setConfigure API token interactively
omi-token.sh getPrint current API token
omi-token.sh testTest connection to Omi.me

Memories

CommandDescription
omi memories listList all memories
omi memories get <id>Get specific memory
omi memories create "content"Create new memory
omi memories create "content" --type preferenceCreate with type
omi memories update <id> "new content"Update memory content
omi memories delete <id>Delete a memory
omi memories search "query"Search memories

Action Items / Tasks

CommandDescription
omi tasks listList all action items
omi tasks get <id>Get specific task
omi tasks create "title"Create new task
omi tasks create "title" --desc "description" --due "2024-01-15"Create with details
omi tasks update <id> --title "new title"Update task
omi tasks complete <id>Mark as completed
omi tasks pending <id>Mark as pending
omi tasks delete <id>Delete a task

Conversations

CommandDescription
omi conversations listList all conversations
omi conversations get <id>Get specific conversation
omi conversations create --title "My Chat" --participants "user1,user2"Create conversation
omi conversations create --participants "user1,user2" --message "Hello!"Create with initial message
omi conversations add-message <id> user "Hello world"Add message to conversation
omi conversations delete <id>Delete a conversation
omi conversations search "query"Search conversations

Sync

CommandDescription
omi sync memoriesSync memories from Omi.me
omi sync tasksSync action items from Omi.me
omi sync conversationsSync conversations from Omi.me
omi sync allSync all data

Usage Examples

Token Configuration

Interactive setup:

omi-token.sh set

Test connection:

omi-token.sh test

Get current token:

omi-token.sh get

CLI Examples

List memories:

omi memories list

Create a memory:

omi memories create "Caio prefers working in English" --type preference

Create a task:

omi tasks create "Review Omi integration" --desc "Check if sync is working" --due "2024-02-01"

Mark task complete:

omi tasks complete <task-id>

Create conversation:

omi conversations create --title "Team Sync" --participants "alice,bob" --message "Let's discuss the project"

Add message:

omi conversations add-message <conv-id> user "I agree!"

Sync all data:

omi sync all

Rate Limits

Omi.me API rate limits:

  • 100 requests per minute per API key
  • 10,000 requests per day per user

The client automatically tracks rate limit headers and handles 429 responses.

Troubleshooting

"Token not configured"

# Configure interactively
omi-token.sh set

# Or check manually
cat ~/.config/omi-me/token

# If empty, add your token
echo "omi_dev_your_token" > ~/.config/omi-me/token

"Connection failed" or 401 error

# Test connection
omi-token.sh test

# Reconfigure if needed
omi-token.sh set

Permission denied for symlink

# Use full path instead
bash /home/ubuntu/.openclaw/workspace/skills/omi-me/scripts/omi-cli.sh memories list

如何使用「Omi Me」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Omi Me」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能