Skip to content

Sepulveda1387/GenericOS

Repository files navigation

GenericOS

An AI executive assistant OS you can adapt to any context.

License: Source Available Python 3.9+ Claude Code Multi-Model Built by WebSaaS.biz

A business, a project, a team, or your personal workflow — GenericOS adapts to any context. It indexes your priorities, decisions, and work patterns so every session is context-aware and token-efficient. Less time repeating yourself, more time moving forward.


Table of Contents


What Is GenericOS

GenericOS is a local, Git-friendly AI operating system workspace. Open it in Claude Code (or any Claude-powered tool) and the AI becomes a context-aware partner — not a blank-slate chatbot.

What makes it different:

  • Automatic onboarding. First run detects you haven't been configured and asks 8 short questions to learn how it should work for you.
  • Auto-routing by intent. You don't name skills or workflows — the system infers what you need and routes automatically.
  • Persistent memory. SQLite-backed index of your priorities, decisions, and patterns. Searchable. Updated after every durable change.
  • Self-improvement loop. Recurring tasks get proposed as draft skills. You approve; the system gets faster.
  • Multi-model protocol. Every AI model that opens this workspace — Claude, GPT, Gemini, or any other — is bound by the same operating rules.

Quick Start

Requirements: Python 3.9+, Claude Code (or another Claude-powered tool)

# 1. Clone the repo
git clone https://github.com/Sepulveda1387/GenericOS.git
cd GenericOS

# 2. Copy the environment template
cp .env.example .env
# Edit .env and fill in any API keys you want to connect (optional)

# 3. Initialize the memory database
python3 memory/scripts/init_db.py
python3 memory/scripts/index_markdown.py
python3 memory/scripts/register_assets.py

# 4. Open in Claude Code
code .
# Then open the Claude Code panel and say anything — onboarding starts automatically.

That's it. The system detects that context/about-user.md is unconfigured and enters onboarding mode.


First Run

The first thing you'll hear:

Welcome. I'm an AI executive assistant built by Gilbert Sepulveda at WebSaaS.biz. I index your priorities, decisions, and work patterns so every session is context-aware and token-efficient — less time repeating yourself, more time moving forward. A few quick questions to get started.

The system then asks 8 short questions, one at a time — about who you are, what you're optimizing for, which tools you use, how you want the assistant to communicate, and what success looks like in 90 days. No data leaves your machine.


After Setup

Once onboarding is complete, the system knows:

  • Who you are and what you're optimizing for
  • Which tools and systems are your source of truth
  • How you want it to communicate
  • What actions always require your explicit approval

From there, work naturally. You don't need to name workflows or skills — the system infers what you need and routes automatically.


Pre-Installed Skills

These skills are active out of the box and auto-invoked by intent — you never need to name them:

Skill Auto-invokes when you ask about…
c-level Board review, executive evaluation, strategic decision, CEO/CFO/CMO/COO/CPO perspective
markitdown Converting PDFs, Word, Excel, PowerPoint, HTML, URLs, images, or audio to Markdown
scrapling-research Scraping a site, extracting from a known URL, CSS/XPath selection, conserving API credits
playwright Screenshots, browser QA, mobile layout, visual verification, browser automation
frontend-motion Adding Anime.js animation to a website, dashboard, or HTML deck
motion-dynamic-views React animation with Motion (Framer Motion): transitions, scroll effects, layout changes
design-artifact-studio Dashboards, HTML decks, website demos, SaaS prototypes, visual reports
skill-creator Creating a new skill, formalizing a repeatable task, 3+ recurring requests
self-learning-review Pattern report, what to automate, what keeps coming up, how to improve the system

New skills go to .codex/skills-drafts/ first and are never auto-invoked until you explicitly approve them.


How It Works

Auto-Routing

Every SKILL.md file has a description field with explicit intent triggers. The AI reads incoming requests, matches intent, and routes to the right skill — no manual naming required.

Memory System

A local SQLite database (memory/genericOS.db) stores:

  • Indexed Markdown files (full-text searchable)
  • Registered skills and workflows
  • Usage events and patterns
  • Learnings, decisions, and recommendations
  • Session checkpoints

The database is gitignored — it rebuilds from your Markdown files using index_markdown.py.

Self-Improvement Loop

When the same task recurs 3 or more times, the system proposes a draft skill. You review, approve, and the capability becomes part of the OS — auto-invoked forever after.


