context-engineer

Design system prompts, just-in-time retrieval, and context compaction for agent reasoning.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/Shadojin94/zetamind-app --skill context-engineer-shadojin94
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineer
Source: https://github.com/Shadojin94/zetamind-app/tree/main/skills_openclaw/context-engineer
Command: npx skills add https://github.com/Shadojin94/zetamind-app --skill context-engineer-shadojin94

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured approach to designing system prompts at the right altitude, enabling just-in-time retrieval, context compaction, and disciplined note-taking to maximize agent reasoning within token limits.

Core Features & Use Cases

  • System Prompt Design at the Right Altitude: calibrates the agent's role, responsibilities, and constraints to guide reasoning.
  • Just-in-Time Retrieval and Context Management: fetches information on demand to fill knowledge gaps without bloating context.
  • Context Compaction and Note-Taking Patterns: compresses history while preserving decisions and constraints, with a structured decision/domain log.
  • Sub-Agent Architecture Guidance: supports hierarchical orchestration of research, implementation, and validation sub-agents for complex tasks.
  • Practical Examples: templates and checklists for prompts, prompts for code reviews, API design, and system prompts tuning.

Quick Start

Configure your agent to adopt a right-altitude system prompt, enable just-in-time retrieval, and apply moderate context compaction.

Frequently Asked Questions about context-engineer

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

FAQPage Schema
What is context engineering for system prompts?

Hierarchical agent systems orchestrate research, implementation, and validation sub-agents to manage complex tasks. This architecture supports structured note-taking and decision logging while preserving constraints across distributed reasoning workflows.

How do I design system prompts for just-in-time retrieval?

To design system prompts for just-in-time retrieval, configure your agent to fetch information on demand to fill knowledge gaps without bloating context. This requires calibrating the agent's role, responsibilities, and constraints to guide reasoning.

What is the best way to manage context compaction and note-taking for AI agents?

The best way to manage context compaction is to compress conversation history while preserving decisions and constraints. This is achieved through structured note-taking patterns and maintaining a dedicated decision and domain log.

Can I use sub-agent architecture for complex research and code review tasks?

Yes, you can use sub-agent architecture for complex tasks like code review, research planning, and decision logging. It supports hierarchical orchestration of research, implementation, and validation sub-agents to maximize reasoning quality.

Why does my agent lose reasoning quality when hitting token limits?

Agent reasoning quality drops at token limits due to context bloat and lack of compaction. Applying just-in-time retrieval triggers, structured note-taking, and right-altitude system prompts maximizes reasoning capacity within the token budget.