Agent skill · Security

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.

stevesolungithub.com/stevesolunGitHub ↗
claude-codeMIT
Install
npx skills add stevesolun/ctx --skill lat-md-knowledge-graph --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Path: imported-skills/lat-md/skills/lat-md-knowledge-graph/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 569
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 glo

What's inside
Steps it walks through
  1. Purpose
  2. When to Use
  3. Design Pattern
  4. ctx Fit
  5. Quality Bar
More from ctx
All skills →
About this skill
What does the lat-md-knowledge-graph skill do?

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.

How do I install it?

Run `npx skills add stevesolun/ctx --skill lat-md-knowledge-graph --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From stevesolun/ctx, a repository with 569 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going