Agent skill
diary-note
Use this skill to instantly capture a quick note, insight, TIL, or lesson learned directly into today's diary — without going through a full journaling session. Invoke when the user says things like 记到日记里, 记录一下, 追记, jot this down, or "add this to my diary". Perfect for end-of-coding-session learnings, spontaneous insights, or brief experience logs. Appends to the existing diary file in the right section automatically. Not for full diary writing sessions (use diary-assistant) or work summaries (use weekly-report).
Install this agent skill to your Project
npx add-skill https://github.com/niracler/skill/tree/main/skills/writing/diary-note
Metadata
Additional technical details for this skill
- openclaw
-
{ "emoji": "\ud83d\udcdd" }
SKILL.md
Diary Note
快速追记一段内容到今天的日记。适合 agent session 结束时记录经验、随手记 TIL、 或任何不想走完整日记流程的场景。
Prerequisites
| Tool | Type | Required | Install |
|---|---|---|---|
| None | — | — | No external dependencies |
When to Use
- Agent session 结束后,想把经验/教训记下来
- 随手记一个 TIL 或想法
- 工作中遇到值得记录的事,但不想启动完整日记流程
不适用:
- 完整日记写作 → 使用
diary-assistant - 周报写作 → 使用
weekly-report
Flow
1. Locate diary file (~0min, automatic)
2. Determine section (~0min, automatic)
3. Append content (~1min)
4. Optional: Anki (~0min, ask only)
Step 1: Locate Diary File
Diary path configuration is shared with diary-assistant.
Check for config at ~/.config/nini-skill/diary/user-config.md.
If not found, check diary-assistant's references/user-config.md as fallback.
If neither exists, ask the user for their diary path.
File name: {YYYY-MM-DD}.md (today's date).
If the file doesn't exist, create it with a basic heading:
# {YYYY-MM-DD}
Step 2: Determine Section
Read the existing diary file and decide where to append:
| Content type | Target section | Create if missing |
|---|---|---|
| Work experience / technical | ## 2 Work Log |
Yes |
| Personal note / thought | ## 3 Record |
Yes |
| User specifies section | As specified | Yes |
If the diary file has no section structure, append at the end.
Step 3: Append Content
Write the content provided by the user (or summarized from the conversation) to the target section. Format rules:
- Use bullet points or short paragraphs
- Preserve the user's voice — don't over-polish
- Add a timestamp prefix if multiple entries exist in the same section:
**14:30** — content here - If the user provides raw conversation context (e.g., "record what we just did"), summarize the key takeaways concisely
Step 4: Optional Anki
If the content contains a TIL (Today I Learned) pattern:
"Want to generate Anki cards from this? (invoke anki-card-generator)"
Only ask, don't auto-invoke.
Common Issues
| Issue | Fix |
|---|---|
| Diary path not found | Ask user, suggest saving to ~/.config/nini-skill/diary/user-config.md |
| File encoding issues | Obsidian uses UTF-8, ensure write uses UTF-8 |
| Section heading mismatch | Read file first, match existing section names |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pinboard-manager
Use this skill for ALL Pinboard bookmark management tasks — this is the go-to skill whenever Pinboard (pinboard.in) is involved. Invoke immediately when the user wants to: audit or reorganize messy tags, check for broken/dead links, identify stale or outdated bookmarks, clean up their bookmark collection, or manage their Pinboard account in any way. Also use when the user says 整理书签, 检查死链, 整理 tag, 书签管理, pinboard cleanup, bookmark audit, tag consistency, timeliness check, pinboard 过时检测. Do NOT trigger for: browser bookmark management, Raindrop.io, or general URL checking without Pinboard context.
yunxiao
Use this skill for all Alibaba Cloud 云效 (Yunxiao) DevOps operations on codeup.aliyun.com. Invoke IMMEDIATELY when the user wants to: create or manage Merge Requests (MR) on codeup, update work items/tasks in 云效, query MR lists or task status, create version tags via 云效 API, or push code to a codeup remote. Key triggers: 创建 MR, 提交评审, 云效, yunxiao, codeup, 更新任务, 查看任务, 发布版本, 打 tag. Handles both MCP tool mode and aliyun CLI fallback. Do NOT use for GitHub PRs (use git-workflow), Jira, GitLab, or non-Alibaba platforms.
weekly-report
Use this skill whenever the user wants to write or generate a structured weekly work report (软件研发周报) — the formal 3-section corporate format with 本周工作总结, 下周工作计划, and 其他事项. This skill automatically collects data from git logs, Obsidian diary Work Log entries, schedule YAML files, GitHub PRs, and 云效 MRs/tasks to draft the report. Invoke when the user says 周报, 软件研发周报, 本周工作总结, 写周报, weekly report, end-of-week summary, or asks to prepare a work summary for their manager/team. Do NOT use for personal diary entries, monthly reviews, OKR summaries, meeting notes, or quarterly retrospectives.
code-sync
Use this skill to batch-sync all git repos across machines — pushing uncommitted changes at end of day or pulling latest at start of day. Invoke when the user wants to sync all repos (not just one), mentions 「下班同步」「上班更新」 「code-sync」, or describes end-of-day push / morning pull across ~/code. Triggers on: "sync all my repos", "end of day sync", "morning update", "push all dirty repos", "pull all projects", 「同步代码」「下班同步」「上班更新」. Do NOT trigger for: single-repo git operations, committing specific files (use git-workflow), general git push/pull questions, or workspace template updates.
ha-integration-reviewer
Strict Home Assistant integration code review for PR preparation. Covers Quality Scale rules, code style, Config Flow, test coverage, and docs. Invoke immediately when the user says "review my HA integration", "check HA compliance", "HA code review", "HA Quality Scale check", "home assistant PR review", "审查我的 HA 集成", "检查我的代码是否符合 HA 规范", "帮我 review 一下准备提交的代码". Launches parallel check agents across 5 dimensions. Do NOT use for: non-HA code review, configuring HA automations, HACS plugins, or Lovelace card development.
schedule-manager
(macOS only) Use this skill for ALL Apple Calendar and Reminders management tasks using osascript and reminders-cli, following GTD methodology. Invoke immediately when the user wants to: schedule a meeting or event, add a todo or reminder, check today's agenda, plan the week ahead, do a weekly review, or capture any task they don't want to forget. Also use when the user says 安排会议, 创建提醒, 查看日程, 规划下周, 添加待办, 记一下, 别忘了, 今天要做什么, 周回顾. This is the right skill any time the user wants to interact with macOS Calendar or Reminders apps.
Didn't find tool you were looking for?