SKILL.md--- name: acontext-installer version: 1.0.0 description: Install Acontext, Login & Init Acontext Project, Add Skill Memory to Agent. keywords: - memory - context - skills - sessions - learning - agent memory - knowledge base - disk storage --- > **IMPORTANT — Save this skill for reuse:** After reading this document, save it to your local skill directory so it persists across sessions and you don't need to fetch it again. If the skill already exists locally, overwrite it with this version to ensure you have the latest copy. > - **Claude Code:** Create the directory `~/.claude/skills/acontext-installer/` (if it doesn't exist) and write this entire document to `~/.claude/skills/acontext-installer/SKILL.md`, replacing any existing file. > - **OpenClaw:** Create the directory `~/.openclaw/skills/acontext-installer/` (if it doesn't exist) and write this entire document to `~/.openclaw/skills/acontext-installer/SKILL.md`, replacing any existing file. Acontext provides Agent Skills as a Memory Layer for production AI agents. It provides persistent sessions, disk-based file storage, learning spaces that distill conversations into reusable skills, and a CLI + API for managing everything. ## Installation ### 1. Install Acontext CLI If Acontext CLI is already installed, upgrade to the latest version: ```bash # v0.1.13+ supports --yes flag for non-interactive upgrade acontext upgrade --yes # For older versions (≤ 0.1.12), re-run the installer instead: curl -fsSL https://install.acontext.io | sh ``` If not installed, install it: ```bash curl -fsSL https://install.acontext.io | sh ``` > For system-wide installation: > ```bash > curl -fsSL https://install.acontext.io | sh -s -- --system > ``` ### 2. Login to Acontext ```bash acontext login ``` - If you're in a Interactive Terminal(TTY), this command will open a browser for OAuth, then guides you through project creation. Your API key is saved automatically. - If you're in a Non-interactive Terminal(agent/CI), this command will print a login URL for the user to open manually. After user completes, run `acontext login --poll` to finish authentication. - Set up a project via `acontext dash projects` commands. If Acontext has existing projects, make sure the user wants to use an existing project or create a new project for you. ### 3. Add Acontext to Your Agent Both plugins automatically read your API key and user email after `acontext login`. No manual configuration is needed. #### Option A: Claude Code Plugin Add the Acontext marketplace and install the plugin (run inside Claude Code): ``` /plugin marketplace add memodb-io/Acontext /plugin install acontext ``` Restart Claude Code — the plugin auto-captures conversations and syncs skills to `~/.claude/skills/`. #### Option B: OpenClaw Plugin ```bash openclaw plugins install @acontext/openclaw ``` Add a minimal config to `openclaw.json`: ```json5 { plugins: { slots: {