protext

Manages layered project context for AI agents via three-tier hierarchy.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/IMUR/protext --skill protext
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: protext
Source: https://github.com/IMUR/protext/tree/main
Command: npx skills add https://github.com/IMUR/protext --skill protext

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of providing AI agents with token-efficient, dynamic, and layered context about a project, preventing information overload and enabling faster, more accurate task completion.

Core Features & Use Cases

  • Layered Context: Provides a three-layer hierarchy (PROTEXT.md, index.yaml, Deep Context) for progressive information disclosure.
  • Dynamic State Management: PROTEXT.md reflects the project's current state, separate from stable behavior files (CLAUDE.md, etc.).
  • Token Efficiency: Balances concise orientation with on-demand deep context extraction to manage token budgets.
  • Use Case: When starting a new session on a large codebase, invoke /protext to get a quick ~500 token overview, then use @deep:network to pull specific details about network configuration without loading the entire project.

Quick Start

Invoke /protext at session start to load token-efficient project orientation.

Frequently Asked Questions about protext

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provide dynamic project context to an AI agent without exceeding token limits?

Dynamic project context can be provided by using a three-tier hierarchy of progressive information disclosure, starting with a concise orientation file and extracting deep context only when explicitly requested. This approach prevents information overload and optimizes token usage.

What is the best way to manage AI agent context state separately from stable behavior files?

Managing AI agent context state separately involves maintaining a dynamic state file that reflects current project status, distinct from stable configuration like CLAUDE.md. This allows agents to access up-to-date project orientation without conflating it with permanent behavioral instructions.

How do I extract specific codebase details on demand to manage token efficiency?

Specific codebase details can be extracted on demand by using explicit extraction commands to pull targeted deep context, such as network configurations. This allows agents to retrieve focused information without loading the entire project, effectively managing token budgets.

Does this layered context approach support cross-project linking and session handoff?

Yes, the layered context approach supports cross-project linking and session handoff through its structured index signposts. This enables agents to maintain orientation and transfer context state efficiently across different projects and new work sessions.

When do I need a three-tier hierarchy for AI agent project orientation?

A three-tier hierarchy is needed when starting new sessions on large codebases where a quick overview is insufficient. It provides a concise orientation, structural signposts, and deep context layers to balance immediate understanding with detailed on-demand extraction.

Why does loading an entire project context cause information overload for AI agents?

Loading an entire project causes information overload because it consumes excessive token budgets and obscures relevant details. A progressive disclosure model solves this by providing a concise overview first, then extracting specific deep context only as needed.