FRAMEWORK.htmlAI Company Brain
loadedjust now
  ____  _     _     _     _   _   _
 |  _ \(_)___| |__ (_)___| |_| |_(_)_ __   __ _
 | |_) | / __| '_ \| / __| __| __| | '_ \ / _` |
 |  __/| \__ \ | | | \__ \ |_| |_| | | | | (_| |
 |_|   |_|___/_| |_|_|___/\__|\__|_|_| |_|\__, |
                                           |___/
            
AI-Accessible Company Brain · Bootstrap Protocol · Live Dashboard

🧠 Structured Knowledge

Every file has timestamp headers, skills layers, and automated updates — your AI reads before every action.

9-Step Bootstrap

Drop FRAMEWORK.html, say the trigger phrase, and Claude builds your entire brain from scratch.

📊 Live Dashboard

MRR, ARR, churn, tasks, proactive suggestions — auto-refreshes every 5 minutes with dark mode.

🔄 Task Queue Runner

Cron-driven Node.js script processes pending tasks, falls back to inbox queuing if Claude CLI is unavailable.

📋 Setup Bootstrap Protocol

1
Check Context

Agent reads FRAMEWORK.html, checks for existing _brain/index.md, and assesses project state.

2
Knowledge Drop

Creates _brain/inbox/, prompts user to drop documents, reads and categorizes them.

3
Smart Interview

One question at a time — agent identifies gaps in business, sales, marketing, dev, ops.

4
Gap Questions

Agent asks targeted questions to fill missing knowledge areas before building structure.

5
Structure Plan

Proposes folder layout and file map based on extracted knowledge and interview answers.

6
Build Brain

Creates all brain files with real content, timestamp headers, and cross-references.

7
Update CLAUDE.md

Adds brain path, trigger phrase, and protocol reference to project instructions.

8
Propose Dashboard

Generates dashboard.html with live metrics, scheduled tasks, and dark mode toggle.

9
Validate

Agent answers test questions from brain files to verify completeness and accuracy.

🧭 Philosophy

PrincipleDescription
AI-FirstEvery file is structured for machine reading — headers, timestamps, clear sections.
Self-HealingSkills auto-update when user corrects agent behavior; cron jobs keep metrics fresh.
Idle-Only OpsProactive scanning only runs when no human commits detected in the last hour.
Graceful FallbackNo Claude CLI? Tasks queue to inbox for next session. No dashboard? Skip silently.

📂 Folder Structure

🗺️ File Map

PathPurpose
_brain/index.mdRoot index with links to all sections, last updated timestamp
_brain/core/business.mdBusiness model, revenue streams, MRR/ARR targets
_brain/skills/communication.mdTone rules, response patterns, auto-update on corrections
_brain/tasks/queue.jsonPending tasks with schedule, batch size, timeout config
_brain/dashboard.htmlLive metrics dashboard with auto-refresh and dark mode

🔀 Information Routing

SourceDestinationTrigger
Inbox documents_brain/core/*, _brain/sales/*Knowledge drop processing
User correction ("always do X")_brain/skills/[area].mdReal-time update with timestamp
Queue runner task_brain/tasks/queue.json → executionCron every 15 min
Dashboard metrics_brain/dashboard.htmlAuto-refresh every 5 min

🤖 AI Protocol

TRIGGER_PHRASE: "initialize persistia brain"
STEPS:
  1. Check for _brain/index.md
  2. Create _brain/inbox/ if missing
  3. Prompt user to drop knowledge documents
  4. Read inbox files, extract key info
  5. Conduct smart interview (one question at a time)
  6. Identify gaps and propose structure
  7. Build all brain files with real content
  8. Update CLAUDE.md with brain path
  9. Propose dashboard.html
 10. Validate with test questions

📝 Timestamp Header Pattern

---
LAST_UPDATED: 2026-06-08T14:30:00Z
NEXT_UPDATE: 2026-06-09T14:30:00Z
---
# Business Overview
...

🎯 Skills Layer

AreaFileAuto-Update Trigger
Communication_brain/skills/communication.md"always say X", "never do Y"
Coding_brain/skills/coding.md"from now on, use Z pattern"
Process_brain/skills/process.md"always check X before Y"

Auto-Update Schedule

TaskScheduleFallback
Queue runnerEvery 15 minInbox queuing if no Claude CLI
Dashboard refreshEvery 5 minClient-side countdown timer
Proactive checkIdle only (no human commits in 1h)Defer to next cycle
Skills updateOn user correctionImmediate timestamp + change note

💡 Update Prompts

📥 Knowledge Drop: "Drop your business documents into _brain/inbox/ — I'll read, categorize, and archive them."

🔄 Skills Update: "Say 'always do X' or 'never do Y' and I'll update the relevant skills file immediately."

📊 Dashboard: "Open _brain/dashboard.html to see live metrics, scheduled tasks, and proactive suggestions."

📋 Replication Steps

  1. Drop FRAMEWORK.html in your project root.
  2. Say "initialize persistia brain" to Claude.
  3. Agent checks context, creates inbox, prompts for documents.
  4. Drop knowledge files → agent reads, categorizes, archives.
  5. Answer smart interview questions (one at a time).
  6. Agent builds full brain structure with real content.
  7. Agent updates CLAUDE.md and sets up cron jobs.
  8. Dashboard goes live — metrics auto-refresh every 5 min.
  9. Brain is operational. Skills auto-update on corrections.

Share

Submit to AI Directories

Futurepedia AI Tool Hunt Awesome AI Tools ToolPilot AI Infinity

Nebula AI Tool Base