@ban_/alfred
v0.3.0
Published
Repo-aware Codex companion for bootstrap, journaling, and session hygiene.
Downloads
183
Readme
Alfred
Alfred is a repo-aware Codex companion.
It gives you:
- one global Alfred for your user context and external channels
- one repo Alfred per repository for local execution
- a small CLI to setup, start, inspect, and repair the runtime
Get Started
1. Install prerequisites
Required:
- Node.js
>= 22 npmgitsqlite3- Codex CLI installed and authenticated
macOS:
brew install node git sqlite
brew install --cask codexDebian / Ubuntu:
sudo apt-get update
sudo apt-get install -y nodejs npm git sqlite3Windows native is not supported yet. Use WSL2.
2. Install Alfred
From npm:
npm install -g @ban_/alfred
alfred --versionFrom source:
git clone <repo-url> alfred
cd alfred
npm install
npm run build
npm link
alfred --version3. Run first-time setup
Global setup:
alfred setup --globalNon-interactive setup:
alfred setup --global --yesAlfred will:
- detect
codex - write
~/.alfred/config.json - create
~/.alfred/user/SOUL.md - create
~/.alfred/user/MEMORY.md
If a dependency is missing, Alfred prints the install hint for your platform.
4. Setup a repo
Inside a repo:
cd /path/to/repo
alfred setupOr explicitly:
alfred setup --repo /path/to/repoThis creates the repo Alfred context, including AGENTS.md, MEMORY.md, and the local runtime state.
5. Start working
Inside a repo:
cd /path/to/repo
alfredOutside any repo:
cd ~
alfred --globalCore Commands
alfred
alfred setup
alfred doctor
alfred status
alfred watch --last 30
alfred ticket --task "Implement the pagination fix"
alfred resetUseful forms:
alfred doctor --fix
alfred setup --yes
alfred status --global
alfred setup --repo /path/to/repoWhatsApp is optional.
Configure and pair:
alfred gateway start
alfred gateway whatsapp config --owner +33612345678 --enable
alfred gateway whatsapp pair
alfred gateway whatsapp statusReset a broken session:
alfred gateway whatsapp reset
alfred gateway stop
alfred gateway startRelease Checks
Before publishing a new package:
npm run typecheck
npm run build
npm run smoke:npm-install
npm pack --dry-runMore
For deeper onboarding and install notes, see docs/install-and-onboarding.md.
