By DrakeCaraker
AI coding assistant that teaches development habits in your domain's language, then turns your corrections into permanent rules and automated guards.
Run a deep security and quality audit of the project, present findings, and offer to fix them.
Set up a persona-tailored AI-assisted development environment. This command detects what exists, asks targeted questions, selects a persona, generates your CLAUDE.md, and initializes progressive skill building.
Autonomously fix CI failures in a loop until all checks pass or a stop condition is reached.
Preview, contribute, ingest, or manage encrypted anonymized learning signals.
If `coding_level == "beginner"` in `.claude/.onboarding-state.json`, preface the commit workflow with a brief explanation:
Use when the user wants to preview or contribute anonymized learning signals to the collective
Use during self-improve to automatically evolve the user persona based on accumulated corrections and usage patterns
Use when the user wants to view, modify, or reset their Alfred persona, or when running /persona
Contextual recommendations for every Alfred command — when to suggest, what to say, and why
Use when starting any session with Alfred installed to orient the user and check onboarding state
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin that teaches development habits in your domain's language — then fades as you learn. Your corrections become permanent rules; your rules become automated hooks.
/plugin marketplace add DrakeCaraker/alfred
/plugin install alfred@alfred-marketplace
/reload-plugins
Then type /alfred:bootstrap and answer 3 questions. Done. New to Claude Code?
Alfred teaches 8 habits one at a time, when you need them:
Each habit is explained using your domain's language. An ML scientist hears "checkpoint your experiment." A researcher hears "sign a lab notebook page." A writer hears "seal a draft." Same concept — framing that sticks.
After three exposures without asking "why?", Alfred stops explaining and just does it. Advanced users start in silent mode.
You correct Alfred once → It remembers (this session)
The same thing comes up → It becomes a permanent rule (every session)
You want it enforced → It becomes an automated hook (runs by itself)
This is the core loop. You're not configuring a tool — you're training an environment. Every correction makes the system better. Over time, good practices become the default and mistakes require effort.
| # | Persona | Example guardrail |
|---|---|---|
| 1 | ML / Data Science | Never commit .pkl files; use fixed random seeds |
| 2 | Research | Never modify raw data; report significance tests |
| 3 | Business Analytics | Never hard-code dates; validate join row counts |
| 4 | Product Analytics | Never peek at results before planned end date |
| 5 | BI Platform | Never DROP production tables without backup |
| 6 | General | Never commit .env files; run tests before pushing |
| 7 | Writer / Editor | Never overwrite approved drafts; version explicitly |
Three commands cover 90% of daily use:
/alfred:new-work — start a scoped task on a branch/alfred:commit — safe commit with pre-flight checks/alfred:teach — learn the next habit| Command | What it does |
|---|---|
/bootstrap | Picks your persona, generates CLAUDE.md, initializes tracking |
/github-account-setup | Connect to GitHub or create an account |
/teach | Next habit lesson — /teach <name> to revisit |
/status | Graduated habits, level, next steps |
/commit | Safe commit — pre-flight checks, blocks binaries |
/new-work | Scoped branch with task list |
/ci-fix | Auto-fix loop: lint → format → typecheck → test until green |
/self-improve | Promote recurring corrections to permanent rules |
/health-check | Project maturity assessment (5 levels) |
/safe-refactor | One change at a time, auto-rollback on test failure |
/experiment-summary | Inventory results with provenance |
/pr | Push and open a PR (runs checks first) |
/vet | Pressure-test a plan before committing to it |
/audit | Security and quality audit with guided fixes |
/persona | View or change your active persona |
/collective | Preview, contribute, or ingest shared learning signals |
/pilot-consent | View what's collected, opt in or out |
/pilot-report | Submit feedback (PII-scrubbed) |
/pilot-delete | Delete your data locally or from the repo |
When installed as a plugin, prefix with alfred: (e.g., /alfred:teach).
/safe-refactor — Writes characterization tests first, then refactors one change at a time. Tests fail? Automatic rollback.
/ci-fix — Loops lint → format → typecheck → tests until green. Detects when it's stuck and stops.
/health-check — Assesses your project across 5 maturity levels. Recommends what to fix next.
Alfred is per-repo. Each team member runs /bootstrap with their own persona and coding level — guardrails are consistent, explanations are personalized.
The flywheel:
/self-improve promotes recurring corrections → CLAUDE.md rule (shared, every session)One person's discovery becomes everyone's guardrail.
npx claudepluginhub drakecaraker/alfred --plugin alfredSelf-improving Claude Code plugin — learns from corrections across sessions via reflexio
Automatic context engineering — observes your coding sessions and generates rules, suggestions, skills, and hooks so Claude gets smarter on your codebase over time
Claude Code skills based on Atomic Habits by James Clear. Frameworks for building persistent habits through identity-based change, environment design, and the Four Laws of Behavior Change.
Coding workflow skills: intelligent commits, push & PR, branch cleanup, CLAUDE.md maintenance, README generation, changelog creation, README updating, and GitHub Actions setup
A Claude Code plugin that's alive. Observes everything, learns instincts, evolves capabilities. Bound to one maker.
Git storytelling guidance - helps commit work thoughtfully to tell the story of your development process.