원클릭으로
episode-relationships
Create and traverse typed relationships between episodes for dependency tracking and knowledge graphs
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create and traverse typed relationships between episodes for dependency tracking and knowledge graphs
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Checkpoint episodes and create handoff packs for multi-agent session continuity
Configure, test, benchmark, and manage embedding providers for semantic search and vector operations
Manage episode tags for organization, filtering, and retrieval across the memory system
Generate task playbooks and explain patterns using learned strategies from episodic memory
Record and analyze recommendation sessions and feedback to drive the self-learning loop
Use and troubleshoot the Memory MCP server for episodic memory retrieval and pattern analysis. Use when working with MCP server tools, validating the MCP implementation, or debugging MCP server issues.
| name | episode-relationships |
| description | Create and traverse typed relationships between episodes for dependency tracking and knowledge graphs |
| Type | Meaning | Example |
|---|---|---|
parent-child | Hierarchical containment | Sprint contains tasks |
depends-on | Must complete first | Feature depends on API |
follows | Sequential ordering | Step 2 follows Step 1 |
related-to | Loose association | Similar approach used |
blocks | Prevents progress | Bug blocks release |
duplicates | Same work | Redundant episodes |
references | Informational link | Docs reference impl |
| Command | Purpose |
|---|---|
do-memory-cli relationship add <SRC> <TGT> <TYPE> | Create relationship |
do-memory-cli relationship remove <ID> | Remove relationship |
do-memory-cli relationship list <ID> | List relationships for episode |
do-memory-cli relationship find <ID> | Find related episodes (traversal) |
do-memory-cli relationship info <REL_ID> | Show relationship details |
do-memory-cli relationship graph <ID> | Generate dependency graph |
do-memory-cli relationship validate <ID> | Check for cycles |
| Tool | Parameters | Purpose |
|---|---|---|
add_episode_relationship | source_id, target_id, relationship_type, reason, priority | Create relationship |
remove_episode_relationship | relationship_id | Delete relationship |
get_episode_relationships | episode_id, direction, type_filter | Get relationships |
find_related_episodes | episode_id, max_depth, type_filter | Traverse graph |
check_relationship_exists | source_id, target_id, relationship_type | Check existence |
get_dependency_graph | episode_id, format | Export graph (DOT/JSON/text) |
validate_no_cycles | episode_id | Detect cycles |
get_topological_order | episode_ids | Topological sort |
# Generate Graphviz DOT output
do-memory-cli relationship graph <ID> --format dot > graph.dot
dot -Tpng graph.dot -o graph.png
# JSON graph for programmatic use
do-memory-cli relationship graph <ID> --format json
# Validate no cycles exist
do-memory-cli relationship validate <ID>
# Only outgoing (this episode -> others)
do-memory-cli relationship list <ID> --direction outgoing
# Only incoming (others -> this episode)
do-memory-cli relationship list <ID> --direction incoming
# Both directions (default)
do-memory-cli relationship list <ID> --direction both
depends-on for build/execution orderingfollows for temporal sequences within a workflowrelated-to sparingly — prefer specific typesvalidate after adding depends-on to catch cyclesget_topological_order before executing dependent episodes