ALBA

agent
Security Audit
Pass
Health Pass
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 17 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested
Purpose
This tool provides a framework of markdown files, shell hooks, and slash commands that transforms Claude Code into a persistent personal agent. It uses a file-based memory system to save your context, priorities, and learnings across multiple sessions.

Security Assessment
The overall risk is Low. The codebase is written entirely in Shell and is built on "pure markdown" with zero external dependencies. A scan of 12 files found no dangerous patterns, hardcoded secrets, or requests for dangerous permissions. Because the architecture relies entirely on local file reads and writes to manage its memory state, there is no obvious attack vector for remote data exfiltration. However, users should still be aware that the shell hooks execute locally, so it is best practice to briefly review the scripts before running the setup. It does not appear to make external network requests or access highly sensitive system data outside of your local project directories.

Quality Assessment
The project is actively maintained, with its most recent push happening today. It uses the permissive and standard MIT license, making it safe for both personal and commercial use. Community trust is currently in its early stages with 17 GitHub stars, which is typical for a niche utility. The repository is well-documented, offering clear instructions and a multilingual README to help users get started quickly.

Verdict
Safe to use — it is a lightweight, transparent, and dependency-free utility that poses minimal security risks.
SUMMARY

Turn Claude Code into a personal AI agent with persistent memory. Interactive setup, 9 skills, 6 hooks, role-agnostic. Zero dependencies.

README.md

ALBA - Your routine-driven AI companion

English | Türkçe | Deutsch

MIT License Claude Code minimum Tested with v2.1.123 Stars


ALBA transforms Claude Code into a personal AI agent that remembers your priorities, learns from your mistakes, and adapts to your workflow — whether you're a developer, PM, researcher, founder, or content creator.

10-minute interactive setup. Zero dependencies. Pure markdown.

ALBA /setup demo

The Problem

Every new Claude Code session starts from zero. No memory of yesterday's priorities. No context about your projects. Same mistakes repeated. You re-explain your workflow every time.

The Solution

you@machine:~/alba$ claude
> /setup

Answer 7 questions. ALBA builds a personalized agent system with persistent memory, automated workflows, and self-improving behavior — tailored to your role.

What You Get

your-agent/
├── CLAUDE.md                     # Agent brain (< 200 lines)
├── memory/
│   ├── state/                    # Priorities, tasks (updated every session)
│   ├── knowledge/                # Learnings, errors, preferences (auto-updated)
│   ├── projects/                 # Per-project context
│   └── daily/                    # Session logs (auto-created)
├── .claude/
│   ├── skills/                   # 9 built-in skills
│   ├── hooks/                    # 6 automated event handlers
│   ├── rules/                    # Behavioral guidelines (auto-loaded)
│   ├── docs/                     # Reference docs (lazy-loaded)
│   └── settings.json             # Hook configuration

Core Features

Persistent Memory

Three-tier file-based memory that survives across sessions. Git-tracked, human-readable, zero dependencies.

/start              → loads your priorities from last session
  ... work ...
/end                → saves progress, records learnings
  ... next day ...
/start              → picks up exactly where you left off

9 Built-in Skills

Skill Purpose
/start Begin session — load context, show priorities
/end End session — save state, create daily log
/status Quick overview — tasks, blockers, last session
/research Web research with structured output (runs as subagent)
/weekly-review Weekly performance review and next-week planning
/extend Add new skills, hooks, or rules anytime
/reflect Cross-session pattern analysis
/create-skill Guided skill creation wizard
/setup Interactive first-time setup

6 Automated Hooks

Event What Happens
Session starts Dashboard loads, priorities shown
Dangerous command Blocked before execution
Bash error Auto-logged for pattern detection
Session ending Reminder to save state
You type a prompt Relevant skills suggested
Context compacting Critical info preserved

Self-Improvement

ALBA learns from your work:

  • Errors auto-recorded with solutions (never repeat the same mistake)
  • Learnings captured as reusable patterns
  • Preferences updated when you correct the agent
  • /reflect analyzes patterns across sessions and suggests new rules

Progressive Disclosure

CLAUDE.md stays under 200 lines. System docs lazy-load only when needed — keeping your context window efficient.


Quick Start

Option 1: GitHub Template (Recommended)

Click "Use this template" on GitHub, then:

git clone https://github.com/YOUR-USERNAME/YOUR-REPO.git my-agent
cd my-agent
claude

Option 2: Direct Clone

git clone https://github.com/onurpolat05/ALBA.git my-agent
cd my-agent
rm -rf .git && git init
claude

