context-optimizer

Generate and refine Automaker project context files for agent prompts.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/jbactad/claude-plugins --skill context-optimizer-jbactad
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-optimizer
Source: https://github.com/jbactad/claude-plugins/tree/main/automaker-skills/skills/context-optimizer
Command: npx skills add https://github.com/jbactad/claude-plugins --skill context-optimizer-jbactad

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Create and refine the context that Automaker's AI agents rely on to understand projects, ensuring high-quality prompt content and consistent knowledge injection.

Core Features & Use Cases

  • Create CLAUDE.md and .automaker/context files with structured guidance for agent knowledge.
  • Provide context-metadata.json and contextual patterns to guide loading behavior and prevent duplication.
  • Use cases include onboarding a new Automaker project, aligning agent prompts to project conventions, and maintaining up-to-date knowledge as the codebase evolves.

Quick Start

Create CLAUDE.md and the primary context file under .automaker/context, and add a corresponding context-metadata.json entry.

Frequently Asked Questions about context-optimizer

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

FAQPage Schema
How do I create context files for Automaker agent prompts?▼

Create context files for Automaker agent prompts by generating CLAUDE.md and .automaker/context with structured guidance, then add a context-metadata.json entry to define loading behavior and inject accurate project knowledge.

What is the purpose of context-metadata.json in Automaker projects?▼

The context-metadata.json file guides loading behavior for Automaker agents, preventing knowledge duplication and ensuring supplementary context files maintain accurate, non-overlapping context across evolving codebases.

How do I align AI agent prompts to project conventions?▼

Align AI agent prompts to project conventions by structuring supplementary context files and refining project context metadata, ensuring agents receive consistent, up-to-date knowledge about your codebase.

When do I need to update CLAUDE.md for an evolving codebase?▼

Update CLAUDE.md when your codebase evolves and new conventions emerge, maintaining non-duplicating context by refining the primary context file and adjusting the corresponding context-metadata.json entry.

Does the context optimizer support onboarding new Automaker projects?▼

The context optimizer supports onboarding new Automaker projects by generating structured CLAUDE.md and .automaker/context files, injecting accurate baseline knowledge into agent prompts from the start.

What's the best way to prevent context duplication across agent prompt files?▼

Prevent context duplication across agent prompt files by using context-metadata.json to define loading guidelines and structuring supplementary files for maintainable, non-duplicating context injection.