000
All works

P—01Agent plugin · Node.js CLI

VibeBox

A local blackbox memory for people who build with AI.

Language
JavaScript
License
MIT
Version
0.1.13
VibeBox

Overview

VibeBox is local-first memory middleware that helps AI coding agents remember user preferences, project rules, validation habits, failure-avoidance rules, and reusable successful approaches across sessions. The agent reads active guidance with pretask before work and records structured memory candidates with aftertask afterward. The name comes from VIBE CODING plus BLACKBOX.

The problem

AI coding agents are capable within a single task, but durable context disappears between sessions. They change files the user wanted preserved, skip validation, or reuse approaches that were already rejected, and the user ends up re-teaching the same lessons. VibeBox keeps project decisions, user preferences, failed approaches, and review context close to the work so the next session starts from understanding instead of repeated explanation.

Built for

  • Developers coding with OpenAI Codex (CLI or App)
  • Developers using Claude Code plugins
  • Vibe coders tired of restating the same rules every session
  • People who want to review agent memory in Obsidian

Capabilities

Key capabilities

  • Memory Loop01

    Pretask and aftertask loop

    pretask and context retrieve active guidance before work, and aftertask captures the original user request with structured memory candidates afterward.

  • Guidance Lanes02

    Three guidance lanes

    Active memory is grouped into User Success Criteria, AI Failure Avoidance, and AI Successful Approaches. Past memory is context, not authority; the current request always wins.

  • Clear Contract03

    Agent decides, Core manages

    The AI agent interprets requests and creates candidates. Core never infers meaning from raw text; it only validates, stores, dedupes, indexes, and renders.

  • Local First04

    One global local store

    All memory lives in ~/.vibebox, overridable with VIBEBOX_HOME or --store. Work repositories stay clean, and VibeBox does not sync to a cloud service by itself.

  • Obsidian Wiki05

    Obsidian-compatible wiki

    Active memory renders as category-based Markdown notes and a graph for review. Note titles and summaries follow the user's conversation language.

  • Agent Plugins06

    Codex and Claude Code plugins

    Ships as plugins with Core bundled, so no separate clone or npm install is needed. In Claude Code, hooks run pretask automatically and add an aftertask checkpoint before work can finish.

Architecture

From agent to store

A contract separates the agent, which owns meaning, from a deterministic Core. The global store and JSON indexes are the source of truth; the wiki is a display layer for human review.

Workflow

How it works

  1. 01

    User request

    The user asks for coding work as usual, without typing VibeBox commands by hand.

  2. 02

    Pretask retrieval

    The agent runs vibebox pretask or vibebox context to read active guidance from the global store.

  3. 03

    Guided work

    The three guidance lanes shape repository inspection, planning, implementation, and validation.

  4. 04

    Schema check

    After meaningful work, the agent reads the Core-defined candidate schema with vibebox schema.

  5. 05

    Aftertask capture

    The agent submits the original userRequest, outcome, validation evidence, and structured candidates, or no_reusable_memory_candidate when nothing is reusable.

  6. 06

    Core processing and wiki render

    Core validates, stores, dedupes, indexes, and links the candidates, then renders the Obsidian-compatible wiki, so the next pretask returns sharper guidance.

Tech stack

  • Node.js 20+Runtime for the CLI and Core
  • JavaScript (ES modules)Implementation using only Node built-ins, no external dependencies
  • node:testTest suite on the built-in Node test runner
  • Codex PluginPlugin package and marketplace distribution for OpenAI Codex
  • Claude Code PluginPlugin manifest, marketplace, and UserPromptSubmit/Stop hooks
  • Agent SkillSKILL.md carrying the shared agent contract
  • ObsidianReviewing memory as a Markdown wiki and graph view

Requirements

  • Node.js 20 or newer, npm
  • OpenAI Codex or Claude Code for plugin use
  • Read and write access to the global store at ~/.vibebox
  • Obsidian (optional, for browsing the wiki)
Install the plugin
# OpenAI Codex
codex plugin marketplace add boksajang/vibebox
codex plugin add vibebox@boksajang
codex plugin list

# Claude Code
claude plugin marketplace add boksajang/vibebox
claude plugin install vibebox@boksajang
  • #ai-agent
  • #ai-agent-plugin
  • #ai-agent-skill
  • #automation
  • #codex-plugin
  • #coding-assistant
  • #context-management
  • #llm
  • #local-first
  • #memory-middleware
  • #obsidian-integration
  • #session-sync
  • #vibecoding
Next project · 02Threads AutoCreate, schedule, reply and track results across multiple Threads accounts in one place