daily sync: 3 added, 4 modified, 0 deleted (3 edges)
This commit is contained in:
parent
cb3faff1b8
commit
7ec51de0d6
@ -6,7 +6,7 @@ tags: [claude-code, pattern, slash-commands, config]
|
||||
importance: 0.6
|
||||
confidence: 0.8
|
||||
created: "2026-02-13T20:07:31.742736+00:00"
|
||||
updated: "2026-03-02T00:33:27.343963+00:00"
|
||||
updated: "2026-03-02T02:08:36.791262+00:00"
|
||||
relations:
|
||||
- target: dfe48a70-b8ab-4bb5-a3d8-6116fa498168
|
||||
type: RELATED_TO
|
||||
@ -33,6 +33,11 @@ relations:
|
||||
direction: incoming
|
||||
strength: 0.73
|
||||
edge_id: c52bf965-695a-457a-a950-3e824dd87c0e
|
||||
- target: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
type: RELATED_TO
|
||||
direction: incoming
|
||||
strength: 0.81
|
||||
edge_id: d1f29f3c-3be1-48f8-9ea1-aea48bbacf3a
|
||||
---
|
||||
|
||||
Claude Code global slash commands live in ~/.claude/commands/<name>.md. The filename (minus .md) becomes the command name (e.g., sync-config.md → /sync-config). The markdown content is the prompt that gets executed when the command is invoked. Created /sync-config to commit and push ~/.claude config to its Gitea repo (homelab remote, main branch).
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: 0b72d209-d461-463c-a720-cf8d47ef5fe8
|
||||
type: BUILDS_ON
|
||||
from_id: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
from_title: "Fix: Claude Code PostToolUse hook correct JSON format"
|
||||
to_id: ba189013-3890-4464-a22d-cdc3d68d8068
|
||||
to_title: "Fixed PostToolUse hook context injection"
|
||||
strength: 0.86
|
||||
created: "2026-03-02T02:08:36.768785+00:00"
|
||||
updated: "2026-03-02T02:08:36.768785+00:00"
|
||||
---
|
||||
|
||||
Auto-edge: Fix: Claude Code PostToolUse hook correct JSON format → Fixed PostToolUse hook context injection
|
||||
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: 98dd95aa-3b6e-4b89-aa90-5877eb37e1a2
|
||||
type: BUILDS_ON
|
||||
from_id: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
from_title: "Fix: Claude Code PostToolUse hook correct JSON format"
|
||||
to_id: 62ee21e8-2b56-4d38-a73d-47e2724f08c6
|
||||
to_title: "N8N + Claude Code Automated Server Monitoring System"
|
||||
strength: 0.78
|
||||
created: "2026-03-02T02:08:36.750620+00:00"
|
||||
updated: "2026-03-02T02:08:36.750620+00:00"
|
||||
---
|
||||
|
||||
Auto-edge: Fix: Claude Code PostToolUse hook correct JSON format → N8N + Claude Code Automated Server Monitoring System
|
||||
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: d1f29f3c-3be1-48f8-9ea1-aea48bbacf3a
|
||||
type: RELATED_TO
|
||||
from_id: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
from_title: "Fix: Claude Code PostToolUse hook correct JSON format"
|
||||
to_id: e9e6a15a-bec3-4b62-98c9-4a70a5165348
|
||||
to_title: "Global slash commands are .md files in ~/.claude/commands/"
|
||||
strength: 0.81
|
||||
created: "2026-03-02T02:08:36.791262+00:00"
|
||||
updated: "2026-03-02T02:08:36.791262+00:00"
|
||||
---
|
||||
|
||||
Auto-edge: Fix: Claude Code PostToolUse hook correct JSON format → Global slash commands are .md files in ~/.claude/commands/
|
||||
@ -6,7 +6,23 @@ tags: [sba-scouting, rust, claude-code, hooks, configuration, fix]
|
||||
importance: 0.8
|
||||
confidence: 0.8
|
||||
created: "2026-03-02T02:08:35.272129+00:00"
|
||||
updated: "2026-03-02T02:08:35.272129+00:00"
|
||||
updated: "2026-03-02T02:08:36.791262+00:00"
|
||||
relations:
|
||||
- target: 62ee21e8-2b56-4d38-a73d-47e2724f08c6
|
||||
type: BUILDS_ON
|
||||
direction: outgoing
|
||||
strength: 0.78
|
||||
edge_id: 98dd95aa-3b6e-4b89-aa90-5877eb37e1a2
|
||||
- target: ba189013-3890-4464-a22d-cdc3d68d8068
|
||||
type: BUILDS_ON
|
||||
direction: outgoing
|
||||
strength: 0.86
|
||||
edge_id: 0b72d209-d461-463c-a720-cf8d47ef5fe8
|
||||
- target: e9e6a15a-bec3-4b62-98c9-4a70a5165348
|
||||
type: RELATED_TO
|
||||
direction: outgoing
|
||||
strength: 0.81
|
||||
edge_id: d1f29f3c-3be1-48f8-9ea1-aea48bbacf3a
|
||||
---
|
||||
|
||||
# Claude Code PostToolUse Hook Correct Format
|
||||
|
||||
@ -6,13 +6,18 @@ tags: [claude-code, hooks, pai, fix, memorygraph]
|
||||
importance: 0.8
|
||||
confidence: 0.8
|
||||
created: "2025-12-07T07:26:28.700934+00:00"
|
||||
updated: "2026-03-01T06:21:07.729483+00:00"
|
||||
updated: "2026-03-02T02:08:36.768785+00:00"
|
||||
relations:
|
||||
- target: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
type: BUILDS_ON
|
||||
direction: incoming
|
||||
strength: 0.73
|
||||
edge_id: e8e3d8cf-6ccf-4b39-a625-466151c1b392
|
||||
- target: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
type: BUILDS_ON
|
||||
direction: incoming
|
||||
strength: 0.86
|
||||
edge_id: 0b72d209-d461-463c-a720-cf8d47ef5fe8
|
||||
---
|
||||
|
||||
PostToolUse hooks cannot inject stdout directly into Claude context - only SessionStart and UserPromptSubmit can. The fix is to use JSON output with additionalContext field: {hookSpecificOutput: {hookEventName: 'PostToolUse', additionalContext: 'your message'}}. Also discovered tool_response (not tool_output) is the correct field name, and exitCode doesn't exist - must infer success from stdout patterns. Full reference: https://notes.manticorum.com/reference/claude-code-hooks-context-injection
|
||||
|
||||
@ -6,7 +6,7 @@ tags: [n8n, claude-code, automation, docker, monitoring, homelab, discord, ssh,
|
||||
importance: 0.9
|
||||
confidence: 0.8
|
||||
created: "2025-12-20T04:35:53.428069+00:00"
|
||||
updated: "2026-03-02T00:38:22.022122+00:00"
|
||||
updated: "2026-03-02T02:08:36.750620+00:00"
|
||||
relations:
|
||||
- target: 775506ce-ed06-4c36-95f3-73379855b44a
|
||||
type: BUILDS_ON
|
||||
@ -77,6 +77,11 @@ relations:
|
||||
direction: incoming
|
||||
strength: 0.71
|
||||
edge_id: cc037348-44c5-467e-a9f1-8866bd4773c2
|
||||
- target: be0bda86-d893-4f86-97c4-0ca4e1073121
|
||||
type: BUILDS_ON
|
||||
direction: incoming
|
||||
strength: 0.78
|
||||
edge_id: 98dd95aa-3b6e-4b89-aa90-5877eb37e1a2
|
||||
---
|
||||
|
||||
Built automated server health monitoring with N8N and Claude Code headless mode.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user