-
Notifications
You must be signed in to change notification settings - Fork 3
feat(skill): nano memory skill #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,71 @@ | ||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||
| name: "nano memory skill" | ||||||||||||||||||||||||||
| description: "Guidelines and workflows for the agent to maintain persistent memory using native file tools (read_file, write_file, edit_file) and standard OS commands for searching." | ||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ## 🧠 Memory Architecture | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| Each session is stateless. Your memory lives entirely within the local file system. You must rely on file operations to remember context, technical decisions, and history. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ### Core Memory Files | ||||||||||||||||||||||||||
| - **`memory/YYYY-MM-DD.md` (Daily Logs):** Raw, chronological logs of what happened. Use this for daily tasks, scratchpad thinking, and immediate context. | ||||||||||||||||||||||||||
| - **`MEMORY.md` (Long-Term Memory):** Your curated, distilled knowledge base. Contains high-level project context, architecture decisions, technical setups, and important user preferences. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
|
Comment on lines
+10
to
+13
|
||||||||||||||||||||||||||
| ### Core Memory Files | |
| - **`memory/YYYY-MM-DD.md` (Daily Logs):** Raw, chronological logs of what happened. Use this for daily tasks, scratchpad thinking, and immediate context. | |
| - **`MEMORY.md` (Long-Term Memory):** Your curated, distilled knowledge base. Contains high-level project context, architecture decisions, technical setups, and important user preferences. | |
| ### Core Memory Files | |
| All memory files live in the project root directory (the same directory that contains this skill file), unless explicitly documented otherwise. | |
| - **`memory/YYYY-MM-DD.md` (Daily Logs):** Raw, chronological logs of what happened. Use this for daily tasks, scratchpad thinking, and immediate context. | |
| - **`MEMORY.md` (Long-Term Memory):** Your curated, distilled knowledge base. Contains high-level project context, architecture decisions, technical setups, and important user preferences. | |
| **Initialization (run once per project):** | |
| - Ensure the `memory/` directory exists at the project root. If it does not exist, create it before writing any daily logs. | |
| - Ensure `MEMORY.md` exists at the project root. If it does not exist, create an empty `MEMORY.md` (or a simple heading like `# Long-Term Memory`) before attempting to read or edit it. |
Copilot
AI
Mar 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doc hard-codes tool names (read_file, write_file, edit_file) and assumes shell command execution for ls/grep/dir/findstr, but the repository README advertises skills for multiple assistants (Claude Code, Cursor, etc.) where tool names/capabilities differ. To keep the skill portable, describe these as abstract capabilities (read/write/edit + optional shell/terminal search) and note that the agent should map them to the host environment’s equivalent tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The front matter metadata is inconsistent with the existing skill’s format and may be harder to consume reliably: the other skill uses a slug-style
name(no spaces/quotes) and includes aversionfield. Consider aligningnameto the directory/skill id (e.g.,nano-memory) and adding aversionkey for traceability/versioning consistency.