Memory View - Inspect and Manage Memory
Shows current work state, learned patterns, follow-ups, and environment status. Supports optional actions.
Inputs
| Input |
Type |
Default |
Purpose |
section |
string |
"all" |
all, work, followups, environments, patterns, sessions |
action |
string |
- |
clear_completed, add_followup, clear_old_sessions |
followup_text |
string |
- |
For add_followup action |
followup_priority |
string |
"normal" |
high, medium, normal |
slack_format |
bool |
false |
Use <url|text> links |
Workflow
1. Load Memory via MCP
memory_read("state/current_work") - active issues, open MRs, follow_ups
memory_read("state/environments") - environment health
memory_read("learned/patterns") - error patterns
memory_read("learned/runbooks") - runbooks
- List
memory/sessions/*.yaml - recent session logs (last 5 files)
2. Perform Action (if requested)
- clear_completed: Filter
active_issues (remove Done/Closed/Resolved), filter open_mrs (remove merged). Use memory_update or write back.
- add_followup: Append to
follow_ups with task, priority, created. Use memory_append("state/current_work", "follow_ups", item).
- clear_old_sessions: Delete session files older than 7 days from
memory/sessions/.
3. Format Output by Section
work: Active issues (key, summary, status, branch), Open MRs (id, title, url, needs_review, is_draft)
followups: List with priority emoji (🔴 high, 🟡 medium, ⚪ normal)
environments: Per-env status (healthy/issues/unknown), last_check, alerts, ephemeral namespaces
patterns: Error patterns with pattern + meaning/fix
sessions: Recent dates with last 5 actions each
4. Output Format
# 🧠 Memory View
## 📋 Current Work
### Active Issues (N)
- **AAP-XXXXX** - summary | Status: X | Branch: `branch`
### Open MRs (N)
- !1234 - title 👀📝
## 📌 Follow-ups
- 🔴/🟡/⚪ task
## 🌐 Environment Status
### ✅/⚠️/❓ stage/production/konflux
## 💡 Learned Patterns
## 📜 Recent Sessions
---
### Available Actions
- Clear completed: skill_run("memory_view", '{"action": "clear_completed"}')
- Add follow-up: skill_run("memory_view", '{"action": "add_followup", "followup_text": "..."}')
Key Details
- Chains to:
memory_edit, memory_cleanup
- Use
memory_ask("What am I working on?") for quick context
- Linkify Jira keys and MR IDs in output
1---2name: memory-view3description: View and manage persistent memory - active issues, open MRs, follow-ups, environment health, recent sessions. Use when user says "view memory", "what's in memory?", or "show current work".4---56# Memory View - Inspect and Manage Memory78Shows current work state, learned patterns, follow-ups, and environment status. Supports optional actions.910## Inputs1112| Input | Type | Default | Purpose |13|-------|------|---------|---------|14| `section` | string | "all" | all, work, followups, environments, patterns, sessions |15| `action` | string | - | clear_completed, add_followup, clear_old_sessions |16| `followup_text` | string | - | For add_followup action |17| `followup_priority` | string | "normal" | high, medium, normal |18| `slack_format` | bool | false | Use `<url\|text>` links |1920## Workflow2122### 1. Load Memory via MCP23- `memory_read("state/current_work")` - active issues, open MRs, follow_ups24- `memory_read("state/environments")` - environment health25- `memory_read("learned/patterns")` - error patterns26- `memory_read("learned/runbooks")` - runbooks27- List `memory/sessions/*.yaml` - recent session logs (last 5 files)2829### 2. Perform Action (if requested)30- **clear_completed:** Filter `active_issues` (remove Done/Closed/Resolved), filter `open_mrs` (remove merged). Use `memory_update` or write back.31- **add_followup:** Append to `follow_ups` with task, priority, created. Use `memory_append("state/current_work", "follow_ups", item)`.32- **clear_old_sessions:** Delete session files older than 7 days from `memory/sessions/`.3334### 3. Format Output by Section3536**work:** Active issues (key, summary, status, branch), Open MRs (id, title, url, needs_review, is_draft)3738**followups:** List with priority emoji (🔴 high, 🟡 medium, ⚪ normal)3940**environments:** Per-env status (healthy/issues/unknown), last_check, alerts, ephemeral namespaces4142**patterns:** Error patterns with pattern + meaning/fix4344**sessions:** Recent dates with last 5 actions each4546### 4. Output Format4748```markdown49# 🧠 Memory View5051## 📋 Current Work52### Active Issues (N)53- **AAP-XXXXX** - summary | Status: X | Branch: `branch`54### Open MRs (N)55- !1234 - title 👀📝5657## 📌 Follow-ups58- 🔴/🟡/⚪ task5960## 🌐 Environment Status61### ✅/⚠️/❓ stage/production/konflux6263## 💡 Learned Patterns64## 📜 Recent Sessions6566---67### Available Actions68- Clear completed: skill_run("memory_view", '{"action": "clear_completed"}')69- Add follow-up: skill_run("memory_view", '{"action": "add_followup", "followup_text": "..."}')70```7172## Key Details7374- **Chains to:** `memory_edit`, `memory_cleanup`75- Use `memory_ask("What am I working on?")` for quick context76- Linkify Jira keys and MR IDs in output