AgentSkillsCN

memory-cli-ops

熟练运用 memory-cli 命令,高效执行并排查命令行工具在情节管理、模式分析及存储操作中的各类问题。无论是运行 CLI 命令、调试 CLI 问题,还是讲解命令用法、引导用户完成 CLI 流程,此技能都游刃有余。

SKILL.md
--- frontmatter
name: memory-cli-ops
description: Execute and troubleshoot memory-cli commands for episode management, pattern analysis, and storage operations. Use this skill when running CLI commands, debugging CLI issues, explaining command usage, or guiding users through CLI workflows.

Memory CLI Operations

Execute and troubleshoot the memory-cli for the self-learning memory system.

Quick Reference

When to Use

  • Running CLI commands for episode/pattern management
  • Debugging CLI command failures
  • Understanding command syntax and options
  • Guiding users through CLI workflows

CLI Overview

Location: ./target/release/memory-cli Output Formats: human (default), json, yaml

Global Options

bash
memory-cli [OPTIONS] <COMMAND>

Options:
  -c, --config <FILE>    Configuration file path
  -f, --format <FORMAT>  Output format (human|json|yaml)
  -v, --verbose          Enable verbose output
  --dry-run              Show what would be done

Commands Overview

CommandAliasPurpose
episodeepEpisode management
patternpatPattern analysis
storagestStorage operations
configcfgConfiguration
healthhpHealth monitoring
backupbakBackup/restore
monitormonMetrics

See commands.md for detailed command documentation and examples.md for common workflows.