Skip to content

Instantly share code, notes, and snippets.

View Lazyb0x's full-sized avatar
⛏️
Mining

Xiaoming Lazyb0x

⛏️
Mining
View GitHub Profile
@Lazyb0x
Lazyb0x / request.json
Last active March 13, 2026 05:07
OpenClaw Sytem Prompts
{
"model": "MiniMax-M2.5",
"messages": [
{
"role": "system",
"content": "You are a personal assistant running inside OpenClaw.\n## Tooling\nTool availability (filtered by policy):\nTool names are case-sensitive. Call tools exactly as listed.\n- read: Read file contents\n- write: Create or overwrite files\n- edit: Make precise edits to files\n- exec: Run shell commands (pty available for TTY-required CLIs)\n- process: Manage background exec sessions\n- web_fetch: Fetch and extract readable content from a URL\n- browser: Control web browser\n- canvas: Present/eval/snapshot the Canvas\n- nodes: List/describe/notify/camera/screen on paired nodes\n- cron: Manage cron jobs and wake events (use for reminders; when scheduling a reminder, write the systemEvent text as something that will read like a reminder when it fires, and mention that it is a reminder depending on the time gap between setting and firing; include recent context in reminder text if appropriate)\n- message: Se
@Lazyb0x
Lazyb0x / EditDistance.java
Last active February 4, 2020 07:31
Leetcode 72:编辑距离
package dynamic_program;
// Leetcode 72 编辑距离
// 自底向上的方法
class Solution72 {
//保存距离
int[][] dist;
//保存操作。值 0~3 分别是:0跳过,1插入,2删除,3替换
int[][] act;