Then:

/setup

Answer 7 questions (~10 minutes). Your personalized agent is ready.


Daily Workflow

Morning:
  /start                    # "Your priorities: 1. API deadline Friday  2. Review PR #42"

During work:
  "research multi-agent patterns"    # /research runs as subagent
  "what's my status?"                # /status shows quick overview

End of day:
  /end                      # Saves progress, records learnings, creates daily log

Friday:
  /weekly-review            # Analyzes the week, plans next week

Anytime:
  /extend                   # "I want a content creation skill" → builds it
  /loop 30m /status         # Periodic reminders (Claude Code v2.1.83+)

How It Compares

Feature Raw Claude Code Other Starters ALBA
Memory across sessions None Some (memory only) 3-tier (state/knowledge/projects)
Setup experience Manual config Copy-paste Interactive wizard (7 questions)
Role support Generic Developer-only Any role (5 examples included)
Self-improvement No No Auto error + learning capture
Hooks Manual setup Some templates 6 hooks, auto-configured
Skills None built-in Varies 9 built-in, extensible
Context efficiency N/A N/A Progressive disclosure (< 200 lines)
/loop support N/A N/A Documented integration

Examples

See examples/ for complete, working setups:

Role Focus
Developer Code projects, git workflows, research
Project Manager Sprint management, stakeholder updates, team coordination
Content Creator Content calendar, research, multi-platform publishing
Researcher Literature review, source management, citation tracking
Founder Multi-client management, revenue tracking, personal brand

Each example includes pre-filled dashboards, sample daily logs, and working hook configurations.


Architecture

Skills 2.0

Skills use YAML frontmatter with explicit metadata:

---
name: research
description: Web research with structured output
context: fork          # runs as subagent (doesn't bloat main context)
allowed-tools: [Read, Write, WebSearch, WebFetch]
---

context: fork = heavy tasks run as subagents. context: inline = quick tasks in main conversation.

Memory System

HOT  (every session)  →  memory/state/dashboard.md, todo.md
WARM (when learned)   →  memory/knowledge/learnings.md, errors.md, preferences.md
COLD (per-project)    →  memory/projects/[name]/context.md
LOGS (auto-created)   →  memory/daily/YYYY-MM-DD.md

Hook System

Hooks are bash scripts triggered by Claude Code events, configured in .claude/settings.json. They run automatically — no manual invocation needed.

Compatibility

  • Claude Code auto-memory: coexists without conflict (details)
  • /loop scheduling: session-scoped periodic tasks (details)
  • MCP servers: optional (Trello, Gmail, Calendar, Exa, Firecrawl) — ALBA works standalone

Extending ALBA

After setup, add features anytime:

/extend

Or just ask naturally:

  • "I want a skill for drafting emails"
  • "Add a hook that auto-commits on session end"
  • "Create a rule for code review standards"
  • "Connect my Trello board"

Requirements

  • Claude Code v2.1.83+ minimum — tested up to v2.1.123 (latest recommended). Install.
  • Git

MCP servers are optional enhancements — ALBA works fully standalone.


Windows Setup

ALBA's hooks are bash scripts. Claude Code runs natively on Windows (no WSL required) and routes bash commands through Git Bash automatically — but you need a couple of prerequisites:

# 1. Install Git for Windows (provides Git Bash)
winget install --id Git.Git -e

# 2. Install jq (used by hooks for JSON parsing)
winget install --id jqlang.jq -e

# 3. Install Claude Code
irm https://claude.ai/install.ps1 | iex

Then clone ALBA and run claude from the repo root — Git Bash handles the rest.

Why this works: ALBA's .gitattributes forces *.sh files to LF line endings, preventing the bad interpreter: bash\r error that breaks bash scripts under Windows' default CRLF setting.

Alternative: WSL2 also works (same install steps inside the Linux distro). Use WSL2 if you prefer a full Linux toolchain.

Troubleshooting: if hooks fail with command not found: jq, install jq with the command above. If you see bad interpreter, your clone predates .gitattributes — re-clone the repo.


Contributing

Contributions welcome! See CONTRIBUTING.md.

Most valuable contributions:

  • Example setups for new roles
  • Custom skill templates
  • Hook recipes
  • Integration guides

License

MIT License — see LICENSE


Community


ALBA — Consistent. Independent. Always learning.

Named after Abla the cat. Alba means "dawn" in Latin — a new beginning for your AI workflow.

Star History

Star History Chart

Reviews (0)

No results found