optimize-system-prompt

Optimize and refine Sheets Chat ClaudeConversation system prompts for GAS-based workflows.

2|1|Updated Sep 1, 2025
One-click install
npx skills add https://github.com/whichguy/claude-craft --skill optimize-system-prompt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize-system-prompt
Source: https://github.com/whichguy/claude-craft/tree/main/skills/optimize-system-prompt
Command: npx skills add https://github.com/whichguy/claude-craft --skill optimize-system-prompt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Optimizes or refines the Sheets Chat ClaudeConversation system prompt to improve precision, efficiency, and adaptability across GAS-based workflows.

Core Features & Use Cases

  • Automated prompt optimization: compresses verbose thinking protocols, refines behavior, and injects safety gates for deployment.
  • A/B testing orchestration: supports both team-based and single-agent variations, environment-aware builds, and end-to-end evaluation.
  • Versioned deployment: manages buildSystemPrompt variants and dynamic context injection for Sheets, Gmail, Docs, Slides, and Standalone contexts.

Quick Start

Provide a concrete optimization request to start the workflow, for example 'Compress the thinking protocol section and add environment-context checks'.

Frequently Asked Questions about optimize-system-prompt

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

FAQPage Schema
How do I optimize a system prompt for GAS-based Sheets Chat workflows?

To optimize a system prompt for GAS-based Sheets Chat workflows, you provide a concrete refinement request like compressing verbose thinking protocols. The system then compresses text, refines behavior, and injects safety gates to improve deployment precision and adaptability.

What is automated A/B testing for system prompts and how does it work?

Automated A/B testing for system prompts evaluates different prompt variations side-by-side. It orchestrates team-based and single-agent variations across environment-aware builds to determine which prompt version yields the most precise and efficient responses.

Can I use environment-context injection and token-budget awareness for Sheets Chat prompts?

Yes, environment-context injection and token-budget awareness are supported. The optimization process manages dynamic context injection for Sheets, Gmail, Docs, and Slides, ensuring the system prompt operates within your specific token limits and deployment environment.

How do I compress a verbose thinking protocol in a ClaudeConversation system prompt?

To compress a verbose thinking protocol in a ClaudeConversation system prompt, initiate the optimization workflow with a specific request. The system refines instructions and adds safety gates to reduce token usage while maintaining operational efficiency.

What is the best way to manage versioned deployment for Sheets Chat prompt builders?

The best way to manage versioned deployment for Sheets Chat prompt builders is using buildSystemPrompt variants. This approach handles dynamic context injection and phase-driven deployment, allowing you to track and roll out prompt refinements across different contexts.