context-graph/plugins/agent-context-graph-claude/skills/agent-context-graph/SKILL.md
Set up and check Claude Code context capture into Memgraph.
npx skillsauth add memgraph/ai-toolkit context-graph/plugins/agent-context-graph-claude/skills/agent-context-graphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user asks whether Claude Code activity is being captured, how Agent Context Graph hooks work, or why graph facts are missing.
Claude Code Plugin -> Claude Code Runtime Adapter -> Event Protocol -> Graph Connector -> Memgraph.
The plugin only installs runtime hook wiring. It must not assign graph meaning. Graph connectors decide which normalized events matter.
For first-time setup, run the plugin bootstrap once. It delegates to the CLI bootstrap and falls back to uvx if agent-context-graph is not installed yet:
./scripts/bootstrap.sh
If bootstrap says Memgraph is not reachable, tell the user to start Memgraph:
docker run --rm -p 7687:7687 memgraph/memgraph
Run the single CLI doctor first. It checks the same Python environment that the hook command uses:
agent-context-graph doctor --runtime claude-code --connector skills-graph --connector actions-graph --connector sessions-graph
If doctor is not available, use the strict hook smoke:
printf '{"hook_event_name":"Stop","session_id":"doctor"}' \
| agent-context-graph hook run claude-code --connector skills-graph --connector actions-graph --connector sessions-graph --strict
Do not check skills_graph with system python3; agent-context-graph may be installed in an isolated uv tool or pipx environment.
Connection settings live in ~/.config/context-graph/config.toml. Hook subprocesses read from this file (not environment variables).
If MEMGRAPH_URL, MEMGRAPH_USER, MEMGRAPH_PASSWORD, or MEMGRAPH_DATABASE environment variables are set when bootstrap runs, they are automatically written to the config file. No manual config set needed in that case.
View current config:
agent-context-graph config show
Set values:
agent-context-graph config set identity.user_id "username"
agent-context-graph config set memgraph.url "neo4j://coordinator:7687"
agent-context-graph config set memgraph.user "username"
agent-context-graph config set memgraph.password
agent-context-graph config set memgraph.database "dbname"
For HA clusters, use the neo4j:// scheme pointing to any coordinator. The driver handles routing and failover automatically:
agent-context-graph config set memgraph.url "neo4j://memgraph-coordinator-1:7687"
Supported keys: identity.user_id, memgraph.url, memgraph.user, memgraph.password, memgraph.database.
If skill usage is missing, inspect whether the session actually read or invoked a skill. Search/list results can be surfacing, not proven usage.
development
Set up and check Codex context capture into Memgraph.
tools
Used to release all toolbox, integrations, agents. Use when releasing a subproject to PyPI, Docker Hub, or when the user asks to release or publish.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------