@fixhbone/agentmap-setup
v0.1.0
Published
One-shot setup for AgentMap + Claude Code hooks
Readme
@diop/agentmap-setup
One-shot setup for AgentMap + Claude Code hooks. Connects any repo to your AgentMap project so spec context is automatically synced during Claude Code sessions.
Usage
npx @diop/agentmap-setup <PROJECT_KEY>Get your <PROJECT_KEY> from the AgentMap web dashboard under Settings > Setup.
What it does
- Creates
.agentmap/.envwith API credentials - Generates
.agentmap/sync.sh— pull context + push diffs - Configures
.claude/settings.jsonwith three lifecycle hooks:- SessionStart — pulls latest project context
- PostToolUse (Write/Edit) — tracks modified files
- Stop — pushes session diff to AgentMap
- Adds sensitive paths to
.gitignore
Requirements
- Node.js >= 18
- Claude Code CLI installed
License
MIT
