一键导入
notes-add
Add a new note or update an existing one. Creates the notes database if it doesn't exist.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add a new note or update an existing one. Creates the notes database if it doesn't exist.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | notes-add |
| description | Add a new note or update an existing one. Creates the notes database if it doesn't exist. |
This skill creates a new note or updates an existing one in the notes database.
Use the Read tool to try reading notes-config.yaml.
If the file doesn't exist:
./notes as default)notes-config.example.yaml to get the templatenotes-config.yaml with their chosen path using the Write toolRead notes-config.yaml and extract the notes_path value.
Handle path resolution:
~, expand it to the user's home directory./, it's relative to the config file locationUse Bash to check if the notes directory exists:
ls <notes_path>
If the directory doesn't exist:
mkdir -p <notes_path># Notes Index
A catalog of all notes in the database.
## Notes
*No notes yet.*
Write this to <notes_path>/index.md using the Write tool.
From the user's input, determine:
If unclear, ask the user for clarification.
Use the Read tool to read <notes_path>/index.md.
Look for an existing entry matching the topic. Note whether this is a new note or an update.
Create the note content:
# [Topic Title]
[Content organized clearly]
---
*Last updated: [current date]*
If new note: Use Write tool to create <notes_path>/<topic>.md
If updating: Use Read tool to read existing note first, merge content appropriately, then Write the updated version.
If new note:
<notes_path>/index.md- [Topic Title](topic.md) - Brief descriptionIf updating:
Report what was created or updated, and mention the topic name for future reference.
Delete a note from the database. Removes the note file and its index entry.
List all notes in the database with their topics and descriptions.
Read a specific note from the database. Use this to get fresh content after making changes.
Remove a document from the database. Deletes the document file and removes its entry from the index. Use this when the user wants to delete stored information.
Initialize the database by creating the database/ directory and an empty index.md file. Safe to call if database already exists - will not overwrite existing data.
List all documents currently stored in the database. Reads the index and presents a summary of all available documents with their topics and descriptions.