Skip to content

feat(skills): add remember bundled skill#156

Merged
emal-avala merged 3 commits intomainfrom
feat/skill-remember
Apr 22, 2026
Merged

feat(skills): add remember bundled skill#156
emal-avala merged 3 commits intomainfrom
feat/skill-remember

Conversation

@emal-avala
Copy link
Copy Markdown
Member

Summary

Adds the `remember` bundled skill — a one-liner for users to save insights to memory with the correct two-step write discipline (file + MEMORY.md index) baked in.

Before: "remember that I prefer X" requires the agent to re-derive the memory write protocol from scratch each time, and the user hopes it got the index format right.

After: `/remember` triggers a skill prompt that enforces the right type classification, filename, frontmatter, and index line format.

Why

The memory system already has strict write discipline (see `crates/lib/src/memory/writer.rs`). But invoking it consistently from free-form user input is error-prone — the agent sometimes writes straight into MEMORY.md, picks the wrong type, or duplicates an existing memory. This skill codifies the correct flow.

Complements `/btw` (which writes a free-form note without asking the model) — `/remember` asks the model to classify, name, and dedupe, which is more appropriate when the insight is structured or nuanced.

Test plan

  • `cargo fmt --all` clean
  • `cargo check` passes
  • `cargo test -p agent-code-lib --lib skills` (11 tests pass, including bundled-skill override test)
  • Manual: `/remember user prefers pytest over unittest` → model picks type `user`, writes file + index entry

Gives users a one-liner to save insights with the two-step write
discipline (file + MEMORY.md index), without having to explain the
memory format every time.

The prompt enforces:
- pick the right memory type (user / feedback / project / reference)
- kebab-case filename, required frontmatter fields
- one-line index entry under the 150-char limit
- no duplicates, no content derivable from the codebase
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@emal-avala emal-avala merged commit 0b12223 into main Apr 22, 2026
13 of 14 checks passed
@emal-avala emal-avala deleted the feat/skill-remember branch April 22, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant