~ / rigs / k-kolomeitsev / data-structure-protocol

k-kolomeitsev/data-structure-protocol

Graph-based long-term memory skill for AI (LLM) coding agents — faster context, fewer tokens, safer refactors

↗ GitHub ★ 53 apache-2.0 updated 4mo ago project Claude CodeCodexCursor
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~5.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit k-kolomeitsev/data-structure-protocol/integrations/claude/.claude ./rig-data-structure-protocol  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit k-kolomeitsev/data-structure-protocol/skills/data-structure-protocol .claude/skills/data-structure-protocol

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/dsp-pre-write-check.sh\""
          }
        ]
      }
    ]
  }
}

Skills (1)

Hooks (4)

eventmatcherruns
SessionStart.*"$CLAUDE_PROJECT_DIR/.claude/hooks/dsp-session-start.sh"
PreToolUseWrite|Edit"$CLAUDE_PROJECT_DIR/.claude/hooks/dsp-pre-write-check.sh"
PostToolUseWrite|Edit"$CLAUDE_PROJECT_DIR/.claude/hooks/dsp-track-write.sh"
SessionEnd.*"$CLAUDE_PROJECT_DIR/.claude/hooks/dsp-session-end-check.sh"

Cursor rules (6)

dsp-brownfielddsp-core · alwaysdsp-new-filedsp-public-api-changesdsp-refactor-safetydsp-when-not-to-update · always

Similar rigs

copied ✓