Memory
Store, recall, reflect on, and organize persistent agent memory. Memory persists across sessions in .data/organizations/<id>/memory/. Use to avoid redundant work and build organizational knowledge over time.
- License 许可
- MIT
- 所属仓库
- benmcnulty/orgos
- 最近更新
- 2026-10-25
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- Memory
- tools
- [ "file_read", "file_write", "file_list" ]
- context
- 3072
- version
- 1.0.0
- description
- Store, recall, reflect on, and organize persistent agent memory. Memory persists across sessions in .data/organizations/<id>/memory/. Use to avoid redundant work and build organizational knowledge over time.
03 SKILL.md 正文
Memory Skill
Provides structured persistent memory for agents, stored in the organization's memory directory.
Operations
Memorize
Save a new memory entry.
Format: Markdown file with frontmatter
Path: .data/organizations/{{ORG_ID}}/memory/<category>/<slug>.md
---
type: fact | decision | context | reference
category: <domain>
created: {{TIMESTAMP}}
tags: [<tag1>, <tag2>]
---
<memory content>
Categories: decisions, facts, context, references, procedures
Recall
Search for relevant memories by reading the memory directory and filtering by category or tag.
LIST: organizations/{{ORG_ID}}/memory/
→ READ relevant files
→ Return matching content with file path for citation
Reflect
After completing a significant task, write a reflection memory:
- What was the goal?
- What approach was taken?
- What worked, what didn't?
- What should be done differently next time?
Organize
Periodically consolidate memory files:
- Merge duplicate or overlapping entries
- Archive stale entries (older than 90 days with no recall)
- Produce a
MEMORY_INDEX.mdwith a summary of current memory contents
Compact
When memory directory exceeds 50 files, compact by:
- Reading all files
- Grouping by category
- Merging related entries into consolidated documents
- Deleting merged source files
Memory File Naming
<category>/<YYYY-MM-DD>-<slug>.md
Examples:
decisions/2026-04-01-infrastructure-approach.md
facts/2026-04-05-gemma4-model-tiers.md
context/2026-04-05-current-org-priorities.md
When to Use This Skill
- Before starting a task: recall relevant prior decisions or context
- After completing a task: memorize key outcomes and learnings
- When asked a question answered in prior sessions: recall before reasoning from scratch
Anti-Patterns
- Do not memorize raw conversation transcripts — extract the key insight
- Do not create a new file for every small fact — batch related facts
- Do not recall indiscriminately — retrieve targeted to the current task
- Do not store duplicates — check for existing entries before writing
04 同仓库更多 Skills
Web Browsing
Search the web via DuckDuckGo, fetch and extract content from URLs, and look up reference material. Use for real-time information, external documentation, and validating facts against public sources.
Vision
Capture screenshots of the application UI and analyze image content. Use for visual verification, UI inspection, accessibility review, and generating image-grounded descriptions.
Staff
Shape the organization structure, assign agent templates to roles, and manage staffed identities in the active organization.
Projects
Define delivery-oriented projects, participants, outputs, and current execution state for the active organization.
organizations
暂无简介
notifications
暂无简介