ucai
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 28 GitHub stars
Code Fail
- fs module — File system access in .github/workflows/ci.yml
- fs module — File system access in hooks/handlers/precompact-handler.js
- process.env — Environment variable access in hooks/handlers/pretooluse-guard.js
- fs.rmSync — Destructive file system operation in hooks/handlers/session-end-handler.js
- fs module — File system access in hooks/handlers/session-end-handler.js
- child_process — Shell command execution capability in hooks/handlers/sessionstart-handler.js
- execSync — Synchronous shell command execution in hooks/handlers/sessionstart-handler.js
- process.env — Environment variable access in hooks/handlers/sessionstart-handler.js
- fs module — File system access in hooks/handlers/sessionstart-handler.js
- fs.rmSync — Destructive file system operation in hooks/handlers/stop-handler.js
- fs module — File system access in hooks/handlers/stop-handler.js
- fs module — File system access in hooks/handlers/userpromptsubmit-handler.js
- fs module — File system access in scripts/setup-iterate.js
Permissions Pass
- Permissions — No dangerous permissions requested
This tool is a Claude Code plugin designed to streamline AI-assisted software development. It provides native, structured workflows for project planning, task tracking, multi-agent code reviews, and debugging.
Security Assessment
Overall Risk: Medium to High.
The tool presents significant security considerations primarily due to its deep system integration capabilities. It actively executes synchronous shell commands and performs destructive file system operations (such as deleting files) during session startup and shutdown hooks. While it does not appear to make external network requests or contain hardcoded secrets, it does read environment variables. File system access is heavily utilized across its lifecycle hooks and setup scripts.
Quality Assessment
The project is actively maintained, with its most recent push occurring today. It uses the standard, permissive MIT license. The community trust level is currently low but growing, reflected by 28 GitHub stars. The codebase appears thoughtfully designed, aiming to enhance native CLI capabilities rather than relying on clunky external wrapper scripts.
Verdict
Use with caution — the setup process requires running scripts with system-altering capabilities, so you should review the hook scripts thoroughly before granting execution permissions.
A Claude Code plugin that solves the same problems as community frameworks (GSD, BMAD, Ralph, Agent OS) — but using the tool's native architecture instead of fighting it.
Ucai — Use Claude Code As Is
A Claude Code plugin that solves the same problems as GSD, BMAD, Ralph, and Agent OS — but using Claude Code's native architecture instead of fighting it.
Ucai was built from the inside out.
We read the source code. We studied how Anthropic builds their own plugins.
Every component maps 1:1 to a native Claude Code system — no wrappers, no personas, no bash loops.
🥊 Frameworks vs. Ucai — What's Actually Different?
Community frameworks were built from the outside in — wrapping Claude Code in bash scripts, mega-prompts, and persona engineering.
Ucai is built from the inside out — using Claude Code's native systems exactly as Anthropic designed them.
| Problem | Framework Approach | Ucai (Native) Approach |
|---|---|---|
| Context rot | Bash wrappers spawning fresh sessions | Task tool already gives fresh context per agent |
| No structure | Persona prompts + ceremonies | Commands with phased workflows + parallel agents |
| No guardrails | CLAUDE.md rules (hope-based) | PreToolUse hooks (deterministic) |
| No iteration | External bash loops | Stop hooks (native, built-in) |
| No planning | Manual PRD/FRD docs or skipped entirely | /plan with discovery agents + structured file output |
| No onboarding | Template CLAUDE.md dumps | Agent-powered codebase analysis |
| No learning | Same mistakes every session | Self-improvement loop — tasks/lessons.md persists corrections across sessions |
| No task tracking | Manual or forgotten | Persistent tasks/todo.md — hooks inject active task into every prompt |
✨ What Ucai Gives You
- Project planning with discovery agents
- Feature-level FRDs with milestone breakdown (each milestone = one fresh context window)
- 8-phase build workflow with parallel agents, elegance checkpoints, and staff engineer self-checks
- Persistent task tracking (
tasks/todo.md) and self-improvement loop (tasks/lessons.md) - Automated test writing (TDD) integrated into build and debug workflows
- Native autonomous iteration (
/ucai:iterate) - Multi-agent code review with lessons-aware pattern detection
- Structured debugging with single approval gate and autonomous execution
- Documentation generation with gotcha extraction from lessons
- Release automation
- Hook lifecycle coverage — session context injection, task/lessons awareness, config guardrails, subagent quality gates, and iterate-state preservation across compaction
- Built-in skills (backend, frontend, QA, DevOps, architecture, code review, and more)
All using native Claude Code commands, agents, hooks, and skills.
⚡ Quickstart
Requirements
Claude Code v2.1.0+. Check with:
claude --version
Install (Marketplace)
Inside an interactive Claude Code session:
/plugin marketplace add Joncik91/ucai
/plugin install ucai-plugin@ucai-marketplace
This installs Ucai globally — available in every project and every session.
Development / Local Testing
claude --plugin-dir ./ucai
🧪 Verify Installation
All commands are namespaced under ucai::
/ucai:init
/ucai:plan
/ucai:build
/ucai:debug
/ucai:docs
/ucai:release
/ucai:iterate
/ucai:review
/ucai:cancel-iterate
Run /help to see them listed.
🧩 Commands
| Command | What it does |
|---|---|
/ucai:init |
Analyze codebase with parallel agents → generate real CLAUDE.md |
/ucai:plan |
No args: project spec + requirements backlog. With args: feature FRD with milestones |
/ucai:build |
8-phase build workflow — explore, clarify, design, implement, verify, test (automated + manual) |
/ucai:iterate |
Controlled autonomous iteration via native Stop hooks |
/ucai:review |
Parallel agent code review — bugs, security, conventions, lessons-aware |
/ucai:debug |
Structured debugging — single approval gate, autonomous fix, regression tests |
/ucai:docs |
Generate README, API docs, deployment guides from codebase + specs + lessons |
/ucai:release |
Changelog from git history, version bump, git tag |
/ucai:cancel-iterate |
Stop an active iteration loop |
→ Full workflow guide — getting started patterns, milestone-based builds, command deep-dives, context chain reference.
🚀 Typical E2E Workflow
Greenfield project
# 1. Define what you're building — project.md + requirements backlog
/ucai:plan
# 2. Generate CLAUDE.md — two valid timings, pick one:
# Right after /plan → if planning settled the stack, folder structure,
# and key conventions well enough to write them down now
# After first /build → if those choices were left open and only resolved
# once implementation started
/ucai:init
# 3. FRD for your first feature (optional but recommended for complex work)
/ucai:plan vertical slice
# 4. Build it — 8-phase: explore → clarify → design → implement → verify → test
/ucai:build vertical slice
# 5. Keep building from the backlog
/ucai:build authentication
/ucai:build notifications
...
# 6. Review, document, release
/ucai:review
/ucai:docs
/ucai:release minor
Existing project
# 1. Analyze the codebase → generate CLAUDE.md
/ucai:init
# 2. Create a requirements backlog if one doesn't exist
/ucai:plan
# 3. Jump straight to building
/ucai:build fix the broken auth flow
/ucai:build auto-loads the FRD created by /ucai:plan <feature> when names match. /ucai:debug, /ucai:review, and /ucai:docs are standalone — use them whenever needed.
🧠 Built-In Skills
Ucai ships with 8 curated skills auto-loaded by Claude Code:
| Skill | Activates when |
|---|---|
| architect | System design, architecture decisions, ADRs |
| backend | Building APIs, databases, authentication |
| frontend | React, Next.js, Tailwind, component design |
| qa | Testing strategies, coverage, TDD, E2E testing |
| devops | CI/CD pipelines, deployment, infrastructure |
| code-reviewer | Reviewing code quality, PRs, anti-patterns |
| receiving-code-review | Responding to reviewer feedback, deciding which suggestions to implement |
| ucai-patterns | Working with Claude Code plugins, hooks, agents |
🔄 Self-Improvement Loop
Ucai learns from corrections. When you correct Claude during a /build or /debug session, the pattern is captured in tasks/lessons.md. Future sessions load these lessons and apply them proactively.
- SessionStart announces lessons count and warns when consolidation is needed (>100 entries)
/buildPhase 1 and/debugPhase 1 load relevant lessons before starting work/reviewfeeds known patterns to reviewer agents/docsextracts gotchas from lessons for documentation
This is inspired by Boris Cherny's methodology — persistent correction capture is the highest-ROI investment for AI-assisted development.
🏗 Architecture
ucai/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── CLAUDE.md
├── commands/
├── agents/
├── hooks/
├── scripts/
├── skills/
└── tasks/ ← created at runtime by commands
├── todo.md ← persistent task tracking (overwritten per session)
└── lessons.md ← self-improvement loop (append-only)
Every component is a native Claude Code system. Nothing invented.
🧭 Principles
- Use native systems — Commands, agents, hooks, skills
- Files are context — No external memory
- Context is a public good — Only add what Claude doesn't know
- Agents are not personas — Real model assignments + tools
- Explicit approval gates — Never proceed without user decision
- Parallel by default — Spawn focused agents simultaneously
- CLAUDE.md is for project facts — Not framework config
- Learn from corrections — Capture patterns in lessons, apply them proactively
- Verify before done — Automated tests + manual confirmation, never just agent review
⭐ Support the Project
If Ucai helps you ship faster, consider starring the repo.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found