skills/FORGE-redis-qdrant-integration/SKILL.md
Redis + Qdrant integration — caching layer and vector memory for federation semantic search.
npx skillsauth add ariffazil/openclaw-workspace FORGE-redis-qdrant-integrationInstall 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.
DITEMPA BUKAN DIBERI — Forged, Not Given.
Redis as caching layer for MCP tool registry and session state; Qdrant as vector store for witness embeddings, semantic memory retrieval, and similarity search across federation knowledge.
postgres-schema-designvault999-witness| Floor | Application |
|-------|-------------|
| F1 AMANAH | Redis keys have TTL; stale cache never blocks fresh reads |
| F2 TRUTH | Cache headers (stale-while-revalidate) published with every cached response |
| F4 CLARITY | One cache key naming convention across all organs |
| F11 AUDIT | Cache misses and evictions logged; Qdrant writes carry provenance |
| F12 INJECTION | Vector embeddings sanitized before upsert — no prompt injection in stored vectors |
// Redis — tool registry cache with TTL
const CACHE_TTL = 300; // 5 minutes
await redis.set(`tool:${organ}:list`, JSON.stringify(tools), { EX: CACHE_TTL });
// Redis — session state
await redis.set(`session:${sessionId}`, JSON.stringify(session), { EX: 3600 });
// Qdrant — witness collection upsert
const point: PointStruct = {
id: receiptId,
vector: embedding, // 1536-dim from embedding model
payload: {
witness_type: 'tri_witness',
organ: 'geox',
verdict: 'CONSENSUS',
timestamp: Date.now(),
},
};
await qdrant.upsert('witness_receipts', { points: [point] });
// Qdrant — semantic search
const results = await qdrant.search('witness_receipts', {
vector: queryEmbedding,
limit: 10,
with_payload: true,
});
testing
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.