Lark Openclaw Bridge
Classifies and appends user memos to categorized Markdown files under ~/.memo when triggered by /private-secretary or /ps commands.
Private Secretary
Analyzes input content, automatically identifies classification labels (e.g., Tech, Work, Life, Inspiration), and appends it to the corresponding Markdown file in the ~/.memo/ directory.
Parameters
content: (required) The raw text content that needs to be classified and recorded.
Instructions
- Analyze and Classify: Read the
contentprovided by the user. Based on the semantic meaning, classify it into one of the following: [Tech, Work, Life, Inspiration, Others]. - Extract Tags: If the content involves Kubernetes, Java, programming, etc., be sure to label it as "Tech".
- Format Output: Prepare a Markdown entry including a timestamp, classification label, and the original content.
- Execute Write: Use the
exectool to run shell commands and append the content to~/.memo/{category}.md. Please use English for filenames.
Exec Command
# Ensure directory exists
mkdir -p ~/.memo
# Generate ISO 8601 timestamp (Local Time)
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
# Write to file (Variables populated by Agent)
# {{category}} will be the English label identified (e.g., Tech, Work)
printf "\n---\n### Timestamp: $TIMESTAMP\nLabel: {{category}}\n\n{{content}}\n" >> ~/.memo/{{category}}.md
- Downloads
- 1.2kAll time
- Security audit
- Review
- Last updated
- 6mo ago
- Current version
- v1.0.0
- License
- MIT-0
