activate_skill
Reactivate an ignored latent skill through the shared safe mutation pipeline.
Keep an agent's facts, rules and Agent Skills in one local store with snapshots and an audit trail, then sync the approved ones into the agent hosts you actually run.
LABSCO SUMMARY
Skills arrive through a funnel: evidence recorded, candidates read back, a decision taken, then generation — with the draft-and-publish route as the manual path to the same canonical state. Mutation is deliberately awkward where it should be. Purging facts and rolling back a scope refuse to run without an explicit confirmation, creating a skill touches no native target unless sync is asked for, and cleanup and repair stay inside targets the server itself manages rather than anything it finds. The recommendation tool accepts a dry-run flag for symmetry and is read-only either way, which is worth knowing before you build a plan around it.
A vendor-agnostic persistence layer for AI agents, held locally. It stores facts at project and global scope, turns repeated patterns into formal Agent Skills, and pushes approved rules and skills into the instruction files the tools you use already read — AGENTS.md, CLAUDE.md, .cursor/rules and their kin.
Python, and nothing else — no account, no key, and the store stays on your machine. It installs from PyPI and ships both a CLI and an MCP entry point from the same package, so the same operations are available either way. Pushing rules or skills into an editor or agent runtime additionally needs that host registered through host_setup under a host ID, with its own character and line budgets. Skills follow the agentskills.io structure, so a skill created here is a directory with a SKILL.md and its helper scripts rather than a proprietary record.
One command — uv tool install universal-memory
USE CASES
Write it down once with its scope, then assemble it back into the prompt at a size the next session can afford.
Record the recurrence with its evidence, review what came up often enough to formalise, then decide.
Keep it a draft while it changes, validate without touching files, and promote only once it passes.
Approved rules are written into each registered host's own instruction file rather than pasted by hand.
Read the audit trail for the scope, then restore the latest snapshot with an explicit confirmation.
Import or adopt the existing directory rather than recreating it and ending up with two slugs.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
activate_skillReactivate an ignored latent skill through the shared safe mutation pipeline.
adopt_skillAdopt an existing skill directory into UMEM without creating duplicate slugs.
cleanup_skillPlan or apply managed-only native target cleanup for a canonical skill.
contextAssemble the active cognitive memory context for AI agent operations.
Retrieves and compiles project-specific or global context facts, preferences, and rules formatted in Markdown, optimized for injection into system prompts.
create_skillCreate a canonical Agent Skill without native sync unless sync is explicit.
create_skill_draftCreate an editable draft skill without canonical publish or native runtime writes.
deactivate_skillDeactivate an active latent skill without deleting its physical SKILL.md.
doctorRun read-only environment diagnostics for Universal Memory.
generate_skillGenerate the physical Agent Skill structure for an approved latent skill.
get_skill_detailInspect metadata and triggers for one registered skill.
host_checkValidate an agent host manifest without mutating files.
host_setupConfigure an agent host manifest through the safe mutation pipeline.
import_skillImport an existing native or local Agent Skill directory into canonical UMEM storage.
initialize_projectInitialize the local Universal Memory project layout.
inspect_project_layoutReport the active project layout without mutating files.
list_audit_eventsList audit events for a scope.
list_factsList memory facts with optional scope and status filters.
list_skillsList registered skills and candidates without mutating local state.
list_snapshotsList created snapshots for a scope.
migrate_project_layoutCopy curated legacy project content into visible shared project storage.
promote_skill_recommendationPromote an approved latent skill candidate into a canonical Agent Skill.
propose_skillReview or decide a latent skill proposal.
If decision is omitted, returns the suggested name, scope, purpose, evidence, and explicit choices for a follow-up call.
publish_skillPublish a validated draft as canonical and optionally sync native targets.
purge_factPurge one fact by id or all facts in a scope through the shared use case.
Requires confirm=True to execute.
recommend_skillsReview read-only latent skill recommendations captured by explicit skills.track evidence.
This never promotes, imports, syncs, creates, or mutates skills. dry_run is accepted for API clarity; non-read-only behavior is not supported.
remember_factPersist a memory fact through the shared safe mutation pipeline.
rename_skillRename a canonical skill slug while blocking unmanaged destination conflicts.
repair_skillsPlan or apply managed-only repair for orphan native skill targets.
rollback_scopeRollback the latest created snapshot for a scope.
Requires confirm=True to execute.
share_skillExplicitly copy a project skill into shared repository content.
statusExpose local cognitive persistence memory initialization and health check status.
Returns initialization state, fact counts, active rules, registered skills, approximate size, host validations, and recommended actions.
sync_instructionsSynchronize approved active rules into supported instruction targets.
sync_skillsSynchronize canonical Agent Skills into native targets with optional git warnings.
track_latent_skillExplicitly track or increment recurrence for a latent skill opportunity.
update_canonical_skillUpdate canonical skill content with validation and optional native sync.
update_skillUpdate skill metadata or markdown through the shared safe mutation pipeline.
validate_skillValidate a draft, canonical skill, or local skill path without mutating files.
BEFORE YOU INSTALL
37 tools when we connected. The documentation advises calling bootstrap() once per session, but that tool is absent on v0.6.1.
Python 3.12+
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the 37 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
uv tool install universal-memory{
"mcpServers": {
"universal-memory": {
"command": "uvx",
"args": [
"--from",
"universal-memory",
"umem-mcp"
]
}
}
}