# JarvisClaw Prompt Coach Optimizer

> JarvisClaw Prompt Coach Optimizer is a paid API for AI agents from uat.jarvisclaw.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Optimizes and refines AI prompts to improve their quality, clarity, and effectiveness before sending to a language model.

## Facts

- Endpoint: GET https://uat.jarvisclaw.ai/v1/prompt-coach/optimize
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jarvisclaw-prompt-coach-optimizer-ca5c91b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hiLjLiYL7kas3Rr5sogI9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability jarvisclaw-prompt-coach-optimizer-ca5c91b3
```

Example prompt: Can you optimize this prompt for me so it gets better results from an AI — here's my rough draft: 'explain machine learning to me'?

## When to prefer this

Choose this endpoint when you need to programmatically improve or refine AI prompts before submitting them to a language model, especially in agentic workflows where prompt quality directly affects downstream output quality. Prefer it when building prompt pipelines, chatbot systems, or developer tools that benefit from automated prompt engineering. It is paid per call via x402 crypto micropayments, making it suitable for use-as-you-go agent architectures on Base or Solana.

## Known failure modes

- Empty or missing input field returns a 400 validation error
- Overly short or vague input may produce generic optimizations
- Payment failure via x402 results in a 402 Payment Required response before processing
- Rate limiting or service unavailability on UAT environment may cause 503 errors
- Very long prompts may be truncated or rejected depending on token limits

## How this service works

AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.

## Output

Returns an optimized version of the submitted prompt, rewritten for improved clarity, specificity, and effectiveness when used with language models. May include suggestions or the refined prompt text directly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jarvisclaw-prompt-coach-optimizer-ca5c91b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uat.jarvisclaw.ai](https://www.zero.xyz/host/uat.jarvisclaw.ai/llms.txt)
