Commit graph

38 commits

Author SHA1 Message Date
Bob Roberts
90de2e32e4 feat: Consolidate memory skills & punch up README
Memory Skill:
- Merged remember-this into unified memory skill
- Now uses Claude OS KBs (not separate memory MCP)
- Supports natural language: "remember this:", "save to memory:", etc.
- Deleted redundant remember-this skill

README:
- New tagline: "Give Your AI a Memory"
- Added "The Magic" section showing natural language UX
- Rewrote "What is Claude OS" with before/after comparison
- Added killer line: "Claude is a tool → Claude is a partner"
- Compact features table replacing wall of checkmarks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 16:04:43 -06:00
Gurdas Nijor
19332033db Add Smithery badge 2025-12-16 11:39:08 -08:00
Bob Roberts
d4a9b8b62d Add wiki badge and link to Recommended Skills 2025-12-11 19:49:24 -06:00
Bob Roberts
a744080e65 feat: Add Skills Library and Session Insights (v2.3)
## Skills Library
- Browse and install 36+ community skills from Anthropic & Superpowers
- Local skill templates (Rails, React, testing)
- Create custom project-specific skills
- Beautiful UI with search and filtering
- /claude-os-skills command for CLI management

## Session Insights
- Parse Claude Code native .jsonl session files
- Extract patterns, decisions, blockers automatically
- Track tool usage and file changes
- Session summary generation for LLM processing

## Documentation
- Updated README with v2.3 features
- Updated API_REFERENCE with new endpoints
- Added SKILLS_GUIDE.md and SESSIONS_GUIDE.md
- Updated GitHub Pages (docs/index.html)
- Reorganized docs (internal_docs for private)

