Chuyển tới nội dung chính

Claude

Claude Code reads CLAUDE.md for project guidance and supports external tool configuration through .mcp.json.

Install

engram link claude

Files written

FilePurpose
CLAUDE.mdProject guidance bootstrap
.claude/commands/engram.mdClassic /engram slash command
.claude/skills/engram/SKILL.mdAgent Skill for slash invocation
.claude/settings.jsonSessionStart and UserPromptSubmit hooks
.mcp.jsonMCP registration

Claude receives both .claude/commands/engram.md and .claude/skills/engram/SKILL.md so /engram appears in older command menus and newer skill-aware Claude Code sessions.

Global install

engram link --global claude

Engram appends a managed block to ~/.claude/CLAUDE.md (preserving user text) and writes the Claude skill to ~/.claude/skills/engram/SKILL.md. Global MCP writes to ~/.claude/mcp.json.

Runtime-first target

Claude is a runtime-first target. CLAUDE.md contains short bootstrap instructions that rely on MCP tools and hooks for detailed protocol; the Agent Skill file carries the full write/approval workflow.

Hook behavior

Claude supports startup and prompt-time additional context injection. SessionStart loads routed memory at startup; UserPromptSubmit reinjects only when routed Engram context changes.

Next steps