ax-agent-context
Installation
SKILL.md
AxAgent Context Selection (@ax-llm/ax)
Use this skill to route a context-management need to the right AxAgent tool, then open the matching codegen skill. AxAgent manages four distinct context objects; choosing the wrong one is the usual mistake. Do not write tutorial prose; pick the tool and hand off.
Pick The Right Context Tool
| Need | Object | Scope | Use | Next skill |
|---|---|---|---|---|
| Many tasks over the same large corpus (repo, doc set, dataset) | Context map | recurring corpus, persists across runs | contextMap |
ax-agent-rlm |
| One long run whose own history must stay under control | Trajectory compaction | this run only | contextPolicy: { preset, budget } |
ax-agent-rlm |
| Evolve task strategy from examples or live feedback | Context playbook | a stage, offline + online | agent.playbook(...) |
ax-agent-optimize |
| Tune the prompt/instructions/demos offline | Instruction text | a program, offline | agent.optimize(...) (GEPA) |
ax-agent-optimize |
| Pull task-relevant facts or guides for a turn | Retrieval | one turn | recall(...) / skills |
ax-agent-memory-skills |