Ai Context Hierarchy banner
CreatmanCEO CreatmanCEO

Ai Context Hierarchy

AI community

Description

Three-level context hierarchy for AI coding agents — featured in Graphify v5.0 roadmap. Stop re-explaining your codebase every session. Works with Claude Code, Cursor, Codex, Gemini CLI, Claude Desktop.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

ai-context-hierarchy

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Validate](https://github.com/CreatmanCEO/ai-context-hierarchy/actions/workflows/validate.yml/badge.svg)](https://github.com/CreatmanCEO/ai-context-hierarchy/actions/workflows/validate.yml) [![Featured in Graphify v5.0 roadmap](https://img.shields.io/badge/Graphify-v5.0%20roadmap-9d6cff)](https://github.com/safishamsi/graphify/issues/425) [![Featured on Habr](https://img.shields.io/badge/Habr-article-77a2b6)](https://habr.com/ru/articles/1024878/) [![Featured on dev.to](https://img.shields.io/badge/dev.to-article-0a0a0a)](https://dev.to/creatman/the-context-problem-nobody-talks-about-why-ai-coding-agents-waste-80-of-tokens-on-files-they-mp1) [![Works with](https://img.shields.io/badge/Works%20with-Claude%20Code%20%C2%B7%20Cursor%20%C2%B7%20Codex%20%C2%B7%20Gemini%20CLI%20%C2%B7%20Claude%20Desktop-cc785c)](#platform-support)

🇬🇧 English · [🇷🇺 Русский](README.ru.md)

**A three-level context hierarchy for AI coding agents. Stop re-explaining your codebase every session. Featured in the [Graphify v5.0 roadmap](https://github.com/safishamsi/graphify/issues/425) by the Graphify maintainer.**

Companion articles: [Habr (RU)](https://habr.com/ru/articles/1024878/) · [dev.to (EN)](https://dev.to/creatman/the-context-problem-nobody-talks-about-why-ai-coding-agents-waste-80-of-tokens-on-files-they-mp1)

![Three-level context hierarchy diagram](docs/diagram.svg)


The problem

AI coding agents (Claude Code, Cursor, Codex, Gemini CLI, Copilot) start every session blind. You ask about a project. The agent greps your entire disk looking for it. Reads ten files to understand the architecture. Misses context. SSHs into your VPS to read configs. Burns half your context window on reconnaissance before doing any actual work. Next session — repeat from step one.

If you have multiple projects, multiple servers, or code that lives on remote VPS, the cost compounds.

T