Agent Skillsrohitg00/agentmemory › agentmemory-config

agentmemory-config

GitHub

用于配置 agentmemory 的环境变量、端口及功能开关。适用于启用特性、修改端口、设置 API Key、配置认证或排查默认关闭原因的场景。

plugin/skills/agentmemory-config/SKILL.md rohitg00/agentmemory

Trigger Scenarios

配置环境变量 修改服务端口 设置 API Key 开启或关闭特定功能 配置身份验证

Install

npx skills add rohitg00/agentmemory --skill agentmemory-config -g -y
More Options

Non-standard path

npx skills add https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/agentmemory-config -g -y

Use without installing

npx skills use rohitg00/agentmemory@agentmemory-config

指定 Agent (Claude Code)

npx skills add rohitg00/agentmemory --skill agentmemory-config -a claude-code -g -y

安装 repo 全部 skill

npx skills add rohitg00/agentmemory --all -g -y

预览 repo 内 skill

npx skills add rohitg00/agentmemory --list

SKILL.md

Frontmatter
{
    "name": "agentmemory-config",
    "description": "agentmemory configuration, environment variables, ports, and feature flags. Use when enabling a feature, changing ports, setting an API key, configuring auth, or explaining why a feature is off by default.",
    "user-invocable": false
}

agentmemory reads configuration from the environment and from ~/.agentmemory/.env (one KEY=value per line, no export prefix). Restart the server after changing it.

Quick start

Enable richer memory and set a provider key in ~/.agentmemory/.env:

ANTHROPIC_API_KEY=sk-ant-...
AGENTMEMORY_AUTO_COMPRESS=true
AGENTMEMORY_INJECT_CONTEXT=true

Defaults worth knowing

  • No API key is required. Without one, agentmemory runs zero-LLM with BM25 plus local embeddings.
  • Token-spending features ship OFF on purpose: AGENTMEMORY_AUTO_COMPRESS (LLM summaries) and AGENTMEMORY_INJECT_CONTEXT (auto context injection) both cost tokens proportional to tool-use frequency.
  • Tool visibility: AGENTMEMORY_TOOLS=all (default) or core for the lean set.
  • Auth: set AGENTMEMORY_SECRET to require Authorization: Bearer on the REST API.

Ports

REST is the anchor at 3111. Streams = N+1 (3112), viewer = N+2 (3113), engine = N+46023 (49134). Relocate the whole block with --port <N> or --instance <N>.

See also

  • agentmemory-rest-api for how the secret is used.
  • agentmemory-architecture for the port quartet rationale.

Reference

The full recognized-variable list lives in REFERENCE.md, generated by scanning src/.

Version History

  • a8e7d19 Current 2026-07-24 11:38

Same Skill Collection

plugin/skills/agentmemory-architecture/SKILL.md
plugin/skills/agentmemory-hooks/SKILL.md
plugin/skills/agentmemory-mcp-tools/SKILL.md
plugin/skills/agentmemory-rest-api/SKILL.md
plugin/skills/commit-context/SKILL.md
plugin/skills/commit-history/SKILL.md
plugin/skills/forget/SKILL.md
plugin/skills/handoff/SKILL.md
plugin/skills/recall/SKILL.md
plugin/skills/recap/SKILL.md
plugin/skills/remember/SKILL.md
plugin/skills/session-history/SKILL.md
plugin/skills/write-agentmemory-skill/SKILL.md
plugin/skills/agentmemory-agents/SKILL.md

Metadata

Files
0
Version
d219763
Hash
14fce9b1
Indexed
2026-07-24 11:38

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 19:36
浙ICP备14020137号-1 $Гость$