with one click
logseq-cc-records
// Log the current Claude Code conversation to today's LogSeq journal with a time-stamped summary. Use when the user wants to record, log, or save the current session to LogSeq, or when they say /logseq-cc-records.
// Log the current Claude Code conversation to today's LogSeq journal with a time-stamped summary. Use when the user wants to record, log, or save the current session to LogSeq, or when they say /logseq-cc-records.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | logseq-cc-records |
| description | Log the current Claude Code conversation to today's LogSeq journal with a time-stamped summary. Use when the user wants to record, log, or save the current session to LogSeq, or when they say /logseq-cc-records. |
Log the current Claude Code / OpenClaw work session to today's LogSeq journal with a time-stamped, concise summary.
Method: Direct markdown file editing (more reliable than MCP for nested structure)
Location (configurable)
LOGSEQ_GRAPH_DIR to your LogSeq graph folder (the one that contains journals/, pages/, logseq/).$LOGSEQ_GRAPH_DIR/journals/Example (OpenClaw + jluo41-repo default)
LOGSEQ_GRAPH_DIR=/home/jluo41/.openclaw/workspace/jluo41-repo/3-Chronile/LogSeq-MeAll entries are written under the [[CC-Veritable-Records]] section with time prefix, topic as main bullet, description as child block:
- [[CC-Veritable-Records]]
- 14:30 LogSeq Skills Plugin Creation #ClaudeCode #LogSeq
- Built 4-skill plugin: markdown, queries, templates, whiteboards.
Note: Entries use plain bullets (no DONE/TODO) to avoid strikethrough in LogSeq.
First entry of the day (creates section):
- [[CC-Veritable-Records]]
- 09:15 Paper Analysis - PNAS Submission #Research #Paper
- Reviewed methodology section, updated figures, fixed citations.
Subsequent entries (appends under existing section):
- 14:30 LogSeq Skills Plugin Creation #ClaudeCode #LogSeq
- Built 4-skill plugin: markdown, queries, templates, whiteboards.
- 16:45 DIKW Agent Routing Fix #Code #DIKW-Agent
- Fixed routing logic for oneway mode, updated test prompts.
Keep descriptions simple and scannable:
Get today's date in YYYY_MM_DD format (LogSeq uses underscores in filenames)
Get current time in HH:MM format (24-hour)
Resolve journal path: $LOGSEQ_GRAPH_DIR/journals/{date}.md
LOGSEQ_GRAPH_DIR is not set, fall back to ~/Desktop/LogSeq-Me (legacy default).Check if [[CC-Veritable-Records]] section exists in the file
Analyze the conversation context to identify:
Generate the summary entry with time, topic, and one-sentence description (max 10-15 words)
Edit the markdown file directly using proper LogSeq format:
If section EXISTS - Find the section and append entry with TAB indentation:
- HH:MM [Topic] #tags
- [Short description]
If section DOES NOT exist - Add new section at end of file:
- [[CC-Veritable-Records]]
- HH:MM [Topic] #tags
- [Short description]
CRITICAL: Use TABS (not spaces) for indentation in LogSeq markdown files
LogSeq will auto-sync the file changes
Confirm to user that entry was logged successfully
Automatically add relevant tags based on conversation content: