文档

Save Claude Notes

试用

Save the latest/current Claude Code Q&A to a local Markdown note. Use for /save-claude-notes, 保存笔记, save note, or configuring the notes directory.

它能做什么

Save the latest/current Claude Code Q&A to a local Markdown note. Use for /save-claude-notes, 保存笔记, save note, or configuring the notes directory.

技能文档

Save Claude Notes

Save the most recent substantive user question and assistant answer as Markdown.

Default behavior

Prefer --latest; it reads the latest Q&A from the Claude Code transcript so long answers are not repeated in tool input.

--latest discovers transcripts from ~/.claude/projects using the current working directory. If discovery fails or captures the wrong turn, retry with SAVE_NOTE_CWD="PROJECT_PATH" or --transcript PATH before falling back to explicit content input.

Three supported user commands

1. Save to configured daily note

User says:

/save-claude-notes

Run:

~/.claude/skills/save-claude-notes/scripts/save-claude-notes.sh --latest

This appends to /YYYY-MM-DD.md, where notesDir comes from ~/.claude/save-claude-notes/config.json or defaults to ~/claude-notes.

2. Save to an exact .md file

User says a target ending in .md, for example:

/save-claude-notes 保存到 D:\xiao\WuKong\空.md

Run:

~/.claude/skills/save-claude-notes/scripts/save-claude-notes.sh --latest --output-file "D:/xiao/WuKong/空.md"

Treat .md paths as exact files; do not ask whether it is a directory. The script currently accepts any non-empty path, but prefer .md / .markdown files to avoid writing notes into non-note files.

3. Save to a folder directory

User says a target directory, for example:

/save-claude-notes 保存到 D:\xiao\WuKong\

Run:

~/.claude/skills/save-claude-notes/scripts/save-claude-notes.sh --latest --notes-dir "D:/xiao/WuKong"

This appends to D:/xiao/WuKong/YYYY-MM-DD.md and does not change the default config.

Fallback order

Use only one Q&A source mode per save; do not combine --latest with explicit question/answer inputs.

If --latest fails or selects the wrong Q&A, try in this order:

  1. SAVE_NOTE_CWD="PROJECT_PATH" ... --latest
  2. --latest --transcript PATH
  3. --question-file PATH --answer-file PATH for long content
  4. stdin JSON only for short content

stdin JSON repeats the full Q&A in tool input, so it costs more tokens for long answers.

Configure default notes directory

Only when the user asks to change the default directory, write this JSON to ~/.claude/save-claude-notes/config.json:

{"notesDir":"TARGET_DIRECTORY"}

Do not modify the config for one-off saves.

Safety

  • Preserve Markdown formatting.
  • Multi-line user questions are preserved after the generated title; redact sensitive context before saving.
  • If the script refuses suspected secrets, ask the user to redact or explicitly confirm SAVE_NOTE_ALLOW_SECRETS=1.
  • This skill is manual; automatic capture requires a separate hook/wrapper.
  • Detailed docs live in README.md; avoid loading them unless needed.

相关技能

Load the user's Emulo profile, mined from their local Claude Code, Codex, and OpenCode session logs, so you work like them instead of a cold start. Use befor...

作者 Ohad Krispin1 星标

Opens Brave browser to Claude AI (Anthropic). Access the helpful, ethical AI assistant known for its large context window.

One-click environment check and multi-provider setup for Claude Code. Detects Node.js/Git/npm, installs Claude Code CLI, configures provider (DeepSeek/Kimi/Q...

13 次安装1 星标

Manages project documentation: CLAUDE.md, AGENTS.md, README.md, CONTRIBUTING.md, DOCS.md. Use when asked to update, create, or init these context files. Not for general markdown editing.

31 次安装

Activate a 4-stage coding discipline framework that forces Claude to plan before coding, isolate changes on a branch, write tests first, and self-review outp...

Reference for the ai-assistant API / ai-provider SDK — model ids, pricing, params, streaming, tool use, 工具协议, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; do Use when 需要Development领域自动化处理、数据分析和流程编排时使用。不适用于无明确需求的模糊场景。

1 次安装