بنقرة واحدة
cmd-sessions
List and inspect OpenClaw session files from the workspace sessions/ directory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
List and inspect OpenClaw session files from the workspace sessions/ directory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scan installed skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files.
Audit all installed OpenClaw skills for quality: content overlap, freshness, and uniqueness. Supports Quick Scan (changed only) and Full Stocktake modes.
Cluster MEMORY.md entries by theme and optionally generate SKILL.md drafts.
Export MEMORY.md to a timestamped markdown file for sharing or backup.
Import memory entries from a markdown export file, merging with MEMORY.md without duplicating.
Show current workspace memory: MEMORY.md contents, pending recalls, and index status.
| name | cmd_sessions |
| description | List and inspect OpenClaw session files from the workspace sessions/ directory. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> [list|load|info] [session-file] |
The first argument is the project path. Before doing anything else:
Lists and inspects OpenClaw session files stored in
~/.openclaw/workspace-main/sessions/.
/skill cmd_sessions <project-path> # List all sessions
/skill cmd_sessions <project-path> list # Same as above
/skill cmd_sessions <project-path> load <file> # Show a session's content
/skill cmd_sessions <project-path> info <file> # Show session metadata
Show all session files with their date and size, newest first.
ls -lt ~/.openclaw/workspace-main/sessions/*.md 2>/dev/null
Display as a table:
Sessions in ~/.openclaw/workspace-main/sessions/
════════════════════════════════════════════════
# Filename Modified Size
─────────────────────────────────────────────────────────
1 session-2026-04-08.md 2026-04-08 12 KB ← latest
2 session-2026-04-07.md 2026-04-07 8 KB
3 session-2026-04-06.md 2026-04-06 5 KB
...
Total: <N> sessions
If no sessions exist, report: "No session files found in workspace-main/sessions/"
Display the full content of a session file.
cat ~/.openclaw/workspace-main/sessions/<file>
If the file is not found, list available sessions and stop.
Show the first 30 lines of a session file (typically contains the session header with date, project, branch, and summary).
head -30 ~/.openclaw/workspace-main/sessions/<file>