بنقرة واحدة
memory-recording
Record new knowledge to memento knowledge graph for future retrieval
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Record new knowledge to memento knowledge graph for future retrieval
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | memory-recording |
| description | Record new knowledge to memento knowledge graph for future retrieval |
Use this skill to persist valuable knowledge acquired during tasks. This creates "mid-term memory" that bridges the gap between training data and future sessions.
Record memories at these trigger points:
Ask yourself:
Before creating new entities, search for existing ones to update:
memento_search_nodes(query: "<concept you want to record>")
If a relevant entity exists, use memento_add_observations to append new
information rather than creating duplicates.
Use descriptive, human-readable names:
Naming patterns:
<Project> <Topic> <Type> - "Rizer API Error Handling Pattern"<Identifier> <Description> - "ADR-0001 Event Sourcing Decision"<Topic> <Date Context> - "CI Pipeline Fix January 2026"Use descriptive snake_case or Title Case types. Common types observed:
| Category | Types |
|---|---|
| Decisions | architecture_decision, design_pattern, implementation_decision |
| Technical | bug_analysis, bug_fix, debugging_insight, troubleshooting_finding |
| Code | rust_pattern, architectural_pattern, test_pattern, domain_model |
| Process | pr_pattern, git_branch, deployment_success, implementation_plan |
| Documentation | documentation_update, architecture_decision_record |
| Analysis | code_analysis, technical_analysis, project_analysis |
Choose the most specific type that fits, or create a new descriptive type.
ALWAYS include project metadata as the first observation:
Project: rizer | Path: /home/jwilger/projects/rizer | Scope: PROJECT_SPECIFIC
For general knowledge not tied to a specific project:
Scope: GENERAL | Topic: <general topic area>
Each observation should be a complete, self-contained fact:
Include:
memento_create_entities(entities: [{
name: "Rizer Database Connection Strategy",
entityType: "architecture_decision",
observations: [
"Project: rizer | Path: /home/jwilger/projects/rizer | Scope: PROJECT_SPECIFIC",
"Decision: Use sqlx with connection pooling, max 10 connections",
"Rationale: Testing showed 3x throughput improvement over single connection",
"Date: 2026-01-20",
"Configuration in src/db/pool.rs with PgPoolOptions",
"Environment variable DATABASE_MAX_CONNECTIONS controls pool size"
]
}])
memento_add_observations(observations: [{
entityName: "Rizer Database Connection Strategy",
contents: [
"Update 2026-01-25: Added connection timeout of 30s after intermittent failures",
"New config option DATABASE_CONNECT_TIMEOUT added"
]
}])
If the new knowledge connects to existing entities, create relations:
memento_create_relations(relations: [{
from: "Rizer Database Connection Strategy",
to: "Rizer Performance Optimization Plan",
relationType: "implements",
strength: 0.9,
confidence: 1.0
}])
Common relation types:
implements - This implements/satisfies thatdepends_on - This requires thatrelates_to - General associationsupersedes - This replaces that decisioncaused_by - This issue was caused by thatBefore finishing a task/session, verify:
After implementing authentication for rizer:
1. Search for existing: memento_search_nodes("rizer authentication")
→ No existing entities found
2. Create new entity:
memento_create_entities(entities: [{
name: "Rizer Authentication Architecture",
entityType: "architecture_decision",
observations: [
"Project: rizer | Path: /home/jwilger/projects/rizer | Scope: PROJECT_SPECIFIC",
"Decision: JWT-based authentication with refresh tokens",
"Library: jsonwebtoken crate for JWT handling",
"Token expiry: 15 minutes access, 7 days refresh",
"Storage: Refresh tokens stored in PostgreSQL with user_sessions table",
"Rationale: Stateless access tokens reduce DB load, refresh tokens allow revocation",
"Security: Tokens signed with RS256, keys rotated monthly",
"Implementation date: 2026-01-20",
"Key files: src/auth/jwt.rs, src/auth/middleware.rs, src/db/sessions.rs"
]
}])
3. Create relation to existing user entity:
memento_create_relations(relations: [{
from: "Rizer Authentication Architecture",
to: "Rizer User Management",
relationType: "implements",
strength: 0.8,
confidence: 1.0
}])