code-review-context

Limit and structure model-visible context fragments for iterative Codex inference flows.

4|1|Updated Oct 5, 2024
One-click install
npx skills add https://github.com/xrehpicx/anya --skill code-review-context-xrehpicx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-context
Source: https://github.com/xrehpicx/anya/tree/main/.codex/skills/code-review-context
Command: npx skills add https://github.com/xrehpicx/anya --skill code-review-context-xrehpicx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codex context management ensures the model-visible history remains accurate, scoped, and bounded to prevent cache misses and context bloat.

Core Features & Use Cases

  • Defines and enforces bounded fragments that can be injected into the model context.
  • Requires fragments to be defined as structs in core/context and implement ContextualUserFragment trait.
  • Promotes safe context growth across iterative conversations.

Quick Start

Limit and enforce a bounded, token-safe model context by using only defined fragments.

Frequently Asked Questions about code-review-context

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

FAQPage Schema
How do I prevent context leakage and cache misses in iterative model inference flows?

Preventing context leakage and cache misses in iterative model inference flows requires limiting and structuring model-visible context. You apply bounded, token-safe fragments to constrain history and prevent prompt bloat across sessions.

How do I manage accumulating history items during Codex-style inference sessions?

Managing accumulating history items during Codex-style inference sessions involves applying bounded context fragments. This constrains the model-visible history, ensuring the context remains accurate and scoped to prevent cache misses over iterative conversations.

What is the ContextualUserFragment trait for context management?

The ContextualUserFragment trait is a required interface for context management where fragments are defined as structs. Implementing this trait allows you to define and enforce bounded fragments that can be safely injected into the model context.

How do I enforce a token-safe model context using bounded fragments?

To enforce a token-safe model context using bounded fragments, you limit and structure model-visible context by using only defined structs. This promotes safe context growth across iterative conversations while preventing leakage and bloated prompts.

Why does model context bloat occur in iterative conversations and how to limit it?

Model context bloat occurs in iterative conversations when history items accumulate over sessions without bounds. You limit it by applying bounded fragments that structure and constrain the model-visible context, preventing cache misses and prompt bloat.