claudecodex

Codebase KG

A committed, searchable code graph for each repo, so an agent finds code without mapping the codebase again every session. Links paired repos to track feature parity.

0 on GitHubby Alexk413xv0.15.3LicenseRef-No-Resale-1.0updated 10 days agodevelopment
/

Plugin codebase-kg from marketplace alexk413x in Alexk413x/marketplace. Commands read from the repo's manifest — 5 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (6)

  • audit

    Deep, multi-agent accuracy sweep of a code graph. It partitions the graph, checks each node's anchors and claims against current source, and reports STALE / MISSING / INACCURATE nodes without editing anything. Use when the user asks to "audit the code graph", "is the graph telling the truth", "are t

  • link

    Sets up and maintains parity between two codebases' graphs, such as an iOS app and its Android port. It reads both graphs and both source trees, then writes reciprocal counterpart, parity and divergence fields. Use when the user asks to "link two code graphs", "set up parity between iOS and Android"

  • query

    Finds and explains code in a repo that has a knowledge/code_graph.db. It answers where code lives from the committed graph, then reads the anchored source to confirm what the code does now. Use when the user asks "where does X live", "what handles X", "what depends on X", "how is X wired", "show me

  • refresh

    Re-derives the affected nodes of an existing code_graph.db against current source and rebuilds the committed database. This skill writes the graph. Use when the user asks to "refresh the code graph", "update the KG", "re-sync code_graph.db with the code" or says "the graph is stale", after shipping

  • setup

    Wires codebase-kg into the current repo in one pass. It installs pre-commit and pre-push staleness checks, the textconv driver that makes the committed graph readable in git diffs, and a committed install.sh so every other clone gets the same wiring from one command. It is idempotent, leaves existin

  • validate

    Fast, deterministic drift check on a repo that has a code graph. It reports anchors that no longer resolve, source files no node covers, mapped files changed since the graph was built, and broken or one-way counterpart and external links. Advisory; it blocks nothing. Use when the user asks to "valid

Hooks (30)

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_push_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_push_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_push_gate.py"

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_push_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_push_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_push_gate.py"

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PreToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_search_gate.

  • PostToolUse

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_post_edit_check.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_post_edit_check.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_post

  • SessionEnd

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_session_end.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_session_end.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_session_end.

  • SessionStart

    command -v py >/dev/null 2>&1 && py -3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_server_start.py" || python3 "${CLAUDE_PLUGIN_ROOT}/hooks/kg_server_start.py" || python "${CLAUDE_PLUGIN_ROOT}/hooks/kg_server_sta

View source on GitHub

More from Alexk413x/marketplace

All 4 plugins →

Agent Tabs

claudecodex

Open Claude Code, Codex, Antigravity CLI and other agent sessions in IDE and terminal tabs, message between them, and delegate work to another agent.

7 skills · hooks

0

Sentinel Swarm

claudecodex

An agent swarm that takes a PRD to built, tested, reviewed code: an Oracle, Managers, Leads and Coders, each its own session, held to a shared ledger and a scoring rubric.

6 skills

0

The Index

claude

A three-line band above the prompt that shows what your session costs, how close you are to a limit, and where your code stands.

0

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

AI-powered codebase understanding — analyze, visualize, and explain any project

9 skills · 10 agents · hooks

Egonex-AI/Understand-Anything 92,410

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Maintain Codebase KG?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins4 plugins