autocontext-creator

Run improvement loops over tasks and write learned knowledge to disk with Autocontext.

1.3k|116|Updated Feb 11, 2026
Ready to run
npx skills add https://github.com/greyhaven-ai/autocontext --skill autocontext-creator-greyhaven-ai
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: autocontext-creator
Source: https://github.com/greyhaven-ai/autocontext/tree/main/skills/autocontext-creator
Command: npx skills add https://github.com/greyhaven-ai/autocontext --skill autocontext-creator-greyhaven-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires autoctx.

What problem does it solve? Agents and their operators need a way to iteratively improve task performance, capture what works, and persist that knowledge for reuse. Manual trial-and-error is slow and loses insights between runs. ## Core Features & Use Cases - Scenario-based improvement loops: Run multi-generation iterations that score candidates and fold learnings into knowledge. - One-shot scoring and refinement: Judge a single output against a rubric or improve it without a full loop. - Artifact inspection and replay: Review what each run produced, replay specific generations, and watch runs in flight. - Use Case: You have a support-triage response policy that needs improvement. Use this Skill to describe the task, run 5 iterations of refinement with Autocontext's scoring, inspect the generated playbooks and datasets, and replay the best-performing generation to understand why it worked. ## Quick Start Tell an AI to run an improvement loop: "Use Autocontext to improve the support-triage response policy with 3 iterations, then show me the artifacts and replay generation 2."

Frequently Asked Questions about autocontext-creator

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

FAQPage Schema
How do I run an improvement loop with Autocontext?▼

Use the `autoctx run` command with a scenario name and iteration count: `autoctx run grid_ctf --iterations 3 --json`. Each iteration produces a candidate, scores it, and folds learnings into knowledge. Assign a run ID to refer back to it later.

Can I evaluate a single output without a full improvement loop?▼

Yes. Use `autoctx judge` to score an existing output against a rubric, or `autoctx improve` to iterate on refinement over a specified number of rounds without running a scenario loop.

How do I inspect what a finished run produced?▼

List all runs with `autoctx list --json`, check status with `autoctx status $RUN_ID --json`, render artifacts with `autoctx show $RUN_ID`, and replay a specific generation with `autoctx replay $RUN_ID --generation 1`.

Does Autocontext work with local models?▼

Yes. Set `AUTOCONTEXT_AGENT_PROVIDER=openai-compatible` and configure `AUTOCONTEXT_AGENT_BASE_URL`, `AUTOCONTEXT_AGENT_API_KEY`, and `AUTOCONTEXT_LOCAL_MODEL` environment variables to route runs through a local server.

Where does Autocontext store run artifacts?▼

All runs write to the local knowledge root and stay there. Nothing is uploaded. Treat artifacts like local files containing task text and model output—they hold whatever you provided in prompts.

What happens if my API endpoint is misconfigured before a long run?▼

Autocontext preflights every endpoint before starting, rejecting dead endpoints, invalid credentials, or unavailable models in seconds rather than wasting tokens on a failed run.