claudecodex

context-graph

Gives AI coding agents the why behind a codebase before they edit: file cards and decision history before reads, read-before-edit, context slices before edits, cards and decisions recorded after, and context observation for any repository

0 on GitHubby Warren Langeveldtv0.10.0MITupdated 19 days agodevelopment
/

Plugin context-graph from marketplace context-graph in warrendeanlangeveldt/context-graph. Commands read from the repo's manifest — 19 days ago.

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

What it installs

Skills (6)

  • cards

    Write or bring up to date Context Graph file cards, and record the decisions a session still owes. Finds the files that need them (owed by the last session, changed on this branch without a current card, or chosen by the person), reads each in full with what it imports, and writes a card that says w

  • ctx

    Ask the Context Graph why a file or module is the way it is (for setup, cards, curation or what to do next, see the next, init, cards, curate and status skills), what constraints apply to it, its decision history, or the coverage of the current session; and write a file's card after editing it. Use

  • curate

    Review a Context Graph with the person, when they want to. Lays out rules and concepts still only proposed, with their evidence; the hygiene report's proposals (rules nobody follows, decisions that keep overriding a rule, dormant concepts); and old records to archive. It then applies what the person

  • init

    Switch Context Graph on in a repository, or finish switching it on. Builds the graph from the tree, rule-stating tests, instruction files, ADRs and style packs, configures it to run in the background, and adds the instruction block agents read every turn. It asks the person nothing: running it is th

  • next

    The one command for Context Graph. Reads where the repository stands (no graph yet, a broken setup, cards or decisions owed, changed files without cards, proposals waiting for a person) and runs the right Context Graph skill, carrying on until a person is needed. Use when the person runs /context-gr

  • status

    Where Context Graph stands in this repository. Whether it is wired and working, whether the graph is valid, how many files have current cards, what the last session covered and still owes, and what to do about anything wrong. Use when the person asks whether ctx or Context Graph is working, what it

MCP servers (1)

  • ctx

    runs: ${CLAUDE_PLUGIN_ROOT}/scripts/ctx-mcp

Hooks (9)

  • SessionStart

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • SessionEnd

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • PreToolUse

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • PostToolUse

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • PostToolUseFailure

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • SubagentStart

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • SubagentStop

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • Stop

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

  • UserPromptSubmit

    "${CLAUDE_PLUGIN_ROOT}/scripts/ctx-hook"

View source on GitHub

Similar plugins

superpowers

claudecodex

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

15 skills · hooks

obra/superpowers 316,836

CMEM Pro

claude

CMEM Pro for the Claude app - hooks stream tool use to cmem.ai and inject observations into new sessions and agents

3 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

diagram-design

claudecodex

Editorial diagrams in your brand, as self-contained HTML and SVG. Architecture, flowcharts, sequence, state machines, ER and database schemas, timelines, swimlanes, org charts, Gantt, Wardley maps, user journeys, service blueprints, UML class, lifecycle phase maps, and charts from bar, line and scatter to Sankey, treemap and heatmap, plus many more. Redraws draw.io, Mermaid, Excalidraw and PlantUML files. Exports SVG and PNG.

1 skill · 7 commands

cathrynlavery/diagram-design 66,757

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

Maintain context-graph?

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 pluginslisted