Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Structured memory system for AI agents. Context death resilience (checkpoint/recover), structured storage, Obsidian-compatible markdown, and local semantic search.
Structured memory system for AI agents. Context death resilience (checkpoint/recover), structured storage, Obsidian-compatible markdown, and local semantic search.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Structured memory system for AI agents.
npm install -g @foresigxt/foresigxt-cli-memory
# Initialize vault (creates folder structure + templates) fsxmemory init ~/memory
For isolated workspace memory (each workspace has its own vault): # Create .env in workspace root echo 'FSXMEMORY_PATH=/path/to/workspace/memory' > .env # All agents in THIS workspace use this isolated vault fsxmemory stats # Works automatically! For shared memory across all workspaces: # Set global environment variable (in ~/.bashrc or ~/.zshrc) export FSXMEMORY_PATH=/path/to/shared/memory # All agents in ALL workspaces share the same vault Or: Use --vault flag for one-time override: fsxmemory stats --vault /path/to/other/vault
# Types: fact, feeling, decision, lesson, commitment, preference, relationship, project, procedural, semantic, episodic fsxmemory remember decision "Use Postgres over SQLite" --content "Need concurrent writes for multi-agent setup" fsxmemory remember lesson "Context death is survivable" --content "Checkpoint before heavy work" fsxmemory remember relationship "Justin Dukes" --content "Client contact at Hale Pet Door" fsxmemory remember procedural "Deploy to Production" --content "1. Run tests 2. Build 3. Deploy" fsxmemory remember semantic "Event Loop Concept" --content "JavaScript's concurrency model..." fsxmemory remember episodic "First Production Deploy" --content "Deployed v2.0 today, team was nervous but it went well"
fsxmemory capture "TODO: Review PR tomorrow"
# Keyword search (fast) fsxmemory search "client contacts" # Semantic search (slower, more accurate) fsxmemory vsearch "what did we decide about the database"
fsxmemory checkpoint --working-on "PR review" --focus "type guards" --blocked "waiting for CI"
fsxmemory recover --clear # Shows: death time, last checkpoint, recent handoff
fsxmemory handoff \ --working-on "Foresigxt Memory improvements" \ --blocked "npm token" \ --next "publish to npm, create skill" \ --feeling "productive"
fsxmemory recap # Shows: recent handoffs, active projects, pending commitments, lessons
Migrate existing vaults from OpenClaw, Obsidian, or other markdown-based systems:
# See what would be changed without modifying files fsxmemory migrate --from openclaw --vault /path/to/vault --dry-run
# Recommended: Creates automatic backup before migration fsxmemory migrate --from openclaw --vault /path/to/vault --backup # The migration: # β Adds YAML frontmatter to all markdown files # β Renames directories (proceduralβprocedures, semanticβknowledge, episodicβepisodes) # β Creates .fsxmemory.json config file # β Preserves all content and custom categories # β Creates timestamped backup for rollback
# Restore from backup if something went wrong fsxmemory migrate --rollback --vault /path/to/vault
# Available source formats --from openclaw # OpenClaw vault format --from obsidian # Obsidian vault format --from generic # Generic markdown vault # Migration flags --dry-run # Preview changes without modifying files --backup # Create backup before migration (recommended) --force # Skip confirmation prompts --verbose # Show detailed progress --rollback # Restore from last backup
# 1. Analyze first fsxmemory migrate --from openclaw --vault ~/.openclaw/workspace/memory --dry-run # 2. Run migration with backup fsxmemory migrate --from openclaw --vault ~/.openclaw/workspace/memory --backup --verbose # 3. Verify migration worked fsxmemory stats --vault ~/.openclaw/workspace/memory fsxmemory doctor --vault ~/.openclaw/workspace/memory Migration Speed: ~53 files in 0.07 seconds β‘
Wiki-link entity mentions in markdown files: # Link all files fsxmemory link --all # Link single file fsxmemory link memory/2024-01-15.md
Foresigxt Memory includes structured templates for consistent documentation. Location: templates/ directory.
TemplateTypeUse ForSectionsdecision.mddecisionKey choices, architecture decisionsContext, Options, Decision, Outcomeprocedure.mdproceduralHow-to guides, workflows, SOPsPurpose, Prerequisites, Steps, Pitfalls, Verificationknowledge.mdsemanticConcepts, definitions, mental modelsDefinition, Key Concepts, Examples, Why It Mattersepisode.mdepisodicEvents, experiences, meetingsWhat Happened, Context, Key Moments, Reflectionperson.mdpersonContacts, relationshipsContact, Role, Working With, Interactionsproject.mdprojectActive work, initiativesGoal, Status, Next Actions, Blockerslesson.mdlessonInsights, patterns learnedSituation, Lesson, Applicationhandoff.mdhandoffSession continuityWorking On, Context, Next Steps, Blockersdaily.mddailyDaily notes, journalFocus, Done, Notes
Templates are automatically selected by memory type: fsxmemory remember decision "Title" --content "..." # β templates/decision.md fsxmemory remember procedural "Title" --content "..." # β templates/procedure.md fsxmemory remember semantic "Title" --content "..." # β templates/knowledge.md fsxmemory remember episodic "Title" --content "..." # β templates/episode.md fsxmemory remember relationship "Name" --content "..." # β templates/person.md fsxmemory remember lesson "Title" --content "..." # β templates/lesson.md To view template structure: Read the template file in templates/ directory before creating a memory document. Template features: YAML frontmatter with metadata (title, date, type, status) Structured sections with placeholder guidance Wiki-link suggestions for connections Auto-generated tags
vault/ βββ .fsxmemory/ # Internal state β βββ last-checkpoint.json β βββ dirty-death.flag βββ decisions/ # Key choices with reasoning βββ lessons/ # Insights and patterns βββ people/ # One file per person βββ projects/ # Active work tracking βββ procedures/ # How-to guides and workflows βββ knowledge/ # Concepts and definitions βββ episodes/ # Personal experiences βββ handoffs/ # Session continuity βββ inbox/ # Quick captures βββ templates/ # Document templates (9 types)
Checkpoint every 10-15 min during heavy work Handoff before session end β future you will thank you Recover on wake β check if last session died Use types β knowing WHAT you're storing helps WHERE to put it Wiki-link liberally β [[person-name]] builds your knowledge graph
Foresigxt Memory uses qmd for search: # Install qmd bun install -g github:tobi/qmd # Add vault as collection qmd collection add /path/to/vault --name my-memory --mask "**/*.md" # Update index qmd update && qmd embed
Foresigxt Memory supports three ways to set the vault path (in order of precedence):
fsxmemory stats --vault /path/to/vault
export FSXMEMORY_PATH=/path/to/memory fsxmemory stats
# Create .env in workspace root cat > .env << 'EOF' FSXMEMORY_PATH=/home/user/.openclaw/workspace/memory EOF # All fsxmemory commands in this workspace use this isolated vault fsxmemory stats fsxmemory checkpoint --working-on "task" Use .env when: β Isolating workspace memory β Each project has its own separate vault β Per-project configuration β Different agents in different workspaces use different vaults β Portable β Workspace agents automatically use the right vault β Git-safe β Add .env to .gitignore to protect paths Use global export when: β Sharing memory across workspaces β All agents everywhere use one vault β Centralized knowledge β One source of truth for all projects Environment Variables: FSXMEMORY_PATH β Vault path (can be set in shell or .env file)
To create a distributable skill package (includes SKILL.md and templates/): # Package the skill npm run package-skill # Output: dist-skill/fsxmemory-skill.zip (~8KB) Package contents: SKILL.md - Complete documentation and reference templates/ - All 9 memory templates .env.example - Configuration template INSTALL.md - Quick setup guide Distribution: Share the fsxmemory-skill.zip file with other agents/teams. They can extract it to get: Complete skill documentation Ready-to-use templates Configuration examples For OpenClaw/ClaudeHub: The packaged skill is ready for upload to skill repositories.
npm: https://www.npmjs.com/package/@foresigxt/foresigxt-cli-memory GitHub: https://github.com/Foresigxt/foresigxt-cli-memory Issues: https://github.com/Foresigxt/foresigxt-cli-memory/issues
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.