@x12i/memorix-skills
v0.3.7
Published
Skill runner — load an agent processing and auditing *.md, render with Rendrix, run via @x12i/ai-dispatcher
Downloads
1,808
Readme
@x12i/memorix-skills (skill runner)
This package only runs a skill:
- Resolve
skill→{agentDir}/processing/<skill>.md, thenauditing/, thencode/ - Render with Rendrix (
records→{{input}}, optionalcatalogs→catalogs) - Call
dispatcher.run({ ...request, prompt }) - Return the
AiDispatcherResponseunchanged
It does not orchestrate pipelines, land records, or call Nexum.
Internal actions
agents/system/internal/{key}.md is a helper call, not a sequence step. This package ships that folder. A system folder placed beside a running pack replaces the shipped file with the same key. A real pack's internal/ folder is ignored.
Package agents and blocks
agents/ in this package is the published agent root: foundation, system, and the samples record-brief, evidence-summary, and tryout. Real packs stay outside this package. A skill key is loaded from the running pack, then foundation, then system. {{block:name.md}} inserts blocks/name.md before Rendrix fills the other tokens. The same order applies. See agents/BLOCKS.md.
const response = await skills.runInternal({
action: "audit-prompt",
input: { prompt: "Write the note." },
});listInternalActions(skillsDir) and renderInternalAction(action, input) prepare the call without sending it.
Usage
import { createMemorixSkills } from "@x12i/memorix-skills";
const skills = createMemorixSkills({
skillsDir: "/path/to/.memorix-agents/neo-networks", // one agent directory; default uses AGENTS_DIR or SKILLS_DIR
dispatcher: {
openrouter: { apiKey: process.env.OPENROUTER_API_KEY },
},
});
const response = await skills.run({
skill: "echo-records",
records: [{ recordId: "map-1", data: { name: "Example" } }],
request: {
provider: "openrouter",
model: "openai/gpt-5.2",
},
});
console.log(response.text);Optional Memorix HTTP client: skills.memorix (station env / options). Unused by run.
