Yolog Skills
Recall project memories during coding sessions. Give your AI coding tools access to decisions, facts, preferences, and context extracted from your past coding sessions.
What is this?
Yolog archives and analyzes your AI coding sessions, extracting valuable memories like:
- Decisions - Why you chose a particular approach
- Facts - Important information about your codebase
- Preferences - Your coding style and conventions
- Context - Background information for tasks
- Tasks - Work in progress and completed items
Works with Claude Code, OpenClaw, Cursor, Windsurf, GitHub Copilot, and Cline.
Available Skills
/yo - Memory Recall & Management
| Command |
Description |
/yo context |
Get session context + memories (use at session start) |
/yo project |
Get project-wide context (shared across all sessions) |
/yo memory-search <query> |
Search extracted memories (hybrid FTS + vector) |
/yo memory-search tag:<name> |
Filter memories by tag (e.g., tag:bug, tag:security) |
/yo project-search <query> |
Search raw session messages (BM25 FTS) |
/yo memories |
List memories from current session (with IDs) |
/yo update <id> state=<value> |
Update a memory's state or confidence |
/yo delete <id> |
Remove a memory (soft delete) |
/yo tags |
List available memory tags |
/yo status |
Check Yocore connection status |
/yo init [client] |
Set up config for LLM clients (auto-detect or specify) |
Examples:
/yo context
/yo memory-search error handling
/yo memory-search tag:bug authentication
/yo project-search "config migration"
/yo memories
/yo project
/yo init cursor
Note: After context compaction, session context is automatically restored - no manual /yo context needed.
Installation
Prerequisites
- Yocore installed with sessions imported
- Memory extraction enabled (Settings > AI Features)
Option 1: Plugin Install (Recommended)
In Claude Code:
/plugin marketplace add yologdev/yoskill
/plugin install yo@yoskill
This auto-registers hooks for session tracking and context restoration. Restart Claude Code after install, then run /yo init in your project to configure memory integration. It auto-detects installed LLM clients (Claude Code, OpenClaw, Cursor, Windsurf, Copilot, Cline) and injects the appropriate snippet into each.
Option 2: Manual Installation
Clone this repo
git clone https://github.com/yologdev/yoskill.git
Copy skill to your project
cp -r yoskill/skills/yo /path/to/your/project/.claude/skills/
Copy hooks (for session tracking and auto-restoration)
mkdir -p /path/to/your/project/.claude/hooks
cp yoskill/hooks/session-start.sh yoskill/hooks/pre-compact.sh /path/to/your/project/.claude/hooks/
chmod +x /path/to/your/project/.claude/hooks/*.sh
Configure hooks in .claude/settings.local.json:
{
"hooks": {
"SessionStart": [
{ "hooks": [{ "type": "command", "command": ".claude/hooks/session-start.sh" }] }
],
"PreCompact": [
{ "hooks": [{ "type": "command", "command": ".claude/hooks/pre-compact.sh" }] }
]
}
}
Run /yo init to configure CLAUDE.md and permissions
Verify Yocore is Running
After installation, ensure the Yocore HTTP API is accessible:
curl -s http://127.0.0.1:19420/health
If this fails, start Yocore.
Start Using
/yo context
/yo memory-search database migrations
/yo memory-search tag:bug
/yo project-search "how we implemented auth"
Auto-Approve Permissions
By default, Claude Code will prompt you to approve each /yo command. Since the plugin is installed at user scope, add these to your user-level ~/.claude/settings.json:
{
"permissions": {
"allow": [
"Skill(yo)",
"Bash(curl:*)"
]
}
}
Skill(yo) — auto-approves the /yo skill invocation
Bash(curl:*) — auto-approves the curl calls the skill makes to Yocore
Tip: Running /yo init in any project will set this up automatically.
These are safe because /yo only calls your local Yocore API (localhost:19420).
Features
Automatic Context Restoration
When context compaction happens, the SessionStart hook automatically injects your session context back into Claude's context. No manual action needed - just continue where you left off.
Lifeboat Pattern
Before context compaction, the PreCompact hook saves your current work state (active task, decisions, questions). This "lifeboat" ensures nothing is lost during compaction.
Tag-Based Search
Search memories by tags for targeted results:
tag:bug - Find bug-related memories
tag:security - Security concerns
tag:frontend - Frontend-specific patterns
tag:performance - Performance optimizations
How it Works
The skills call the Yocore HTTP API (localhost:19420) to search your local memory database. All data stays on your machine - nothing is sent to external servers.
LLM Tool → curl → Yocore HTTP API → Local SQLite DB → Memories
Other LLM Tools
For non-Claude-Code tools, /yo init auto-detects installed clients and injects the memory snippet. You can also configure manually:
- API-REFERENCE.md — Full Yocore HTTP API docs (all endpoints, request/response formats)
- LLM-PROMPT-SNIPPET.md — Copy-pasteable system prompt snippet for
.cursorrules, .windsurfrules, .clinerules, .github/copilot-instructions.md, or OpenClaw's USER.md
Requirements
- Yocore (local HTTP server)
- An LLM coding tool (Claude Code, OpenClaw, Cursor, Windsurf, Copilot, or Cline)
- Sessions with memory extraction completed
curl and jq installed (typically available by default)
License
MIT