Logo Acontext Installer

Acontext Installer

Tổ chứcPhổ biến
memodb-io
acontext-installer

Install Acontext, Login & Init Acontext Project, Add Skill Memory to Agent.

Tổng quan

Nhà phát hànhmemodb-io
Kho mãAcontext
Tên kỹ năngacontext-installer
Sao
3.7K
Bản fork
336
Tệp đi kèm
9
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được memodb-io công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Acontext Installer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/memodb-io/Acontext/tree/main/landingpage/public
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/memodb-io/Acontext.git /tmp/Acontext
mkdir -p .claude/skills
cp -r /tmp/Acontext/landingpage/public .claude/skills/acontext-installer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Acontext Installer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Acontext Installer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Acontext Installer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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: { memory: "acontext" },
    entries: {
      "acontext": { enabled: true, config: {} }
    }
  }
}

Restart the gateway:

bash
openclaw gateway

Acontext Project Management

After you have logged in, you can manage Acontext projects via CLI:

  1. acontext dash projects list — list available projects
  2. If user ask you to use a existing Acontext project, you should let the user to provide the api key. And then switch to this project acontext dash projects select --project <project-id> --api-key <sk-ac-...>.
  3. To create, ask for an org name and project name, then run: acontext dash projects create --name <project-name> --org <org-id>. This command returns the API key and auto-saves it as the default project (no need to run select afterwards).
  4. After select or create, verify the project is configured correctly:
    • Run acontext dash ping to verify API connectivity. A successful response confirms the project is reachable.

CLI Commands Reference

All dashboard commands are under acontext dash:

Command GroupSubcommandsDescription
dash projectslist, select, create, delete, statsManage projects and organizations
dash ping—Verify API connectivity for the current project
dash open—Open the Acontext Dashboard in browser

Skill Commands

CommandDescription
acontext skill upload <directory>Upload a local skill directory to Acontext

Example — upload a skill directory:

bash
acontext skill upload ./my-skill-dir
acontext skill upload ./my-skill-dir --user alice@example.com
acontext skill upload ./my-skill-dir --api-key sk-ac-xxx

The directory must contain a SKILL.md with name and description in YAML front-matter.

FlagDefaultDescription
--userlogged-in email (if any)User identifier for the skill
--api-keycredentials.json defaultProject API key
--meta—Metadata as JSON string
--base-url—API base URL override

Other CLI Commands

CommandDescription
acontext loginLog in via browser OAuth
acontext logoutClear stored credentials (auth.json + credentials.json)
acontext whoamiShow the currently logged-in user
acontext versionShow version info
acontext upgradeUpgrade CLI to latest version

Claude Code Plugin Configuration

After acontext login, the plugin works automatically. The following env vars can override defaults if needed:

Env VarDefaultDescription
ACONTEXT_USER_IDENTIFIER"claude_code"User identifier for session scoping
ACONTEXT_BASE_URLhttps://api.acontext.app/api/v1API base URL
ACONTEXT_LEARNING_SPACE_IDauto-createdExplicit Learning Space ID
ACONTEXT_SKILLS_DIR~/.claude/skillsDirectory where skills are synced
ACONTEXT_AUTO_CAPTUREtrueStore messages after each agent turn
ACONTEXT_AUTO_LEARNtrueTrigger skill distillation after sessions
ACONTEXT_MIN_TURNS_FOR_LEARN4Minimum turns before triggering auto-learn

Claude Code MCP Tools

ToolDescription
acontext_search_skillsSearch through skill files by keyword
acontext_get_skillRead the content of a specific skill file
acontext_session_historyGet task summaries from recent past sessions
acontext_statsShow memory statistics (sessions, skills, configuration)
acontext_learn_nowTrigger skill learning from the current session

OpenClaw Plugin Configuration

After acontext login, the plugin works automatically. Optional overrides in openclaw.json config:

KeyTypeDefaultDescription
userIdentifierstring"openclaw"User identifier for session scoping
baseUrlstringhttps://api.acontext.app/api/v1API base URL
learningSpaceIdstringauto-createdExplicit Learning Space ID
skillsDirstring~/.openclaw/skillsDirectory where skills are synced
autoCapturebooleantrueStore messages after each agent turn
autoLearnbooleantrueTrigger skill distillation after sessions
minTurnsForLearnnumber4Minimum turns before triggering auto-learn

OpenClaw Agent Tools

ToolDescription
acontext_search_skillsSearch through skill files by keyword
acontext_session_historyGet task summaries from recent past sessions
acontext_learn_nowTrigger skill learning from the current session

OpenClaw CLI Commands

CommandDescription
openclaw acontext skillsList learned skills in the Learning Space
openclaw acontext statsShow Acontext memory statistics

Troubleshooting

"command not found: acontext"

Restart your shell or run source ~/.bashrc / source ~/.zshrc.

Login fails or times out

  • Ensure you have internet access and can reach dash.acontext.io
  • In non-TTY mode, make sure to run acontext login --poll after the user completes browser login
  • Check stored credentials with acontext whoami

Switching API Key or Project

If the user needs to change their API key or switch to a different project, use:

bash
acontext dash projects select --project <project-id> --api-key <sk-ac-...>

Run acontext dash ping afterwards to verify connectivity.

API returns 401 Unauthorized

  • Run acontext dash ping to check if the current project key is valid
  • If ping fails, re-select with a valid API key: acontext dash projects select --project <id> --api-key <sk-ac-...>
  • Verify login status with acontext whoami
  • Re-login with acontext login if needed

Claude Code plugin not working

  • Run acontext whoami to verify you are logged in
  • Check Claude Code logs for [info] acontext: or [warn] acontext: messages
  • Verify the plugin is installed: /plugin list
  • Skills should appear in ~/.claude/skills/ after the first session

OpenClaw plugin not loading

  • Confirm plugins.slots.memory is set to "acontext" in openclaw.json
  • Run acontext whoami to verify you are logged in
  • Run openclaw gateway to restart

No projects found

  • Run acontext dash projects list to check
  • Create one with acontext dash projects create --name my-project --org <org-id>
  • Or visit dash.acontext.io to create projects in the browser

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Acontext Installer làm được gì?

Install Acontext, Login & Init Acontext Project, Add Skill Memory to Agent.

Vì sao nên dùng Acontext Installer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Acontext Installer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Acontext Installer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/memodb-io/Acontext/tree/main/landingpage/public. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Acontext Installer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Acontext Installer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Acontext Installer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Acontext Installer có miễn phí không?

Có. Kỹ năng này được memodb-io phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