Protocol — Applies to All AI Models

Every model operating in this workspace — Claude, GPT, Gemini, or any other — is bound by the same rules. These are hard stops, not suggestions.

  1. Local tools first. Memory index → installed skills → local CLIs → markitdownscrapling-researchplaywright → external APIs (only when no local option exists, you request it, or the AI recommends it and you approve).
  2. Draft before acting. Nothing is sent, published, deleted, or changed externally without your approval.
  3. Approval gates are hard stops. Not suggestions.
  4. No invented context. Missing information gets labeled as unknown, not filled with assumptions.
  5. Verify before done. No claiming complete without a concrete check.
  6. Refresh memory after every durable change. Run index_markdown.py after any Markdown, skill, workflow, or config change.
  7. Keep credentials in .env. Never write secrets, API keys, or tokens into docs, prompts, or logs.
  8. Respect the self-improvement loop. Log recurring tasks. When the same work recurs 3+ times, propose a draft skill — never enable it without your approval.

See AGENTS.md for the full operating charter.


Memory Commands

python3 memory/scripts/init_db.py                            # Initialize the database
python3 memory/scripts/index_markdown.py                     # Index all Markdown files
python3 memory/scripts/register_assets.py                    # Register skills and workflows
python3 memory/scripts/search_memory.py "query"              # Search memory
python3 memory/scripts/log_event.py --event-type request --request "task" --outcome "result"
python3 memory/scripts/pattern_report.py                     # Self-learning pattern report
python3 memory/scripts/recommendations.py list               # Open recommendations
python3 memory/scripts/skill_draft.py --name "x" --description "what it does"  # Draft a skill
python3 memory/scripts/log_learning.py --content "what was learned" --confidence 0.8
python3 memory/scripts/search_learnings.py "query"           # Search logged learnings
python3 memory/scripts/log_checkpoint.py --label "label" --notes "where I left off"
python3 memory/scripts/list_checkpoints.py                   # List session checkpoints

Run index_markdown.py and register_assets.py after any durable content or skill change.


Folder Map

Folder What lives here
context/ Your profile, priorities, voice, decisions, executive board
workflows/ Routing, daily loop, onboarding, weekly review, memory patterns
memory/ SQLite database and all scripts
.codex/skills/ Approved enabled skills — auto-invoked by intent
.codex/skills-drafts/ Proposed capabilities — never auto-invoked
docs/ Setup guide and onboarding docs
templates/ Reusable input templates
vault/ Notes, research, converted documents
connections/ Per-tool integration rules and approval gates
logs/ Dated reviews, audits, and checkpoints
projects/ Active initiatives
archive/ Approved archived material only

Key Files

File Purpose
AGENTS.md Operating charter — behavior, routing, approval gates, self-improvement loop
START_HERE.md Detailed first-run guide
.claude/CLAUDE.md Model-level instructions — mandatory for all AI models
context/about-user.md Your profile — onboarding trigger file
workflows/capability-routing.md How requests are routed to skills and workflows
workflows/onboarding.md Onboarding question flow and write procedure

Requirements

Requirement Notes
Python 3.9+ For memory scripts
Claude Code Primary AI interface (also works with other Claude-powered tools)
No cloud database Memory is local SQLite — your data stays on your machine

Optional dependencies (for specific skills):

pip install playwright markitdown scrapling        # Browser automation, doc conversion, scraping
playwright install chromium                        # For playwright screenshots
pip install anime-js                               # Only needed for frontend-motion skill

Design Principles

  • Local tools before external APIs — always.
  • Ask before any external action, send, publish, delete, or financial move.
  • Facts separate from assumptions — always labeled.
  • Draft before acting.
  • Index before reading broadly.
  • Verify before claiming complete.
  • Log repeated work. When the same task recurs 3+ times, propose a skill.

License

Source Available — MIT + Commons Clause

Free to use, share, fork, and build on — attribution to WebSaaS.biz required. Commercial use, resale, and sublicensing as a paid product or service are reserved exclusively by Web Services And Automation Solutions LLC (WebSaaS.biz). Contact websaas.biz for commercial licensing.


Built by Gilbert Sepulveda · WebSaaS.biz

Web Services And Automation Solutions LLC

About

An AI executive assistant OS you can adapt to any context — business, project, team, or personal workflow. Auto-routing, persistent memory, 9 pre-installed skills, self-improvement loop. Works with Claude, GPT, Gemini.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages