/SKILL.md
Persistent vector memory engine for OpenClaw agents. Stores, searches, curates, and optionally injects contextual memories using PostgreSQL, pgvector, and OpenAI embeddings. Includes the BrainX OpenClaw plugin for optional runtime wiki digest, JIT recall, working memory, advisories, and conservative failure capture.
npx skillsauth add mdx2025/brainx-the-first-brain-for-openclaw BrainX V6Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use BrainX when an OpenClaw agent needs durable memory, semantic recall, cross-session context, shared knowledge, or memory diagnostics.
BrainX memory is advisory.
Required environment:
DATABASE_URL=postgresql://brainx:[email protected]:5432/brainx
OPENAI_API_KEY=your-openai-api-key
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
OPENAI_EMBEDDING_DIMENSIONS=1536
Install:
npm install
chmod +x brainx
psql "$DATABASE_URL" -f sql/v3-schema.sql
for file in sql/migrations/*.sql; do psql "$DATABASE_URL" -f "$file"; done
./brainx doctor --full
./brainx add "memory text" --type note --context project:example --importance 6
./brainx search --query "what should I remember?" --limit 5
./brainx inject "task context to enrich"
./brainx doctor --full --json
./brainx fix
./brainx metrics
./brainx runtime-report
./brainx knowledge-locate --query "deployment checklist"
Start conservative:
{
"plugins": {
"entries": {
"brainx": {
"enabled": true,
"config": {
"wikiDigest": true,
"jitRecall": false,
"workingMemory": false,
"toolAdvisories": false,
"captureToolFailures": false,
"bootstrapMode": "off",
"captureOutboundMode": "off"
}
}
}
}
}
Enable JIT recall, working memory, advisories, and write-path capture only after privacy and retention rules are clear for the target installation.
verified, hypothesis, changelog, obsolete.env, database dumps, backups, runtime memory, tool-failure payloads, private knowledge vaults, or local workspace state.tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.