Skip to content

docs(skill): agent identity rule and memory setup guidance - #2

Merged
vbfs merged 1 commit into
mainfrom
docs/skill-agent-setup
Oct 13, 2026
Merged

vbfs merged 1 commit into
mainfrom
docs/skill-agent-setup

Conversation

@vbfs

@vbfs vbfs commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #1 (this commit landed after the merge).

  • Skill (skills/SKILL.md)
    • Agents always pass their role as agent (e.g. backend-agent) on write_context and set_state, with the same id every session.
    • New §7, "Setting up the memory server (only when asked)": Node ≥ 22.16 check, .mcp.json template, model choice by available RAM (arctic / granite / none, with measured RAM per process on macOS and Linux), one model for every agent in a project, .gitignore entry, first-run download note.
    • Clarifies that AGENT_MEMORY_AGENT only helps when each agent has its own config; agents sharing one .mcp.json (e.g. Claude Code subagents) identify themselves via the agent parameter.
  • Server instructions (src/server.js): the same agent rule is sent to every MCP client automatically, so it applies even without the skill.
  • README: the "Teach your agents" snippet includes the agent rule.

Test plan

  • npm test — 37 pass (1 opt-in model test skipped)

🤖 Generated with Claude Code

The skill now tells agents to pass their role as `agent` on every write
(also added to the server instructions, so it applies without the skill),
and adds a setup section for when an agent is asked to configure memory:
Node >= 22.16, .mcp.json template, model choice by available RAM, one
model for all agents in a project, .gitignore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vbfs
vbfs merged commit de98f7e into main Oct 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant