Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates AxAgent memory retrieval, context-map, and dynamic skill-loading code using @ax-llm/ax.
21% 96%+75 ptsof test cases passed
Passed 23 of 24 test cases with the skill, and 5 of 24 without it.
In an `@ax-llm/ax` system, an engineer placed `await discover({ skills: ['formatting-guide'] })` inside the responder stage to format the final customer email. Can the responder stage perform skill discovery?
States that discover cannot be called from the responder stage
3 of 3 safety checks passed
Use this skill when an agent needs a persistent context map, task-relevant memory retrieval, or skill guides loaded into the executor prompt on demand. For ordinary agent setup use ax-agent. For RLM runtime policy use ax-agent-rlm. For callbacks and telemetry use ax-agent-observability.
skillsCatalog / memoriesCatalog when the skill guides or memories fit in a plain array — Ax then backs discover({ skills }) / recall(...) with a built-in deterministic local search and no host search code is needed.onSkillsSearch / onMemoriesSearch when retrieval needs a real backend (vector DB, BM25 service, KV). A host callback always takes precedence over the catalog's built-in search.contextMap when repeated runs inspect the same long external context and should accumulate a small orientation cache automatically.recall(...) is available to distiller and executor stages when onMemoriesSearch or a non-empty memoriesCatalog is set.discover({ skills }) is available to the executor when onSkillsSearch or a non-empty skillsCatalog is set.skillsCatalog, the executor prompt also gains a static ### Available Skills index (id + name + description), so skill discovery is targeted instead of blind.recall(...) and discover({ skills }) return void. The loaded content appears on the next turn.onLoadedMemories / onLoadedSkills to observe what got loaded.onUsedMemories / onUsedSkills to track what the actor says it actually relied on.Use contextMap when repeated runs ask different questions over the same long context, document set, or repository. The map is prompt-resident orientation knowledge: structure, concepts, constants, parsing schema, reusable aggregate results, and concrete error patterns. It is not a task-specific answer cache.
Runnable example: src/examples/rlm-context-map-live.ts demonstrates a provider-backed context-map update, onUpdate snapshot persistence, finite evolve, and frozen map reuse.
When contextMap is configured:
forward(...).{ infiniteEvolve: false, evolveSteps: N }; after N successful updates it is still injected but no longer updated.onUpdate to persist result.map.snapshot() outside the agent.import { agent, AxAgentContextMap } from '@ax-llm/ax';
const map = new AxAgentContextMap(savedSnapshot, {
maxChars: 4000,
infiniteEvolve: false,
evolveSteps: 10,
});
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.