[PR #5418] feat(tui): add rules mode to save instructions #11397

Closed
opened 2026-02-16 18:16:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5418

State: closed
Merged: No


Summary

  • Add rules mode (triggered by # prefix) to save instructions to project AGENTS.md
  • Similar to Claude Code's memory feature where # prefix saves to instruction file

Why

  • Convenient way to add persistent rules/instructions without manually editing AGENTS.md

Limitations

  • Only supports project-level AGENTS.md (not global)
  • No edit/delete functionality for saved rules

Relates to #1217

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5418 **State:** closed **Merged:** No --- ## Summary - Add rules mode (triggered by `#` prefix) to save instructions to project AGENTS.md - Similar to Claude Code's memory feature where `#` prefix saves to instruction file ## Why - Convenient way to add persistent rules/instructions without manually editing AGENTS.md ## Limitations - Only supports project-level AGENTS.md (not global) - No edit/delete functionality for saved rules Relates to #1217
yindo added the pull-request label 2026-02-16 18:16:13 -05:00
yindo closed this issue 2026-02-16 18:16:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11397