A
agentmemory-config
by @rohitg00v
4.5(120)
此技能用于管理 agentmemory 的配置,包括环境变量、端口和功能开关。它能帮助开发者轻松设置 API 密钥、启用或禁用特定功能,以及配置认证,确保 AI 代理系统按预期运行,提升开发效率和系统稳定性。
安装方式
npx skills add https://github.com/rohitg00/agentmemory --skill agentmemory-configcompare_arrows
Before / After 效果对比
1 组使用前
在没有这个技能之前,开发者需要手动编辑配置文件或环境变量,容易遗漏关键设置或引入拼写错误,导致 AI 代理启动失败或行为异常,耗费大量时间排查和修复。
使用后
此技能通过标准化和引导式配置,显著减少了手动错误。开发者可以快速准确地设置 API 密钥、功能开关和端口,确保 AI 代理系统稳定运行,将配置错误率从高位降低。
SKILL.md
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) andAGENTMEMORY_INJECT_CONTEXT(auto context injection) both cost tokens proportional to tool-use frequency. - Tool visibility:
AGENTMEMORY_TOOLS=all(default) orcorefor the lean set. - Auth: set
AGENTMEMORY_SECRETto requireAuthorization: Beareron 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/.
用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价
统计数据
安装量10.8K
评分4.5 / 5.0
版本
更新日期2026年10月23日
对比案例1 组
用户评分
4.5(120)
5
37%
4
43%
3
13%
2
5%
1
2%
为此 Skill 评分
0.0
兼容平台
🤖claude-code
时间线
创建2026年6月25日
最后更新2026年10月23日