## Bug Fixes
- Fixed httpx client closure in community skill install
- Fixed frontend request format for skill install

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-11 12:56:49 -06:00
Bob Roberts
6562d3615b Add Discord announcement and update community contributions
- Add Discord badge and invite link at top of README
- Add 5 new PRs from @illAssad (#18-#22) to contributions table

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 16:39:51 -06:00
Bob Roberts
3a5d7dee81 Update README with v2.2 features and community contributions
Documentation updates:
- Add "What's New in v2.2" section highlighting:
  - Gum CLI support for beautiful interactive installer
  - Safety features (--demo, --dry-run, auto-backup)
  - Lite model default (llama3.2:3b)
  - Cloud provider option (OpenAI)
- Add "Community Contributions" section thanking:
  - @williamclavier, @jplimack, @gkastanis, @nicseltzer
- Update installation section for setup-claude-os.sh
- Update Scripts Guide with new unified installer
- Update environment variables with new defaults and OpenAI options
- Note legacy script redirects

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-05 21:38:46 -06:00
Bob Roberts
b5246a0ab2 Clean up repo: remove internal docs, fix issues, add features
- Remove internal docs from git tracking (still in .gitignore)
- Clean Tuffy/Pistn references from public documentation
- Add uninstall.sh script with README documentation
- Fix Configure modal overlay bug (issue #14)
- Add Playwright e2e testing setup
- Remove state/config files from tracking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 16:27:58 -06:00
Bob Roberts
559205e7c0 Added uninstall script 2025-12-02 15:36:12 -06:00
Bob Roberts
9e1f9c4074
Merge pull request #11 from gkastanis/feature/linux-support
Add Linux support for installation scripts
2025-12-02 14:48:00 -06:00
Bob Roberts
73278c90e8
Merge pull request #10 from nicseltzer/main
[readme][link]: Broken link to 'buildermethods'
2025-12-02 14:47:24 -06:00
Bob Roberts
f45f2f0c6a Major cleanup that should have done before announcing this app!!! 2025-12-02 14:35:15 -06:00
gkastanis
ff8c778918 Add Linux support for installation scripts
- Add OS and package manager detection (apt, dnf, yum, pacman)
- Skip installation if Ollama/Redis already installed
- Use direct daemon execution instead of sudo for service start
- Update help messages with Linux package manager instructions
- Update README to reflect Linux support

Tested on Ubuntu with apt and systemctl.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 14:12:58 +02:00
nic seltzer
442ff23e1f [readme][link]: Broken link to 'buildermethods' 2025-12-01 16:52:09 -08:00
Claude
b2cc61f11c
📝 Remove duplicate Architecture section from README
Consolidated duplicate architecture sections by removing the ASCII
architecture diagram section (lines 649-688) while keeping the
comprehensive Architecture Overview section with SVG diagram.

The Template System section has been promoted to its own top-level
section for better organization.
2025-11-05 17:14:18 +00:00
Bob Roberts
96b8c29dba Cleanup and some docs 2025-11-05 11:12:24 -06:00
Bob Roberts
8e41fc9dfc Requiring sessions and kanban boards 2025-11-04 16:54:48 -06:00
Bob Roberts
662f500edb Fixing the install script for error handling 2025-11-01 14:34:30 -05:00
Bob Roberts
b7aa3ba2c5 Updated docs 2025-10-31 18:17:19 -05:00
Bob Roberts
bba91a3167 Add Live Demo badge linking to GitHub Pages brochure
- Add prominent "Live Demo - Interactive Brochure" badge
- Links to https://brobertsaz.github.io/claude-os/
- Uses cyan color (#00D9FF) matching brand
- Style: for-the-badge for visibility

Now visitors can easily find the beautiful brochure site!

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 18:04:32 -05:00
Bob Roberts
b335b5102a Add v2.0 architecture diagram and update documentation
- Add professional SVG architecture diagram matching hero logo aesthetic
- Update README with Architecture Overview section
- Completely rewrite WHAT_IS_CLAUDE_OS.md with hybrid indexing features
- Add Code Structure MCP as 6th pillar
- Update all performance metrics (10,000 files in 3 seconds!)
- Add comparison tables highlighting 600-1000x speedup
- Include both visual and technical architecture diagrams

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 17:23:47 -05:00
Bob Roberts
ddf3bac39b CRITICAL FIXES: Consolidate templates + API improvements
This commit fixes several critical issues found during comprehensive review:

## CRITICAL FIX: Template Consolidation ⚠️
- Moved 6 commands from ~/.claude/commands/ to templates/commands/
- Moved 3 skills from ~/.claude/skills/ to templates/skills/
- Team sharing was BROKEN without this (symlinks pointed to empty dirs)
- Updated README with prominent consolidation step warning
- Commands: list, remember, save, search, session, triggers
- Skills: initialize-project, remember-this, memory

## HIGH PRIORITY FIXES:
- ✅ Completed selective semantic indexing (removed TODO at line 878)
- ✅ Fixed PostgreSQL references in health check (system uses SQLite)
- ✅ Created comprehensive API documentation (docs/API_REFERENCE.md)
- ✅ Added Depends import to fix authentication endpoints

## DOCUMENTATION:
- Added complete API_REFERENCE.md (60+ endpoints documented)
- Created HYBRID_INDEXING_INTEGRATION.md (5 KB architecture)
- Updated README with API docs link + consolidation warning
- Documented all hybrid indexing endpoints with examples

## IMPROVEMENTS:
- Selective semantic indexing now actually ingests files (was placeholder)
- Health check now correctly queries SQLite instead of PostgreSQL
- All authentication endpoints now functional
- Structural indexing stores as pure JSON (no embeddings)

Impact: Team sharing now works, all features documented, critical bugs fixed.
Tested: Pistn indexing (3,117 files in 3 seconds) ✅

🚀 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 14:23:43 -05:00
Bob Roberts
cd92bb48ff Add hybrid indexing system - 600x faster codebase indexing
Implement revolutionary tree-sitter based hybrid indexing system that
reduces codebase indexing time from 3-5 hours to 30 seconds for large
projects like Pistn (10,000+ files).

## Key Features

Phase 1: Structural Indexing (tree-sitter, instant)
- Parse files with tree-sitter (no LLM calls)
- Extract symbols only (classes, functions, methods)
- Build dependency graph (NetworkX)
- PageRank importance scoring
- Token-budget aware repo maps
- SQLite caching for instant re-indexing
- Ready in 30 seconds for 10k files

Phase 2: Semantic Indexing (selective, optional)
- Index top 20% most important files by PageRank
- Include all documentation
- 80% reduction in embeddings
- Runs in background (20-30 minutes vs 3-5 hours)

## New Components

- app/core/tree_sitter_indexer.py (630 lines)
  - TreeSitterIndexer class with full parsing
  - Support for 15+ languages (Python, Ruby, JS, TS, Go, Rust, etc.)
  - Dependency graph builder
  - PageRank scoring
  - Token-budget binary search

- mcp_server/server.py (added 268 lines)
  - POST /api/kb/{kb_name}/index-structural
  - POST /api/kb/{kb_name}/index-semantic
  - GET /api/kb/{kb_name}/repo-map

- templates/commands/claude-os-init.md (updated)
  - New Step 5: Phase 1 Structural Indexing
  - New Step 6: Phase 2 Semantic Indexing (optional)
  - Interactive user prompts for indexing choices

- Documentation
  - docs/HYBRID_INDEXING_DESIGN.md (complete technical design)
  - HYBRID_INDEXING_COMPLETE.md (implementation summary)
  - test_hybrid_indexing.py (test script)

## Performance Gains

Before: 3-5 hours (100,000+ embeddings)
After: 30 seconds + optional 20-30 minutes (20,000 embeddings)

Speed improvement: 600x faster
Resource reduction: 80% fewer embeddings
User experience: Instant startup

## Dependencies Added

- tree-sitter>=0.21.0
- tree-sitter-languages>=1.10.0
- networkx>=3.2.1

## Inspired By

Aider's repo map approach (https://github.com/Aider-AI/aider)
with Claude OS hybrid architecture innovation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 13:08:18 -05:00
Bob Roberts
1b835c3a3e Add simple email/password authentication to frontend
Implemented optional authentication to keep strangers out of the
Claude OS frontend when deployed to production servers.

Backend (FastAPI):
- mcp_server/auth.py: JWT-based authentication
  * Bcrypt password hashing
  * Environment-based user credentials (no database needed)
  * 7-day token expiration
  * Optional - disabled by default

- mcp_server/server.py: Auth endpoints
  * POST /api/auth/login - Returns JWT token
  * GET /api/auth/me - Get current user
  * GET /api/auth/status - Check if auth enabled

- requirements.txt: Added dependencies
  * passlib[bcrypt] for password hashing
  * python-jose[cryptography] for JWT
  * python-multipart for form data

Frontend (React):
- frontend/src/lib/auth.tsx: Auth context and hooks
  * Manages authentication state
  * Automatic token validation
  * localStorage for token persistence

- frontend/src/pages/Login.tsx: Beautiful login page
  * Gradient design matching Claude OS branding
  * Clear error messages
  * Loading states

- frontend/src/components/ProtectedRoute.tsx: Route protection
  * Automatically redirects to login if not authenticated
  * Shows loading state during auth check
  * Bypasses auth if disabled

- frontend/src/App.tsx: Integrated auth
  * Wrapped app in AuthProvider
  * Protected routes for Welcome and MainApp
  * Login route for authentication

Documentation:
- AUTH_SETUP.md: Complete authentication guide
  * Quick start instructions
  * Password hash generation
  * Production deployment steps
  * Troubleshooting guide

- .env.example: Added auth configuration
  * CLAUDE_OS_EMAIL (login email)
  * CLAUDE_OS_PASSWORD (dev - plain text)
  * CLAUDE_OS_PASSWORD_HASH (production - bcrypt hash)
  * CLAUDE_OS_SECRET_KEY (JWT secret)

- docs/PRODUCTION_DEPLOYMENT.md: Added Step 5
  * Authentication setup for production
  * Hash and secret generation commands
  * Testing instructions

Features:
✅ Optional authentication (disabled by default)
✅ Single user via environment variables
✅ Secure bcrypt hashing
✅ JWT tokens with 7-day expiration
✅ Beautiful login UI
✅ No database required for user management

Usage:
1. Set CLAUDE_OS_EMAIL and CLAUDE_OS_PASSWORD in .env
2. Restart Claude OS
3. Visit /login to authenticate
4. Token valid for 7 days

To disable auth: Remove CLAUDE_OS_EMAIL from .env

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 21:07:53 -05:00
Bob Roberts
6e1d000c1e Add optional Agent-OS integration with proper attribution
Integrate Agent-OS by Builder Methods (CasJam Media LLC) as an optional
component during Claude OS installation, following a partner approach that
respects their project while creating a complete AI development system.

Key Changes:
- Updated install.sh to optionally clone Agent-OS from their GitHub repo
- Added proper attribution to Builder Methods throughout documentation
- Created "Acknowledgments" section in README with full credit
- Marked Agent-OS as optional in all user-facing docs
- Added graceful fallback if Agent-OS installation fails

Integration Approach:
- Partner model: git clone from https://github.com/builder-methods/agent-os
- Optional installation: users choose during ./install.sh
- MIT license compliance: all required copyright notices included
- Upstream updates: git clone ensures users get their latest improvements
- Clean separation: Agent-OS remains a separate, credited project

Files Modified:
- install.sh: Added Agent-OS installation prompt (lines 156-211)
- README.md: Added attribution in Agent-OS section and Acknowledgments
- SHARING_GUIDE.md: Updated to reflect optional Agent-OS integration

Benefits:
- Respects Builder Methods' work with proper attribution
- Creates complete system: Claude OS (memory) + Agent-OS (workflows)
- Users get upstream updates automatically
- Optional for flexibility
- MIT license compliant

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 19:20:37 -05:00
Bob Roberts
369a8a0080 Add packaging and sharing system 2025-10-30 18:53:58 -05:00
Bob Roberts
743d4a0888 docs: Simplify MCP section - initialize-project shows URLs directly
The /initialize-project command outputs the MCP URLs directly,
so no need to tell users to manually find them in the UI.
Just note that the command shows the URLs to use.

Much cleaner and simpler.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:29:37 -05:00
Bob Roberts
b1770fb02d docs: Update all references from Claude Desktop to Claude CLI
Changed:
- Updated MCP Integration section title to reference Claude CLI
- Updated feature list to mention Claude CLI integration
- Updated 'Perfect For' section to mention Claude CLI
- Updated 'Initialize Your Project' section
- Updated 'Via Claude CLI' in knowledge base query section
- Updated Architecture diagram to show Claude CLI instead of Desktop

The MCPs are designed for use with Claude CLI, not Claude Desktop.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:28:35 -05:00
Bob Roberts
80d658105b docs: Simplify MCP Integration section - auto-generated by initialize-project
Changed:
- Removed detailed MCP integration instructions
- Removed old example MCP names (pistn, pistn-agent-os)
- Simplified to note that /initialize-project creates 4 MCPs automatically
- Explained the 4 auto-generated MCPs and their purposes
- Directed users to Project Setup modal for MCP URLs

The initialize-project skill handles all MCP creation, so manual
configuration instructions were unnecessary and outdated.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:27:48 -05:00
Bob Roberts
2910783a1c docs: Fix installation instructions to require cloning repository first
Changed:
- Replaced misleading one-liner curl command with explicit clone + setup flow
- Updated 'Quick Install' section to show 3 clear steps
- Updated 'Installation (Step by Step)' to include clone step
- Changed step numbering from 4 to 5 steps total
- Made it clear that setup.sh must be run from within the repo

The setup.sh script requires relative paths to work, so users must
clone the repository first before running setup.

This matches standard Git project workflows and is now honest about
what's required to get the full installation.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:22:19 -05:00
Bob Roberts
f7a1c29971 docs: Clarify Claude Code initialization step with copy-paste instructions
Updated Step 3 to be crystal clear:
- Users must OPEN Claude Code and copy-paste the command
- Added prominent instruction: 'Open Claude Code and copy-paste'
- Added warning to replace project ID with actual number
- Added 3 clear examples with different project IDs
- Detailed what happens after running the command
- Explained the benefits: Claude becomes an expert, auto-updates on commits

This makes the workflow much clearer for users.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:18:03 -05:00
Bob Roberts
a7b5ddb807 docs: Comprehensive README update with setup guide and project initialization
Added:
- One-line installer instructions with prerequisites clearly listed
- Step-by-step installation guide for macOS and Linux
- Detailed Scripts Guide documenting all 8 shell scripts
- Project initialization workflow (3 steps to make Claude an expert)
- Clear explanation of setup.sh vs setup_native.sh differences
- Honest documentation of what auto-installs vs what needs pre-installation

Changes:
- Reorganized Quick Start section with prerequisites at top
- Added one-line curl installer option prominently
- Expanded Scripts Guide with individual sections for each script
- Added "Initialize Your Project" section with project creation and ID steps
- Clarified that Python 3.11+ and Git must be pre-installed
- Documented that Ollama and Redis auto-install if missing

This makes Claude OS onboarding much clearer and more professional.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:18:03 -05:00
Bob Roberts
44f3d03a1f Update README with self-learning system documentation links
Added comprehensive documentation section with:
- Core Features: Self-Learning System, Real-Time Learning Guide, Memory MCP
- Technical Documentation: Setup, performance, implementation details

Users can now easily find:
- SELF_LEARNING_SYSTEM.md (primary guide for how learning works)
- REAL_TIME_LEARNING_GUIDE.md (usage examples)
- MEMORY_MCP_GUIDE.md (persistent context)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 20:29:27 -05:00
Bob Roberts
d189972021 Almost got the mosnter finished 2025-10-27 17:41:44 -05:00
Bob Roberts
8f4156de79 Add PostgreSQL setup to setup script and write comprehensive coworker README
- Updated setup_native.sh to check/install PostgreSQL and create codeforge database
- Checks if PostgreSQL is running and starts it if needed
- Tests database connection with helpful error messages
- New comprehensive README.md with:
  - Clear quick start (5-10 minutes)
  - Step-by-step installation with prerequisites
  - MCP integration instructions for Claude Desktop
  - Environment variable configuration guide
  - PostgreSQL password setup instructions
  - Troubleshooting section for common issues
  - Architecture diagrams
  - Performance notes
  - Project structure documentation

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 18:41:37 -05:00
Bob Roberts
53295444de Major refactor: Native Ollama setup + MCP integration
Features:
- Fixed Ollama configuration for native (localhost) instead of Docker
- Increased LLM timeout from 30s to 120s for quality answers
- Implemented KB slug system for clean MCP endpoint URLs
- Added multiple knowledge base support with type metadata
- Integrated MCP server with FastAPI (port 8051)
- React frontend with KB management UI
- PostgreSQL + pgvector for vector embeddings

Performance:
- 33-56% faster than Docker setup with native Ollama
- Direct Metal GPU acceleration on Apple Silicon
- Optimized RAG engine with caching
- ~40s response time for comprehensive answers

Documentation:
- Complete native setup guide (README_NATIVE_SETUP.md)
- Performance benchmarking and comparison
- MCP endpoint documentation
- Slug implementation details
- Decision rationale for native vs Docker

Cleanup:
- Removed old Streamlit setup files
- Consolidated setup scripts to single setup_native.sh
- Consolidated service management scripts
- Removed test artifacts and old analysis docs
- Ready for sharing with team

🚀 Production-ready for local team deployment

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 18:37:19 -05:00
Bob Roberts
bf1277182c mostly working correctly 2025-10-24 16:17:47 -05:00
Bob Roberts
a6a9c77f51 Major updates to use react and agent os profiles 2025-10-23 19:23:05 -05:00
Bob Roberts
8e5a46aa59 first commit 2025-10-22 13:29:28 -05:00