autocontext-consumer

Read and move knowledge that Autocontext learned from previous task runs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an agent runs tasks with Autocontext, the system learns and stores playbooks, lessons, and mutation logs on disk. This Skill solves the problem of accessing that accumulated knowledge: finding what scenarios have been learned, reading the current playbook and lessons, and moving knowledge between checkouts or machines without manual directory copying. ## Core Features & Use Cases - Knowledge Discovery: List all scenarios Autocontext has learned about, check run status, and view detailed generation logs. - Playbook Reading: Access the current best-known approach for a scenario and the history of lessons that led to it. - Knowledge Portability: Export a scenario's knowledge as a portable JSON package and import it elsewhere with conflict resolution. - Use Case: You have an agent that solved a routing optimization problem last week. Use this Skill to read the playbook and lessons from that run, then import that knowledge into a fresh checkout on another machine so the new agent starts with proven strategies. ## Quick Start Read the current playbook for a scenario by passing the scenario name to the autoctx CLI and examining the knowledge directory structure.

Frequently Asked Questions about autocontext-consumer

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

FAQPage Schema
How do I read the playbook and lessons for a scenario?▼

Set the AUTOCONTEXT_KNOWLEDGE_ROOT environment variable (defaults to ./knowledge) and read playbook.md and lessons.json directly from the scenario directory. The playbook contains the current best approach, and lessons.json is append-only with newest entries last.

How do I find all scenarios that Autocontext has learned?▼

Run autoctx list --json to discover all scenarios with existing knowledge. Each scenario owns a directory under the knowledge root with playbook.md and lessons.json files.

How do I move knowledge from one checkout to another?▼

Export the scenario using autoctx export --scenario <name> --output file.json --json, then import it on the target machine with autoctx import-package file.json --json. Use --conflict to choose overwrite, merge, or skip behavior.

What does it mean if a scenario has an empty playbook?▼

An empty playbook means Autocontext has not yet found an approach worth keeping for that scenario, which is different from the scenario not existing. The scenario directory still exists with other artifacts.

Can I inspect why a generation produced a specific result?▼

Run autoctx replay <run_id> --generation <number> to load the detailed generation JSON, which explains the reasoning behind that step's output.

Does knowledge from one scenario apply to other scenarios?▼

No. Knowledge is strictly scenario-scoped; a playbook for one scenario says nothing about another. Each scenario learns independently.