Skip to content
Development
Skill

/lat-md-knowledge-graph

Design or audit a repo-local markdown knowledge graph with wiki links, source-code backlinks, drift checks, and searchable sections. Use when AGENTS.md/CLAUDE.md is too flat for a large codebase or when a custom harness needs durable structured project memory.

From plugin
ctx
58916 skills3 agents2 hooks

Claude Code

$ npx -y skills add stevesolun/ctx --skill lat-md-knowledge-graph --agent claude-code

SKILL.md

lat-md-knowledge-graph.SKILL.md
name: lat-md-knowledge-graph
description: >
  Design or audit a repo-local markdown knowledge graph with wiki links,
  source-code backlinks, drift checks, and searchable sections. Use when
  AGENTS.md/CLAUDE.md is too flat for a large codebase or when a custom
  harness needs durable structured project memory.

lat.md Knowledge Graph

Purpose

Turn durable project knowledge into linked markdown files that agents can search, cite, and keep synchronized with code.

When to Use

  • One root instruction file is too large or hides domain decisions.
  • Agents repeatedly rediscover the same architecture or business rules.
  • Test intent needs explicit specs linked to test code.
  • A custom harness needs persistent memory outside conversation history.

Design Pattern

1. Create a repo-local knowledge directory such as `lat.md/` or `docs/knowledge/`. 2. Split pages by durable concepts: architecture, domain rules, workflows, interfaces, test specs, and operational constraints. 3. Link concepts with `[[wiki links]]`. 4. Link knowledge pages to source symbols or files. 5. Add code backlinks such as comments or metadata where the code implements a documented rule. 6. Add a check that fails on broken links, missing backlinks, stale indexes, or test specs without code mentions.

ctx Fit

Use this alongside ctx's LLM-wiki when a project needs its own local memory graph. ctx recommends skills/MCPs/agents from its catalog; the repo-local graph stores project-specific facts that should not live in the global catalog.

Quality Bar

  • Page titles and section anchors are stable.
  • Links resolve both ways where needed.
  • Code backlinks are narrow and reviewable.
  • Checks run in CI before merge.
  • Sensitive facts stay out unless the repo already allows them.
  • The graph explains current behavior, not a speculative roadmap.
Read more
@stevesolun
Ships withctx

Find the cheapest AI coding setup that actually works on your repo. CTX Fit analyzes your repository, tests promising AI coding configurations against real tasks in it, and produces the winning configuration as a reviewable change — in your working tree with

58916 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
589
Star history of stevesolun/ctx on GitHub, a chart by star-history.com

Other skills on ctx.

ctx-dispatch

ctx-dispatch

Coordinate nontrivial work in the ctx repository when a task has independent investigation, implementation, or test lanes;…

@stevesolun@stevesolunInstall Skill
ctx-verify

ctx-verify

Select proportional validation for changes or reviews in the ctx repository. Use before handing off material code, workflow,…

@stevesolun@stevesolunInstall Skill
agents-md-protocol

agents-md-protocol

Create or review an AGENTS.md file so coding agents get stable repo-local instructions: environment setup, testing, style,…

@stevesolun@stevesolunInstall Skill
cavecrew

cavecrew

Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate…

@stevesolun@stevesolunInstall Skill
caveman-commit

caveman-commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional…

@stevesolun@stevesolunInstall Skill
caveman-compress

caveman-compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all…

@stevesolun@stevesolunInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about lat-md-knowledge-graph.

Which coding agents can use lat-md-knowledge-graph?
lat-md-knowledge-graph installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.