---
name: bot-note
description: Write a note in Obsidian based on the recent conversation
user_invocable: true
title: bot-note
canonical_url: https://skilld.dev/gh/david-crespo/dotfiles/bot-note
last_updated: 2026-11-13T16:08:54.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install david-crespo/dotfiles/bot-note`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/bot-note`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/david-crespo/dotfiles/bot-note) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/bot-note`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/bot-note --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/bot-note --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Bot Note

Write a note summarizing the recent conversation. Bot notes are plain markdown files in `~/obsidian/Bot notes/`, one per note, named `<name>.md`. Read and write them as files; Obsidian picks up changes on disk and doesn't need to be running. The folder is writable from the sandbox. Stay inside it: the rest of the vault is not for this skill.

## On invocation

1. Review the last several messages in the conversation to identify the substantive topic.
2. Pick a short, lowercase, descriptive name (e.g., `jj workspace tool`), with no `/` or `:`. Match the style of existing notes (`ls ~/obsidian/"Bot notes"`).
3. Write the note to `~/obsidian/Bot notes/<name>.md` with the Write tool.

If invoked with an argument, treat it as instructions on what to include in the note (topic, scope, emphasis). The filename should always just be a good short representative title regardless of the argument.

## Note format

The filename is the note title. Do not add a leading Markdown heading like `# title` inside the note body.

A new note starts with frontmatter holding when it was made, in local time (`date +%Y-%m-%dT%H:%M`), then the body:

```
---
created: 2026-11-10T21:30
---
First paragraph of the note.
```

The key principle: **the note should be very close to verbatim what was said in the conversation.** If you gave a good explanation in the chat, copy it nearly verbatim into the note. Do not rewrite, reorganize, or "summarize" something that was already well-written. The conversation is the primary source — the note preserves it, lightly edited at most.

- **Use the conversation's Q&A structure directly.** The user's questions become blockquotes (`>`), your answers follow. If the user asked a follow-up question that drove the conversation forward, include it as a blockquote transition between sections — this is more authentic and clearer than invented section headings.
- **When quoting, quote.** Blockquotes (`>`) must use the user's actual words. It's fine to paraphrase or summarize the user, but not inside a blockquote — that's a quote.
- **Copy your responses nearly verbatim.** Light editing for flow is fine (removing "Let me look at..." transitions), but preserve the structure, tone, and level of detail. If the response used prose paragraphs, keep prose paragraphs. Don't break flowing text into bullet points or add headings that weren't there.
- **Include concrete details.** Links, file paths with line numbers, code snippets, command examples — the kind of thing that's hard to reconstruct later.
- **Never hard-wrap.** Each paragraph, list item, or table row is one long line. Obsidian joins single newlines, but a wrap inside a `code span` or a link breaks its rendering. If the source material is a hard-wrapped markdown file (e.g. a `.claude/notes` report), unwrap it before writing the note.
- **Omit filler.** No preamble, no "here's what we discussed," no meta-commentary about the note itself.

## Before writing

List the folder to check existing notes and avoid duplicating a topic. If a closely related note already exists, ask whether to append or create a new one. To append or edit, read the file and use the Edit tool; leave its `created` line alone. Don't overwrite an existing note with Write.

## After writing

End with a single line of the form `Note created at [<name>](https://skilld.dev/api/skills-raw/david-crespo/dotfiles/bot-note/<url>)` (or `Note updated at ...` for appends/edits) where `<name>` is just the note filename without the `Bot notes/` prefix or `.md` extension, and `<url>` is `obsidian://open?vault=obsidian&file=<url-encoded-name>`. The link must be clickable, so URL-encode spaces as `%20`.
