From cas
Routes coding tasks invoked via /systemcc through optimized workflows: Lyra AI prompt enhancement, build config detection like Makefiles, complexity analysis, and triple code review.
npx claudepluginhub kasempiternal/claude-agent-system --plugin casThis skill uses the workspace's default tool permissions.
```
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
███████╗██╗ ██╗███████╗████████╗███████╗███╗ ███╗
██╔════╝╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔════╝████╗ ████║
███████╗ ╚████╔╝ ███████╗ ██║ █████╗ ██╔████╔██║
╚════██║ ╚██╔╝ ╚════██║ ██║ ██╔══╝ ██║╚██╔╝██║
███████║ ██║ ███████║ ██║ ███████╗██║ ╚═╝ ██║
╚══════╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
⚔ Command Center ⚔
CAS v7.20.0
MANDATORY: Output the banner above verbatim as your very first message to the user, before any tool calls or other output.
User types: /systemcc "any task"
Claude does: EVERYTHING automatically
When /systemcc is detected, you MUST IMMEDIATELY show:
🎯 SYSTEMCC DETECTED - Command acknowledged and workflow initiated
✅ Following SYSTEMCC workflow instructions
This message MUST appear:
After detection, ALWAYS show Lyra optimization with this EXACT format:
═══════════════════════════════════════════════════════════════
🎯 LYRA AI PROMPT OPTIMIZATION
═══════════════════════════════════════════════════════════════
📝 Original Request:
"$ARGUMENTS"
🔍 Analysis Phase:
- Deconstructing intent...
- Diagnosing gaps...
- Developing enhancements...
- Delivering optimized prompt...
✨ Optimized Prompt:
"[enhanced prompt with complete specifications]"
📊 Optimization Details:
- Mode: [BASIC/DETAIL]
- Complexity Score: [1-10]
- Improvements Applied: [number]
🔧 Key Enhancements:
• [Enhancement 1]
• [Enhancement 2]
• [Enhancement 3]
═══════════════════════════════════════════════════════════════
Scan for and apply project build configuration rules automatically.
Makefile / makefile.gitlab-ci.yml / .github/workflows/*.ymlpyproject.toml / setup.cfg / tox.inipackage.json / .eslintrc* / .prettierrc*.pre-commit-config.yaml.editorconfig📋 BUILD CONFIGURATION DETECTED
═══════════════════════════════════════════════════════════════
Source: [Makefile/CI config/etc.]
✅ Formatting Rules:
• black: line-length=[N]
• isort: profile=black, multi-line=[N]
• prettier: [settings]
✅ Linting Rules:
• flake8: ignore=[codes], max-line-length=[N]
• mypy: [settings]
• eslint: [settings]
✅ Test Requirements:
• [test framework] with coverage
• minimum coverage: [N]%
═══════════════════════════════════════════════════════════════
🎯 All generated code will automatically follow these standards!
📋 No build configuration detected - using best practices
Critical: This engine uses ALL 6 available workflows via two-phase selection.
| Workflow | Purpose | Best For |
|---|---|---|
anti-yolo-web | Web app development specialist | Frontend, React, Vue, dashboards, UI components |
aidevtasks | PRD-based feature development | New features requiring product specs |
agetos | Project initialization/standards | Setup, conventions, new projects |
plan-opus | Deep planning with parallel exploration | Architecture, migrations, complex unknowns |
complete_system | Full 6-agent validation pipeline | Moderate features, refactoring with validation |
orchestrated | Streamlined 3-agent workflow | Simple fixes, config changes, quick tasks |
Before any scoring, semantically analyze if the task matches a specialized domain:
| Domain | Workflow | Detection Signals |
|---|---|---|
| Web Development | anti-yolo-web | HTML, CSS, JavaScript, React, Vue, Angular, frontend, UI, dashboard, component, web app |
| Feature Development | aidevtasks | "build feature", "create system", product requirements, user stories, multi-component features |
| Project Setup | agetos | Setup, initialize, standards, conventions, new project, project structure |
| Deep Planning | plan-opus | Architecture design, major refactor, migration, "plan first", many unknowns |
Decision Logic:
Only when NO specialized domain is detected, use 3-dimensional assessment:
| Level | Indicators |
|---|---|
| Simple | fix, update, change, small, typo, rename, style, tweak, adjust |
| Moderate | feature, add, create, implement, modify, improve |
| Complex | architecture, refactor, system, integration, migration, security, database |
| Level | Indicators |
|---|---|
| Low | docs, style, test, config (non-production), UI text |
| High | critical, production, breaking, delete, security, database, auth, payment, encryption |
| Level | Indicators |
|---|---|
| Single | specific file mentioned, "this file", "the function" |
| Multi | "multiple", "several files", specific file list, 3-10 files |
| System | "entire", "all files", "across", "throughout", "migrate all", >10 files |
| Combined Score | Workflow | Use Case |
|---|---|---|
| 1.0 - 2.0 | orchestrated | Bug fixes, small changes, config updates, typos |
| 2.1 - 3.5 | complete_system | Moderate features, refactoring, validation needed |
| 3.6 - 5.0 | plan-opus | Complex multi-system changes, high risk |
🧠 DECISION ENGINE
━━━━━━━━━━━━━━━━━━
Task: "[task description]"
Phase 1 - Domain Detection:
✓ [Domain] detected
→ [Reasons]
→ Using **[workflow]** workflow
🧠 DECISION ENGINE
━━━━━━━━━━━━━━━━━━
Task: "[task description]"
Phase 1 - Domain Detection:
✗ No specialized domain detected
Phase 2 - Complexity Assessment:
• Complexity: [1-5]/5 - [reason]
• Risk: [1-5]/5 - [reason]
• Scope: [1-5]/5 - [reason]
Combined: [score] → Using **[workflow]** workflow
Enable security scanning when task mentions:
| Category | Keywords |
|---|---|
| Database | sql, query, database, migration, schema, orm |
| Auth | auth, login, password, token, jwt, session, oauth |
| Security | encrypt, decrypt, permission, role, certificate, hash |
| Encoding | base64, serialize, sanitize, injection |
When triggered:
🔐 Security scan auto-enabled: [reason]
CRITICAL: Execute ALL phases automatically. NEVER ask user to run commands.
🔄 Phase 1/3: Analysis
└─ Orchestrator analyzing code...
🔄 Phase 2/3: Implementation
└─ Developer implementing changes...
🔄 Phase 3/3: Review
└─ Reviewer validating...
✅ Complete!
🔄 Phase 1/6: Strategic Analysis
└─ Planner analyzing architecture...
🔄 Phase 2/6: Implementation Planning
└─ Designing implementation approach...
🔄 Phase 3/6: Code Implementation
└─ Executer writing code...
🔄 Phase 4/6: Verification
└─ Verifier testing logic...
🔄 Phase 5/6: Quality Assurance
└─ Tester checking edge cases...
🔄 Phase 6/6: Documentation
└─ Documenter updating docs...
✅ Implementation complete! Starting review...
For system-wide changes, decompose into phases:
🔄 Decomposing task into manageable phases...
📦 Phase 1: [Component A]
├─ Files: [list]
└─ Status: Pending
📦 Phase 2: [Component B]
├─ Files: [list]
└─ Status: Pending
📦 Phase 3: [Component C]
├─ Files: [list]
└─ Status: Pending
Executing phases sequentially to manage context...
For web/UI tasks, create ASCII wireframe first:
🎨 Creating ASCII Wireframe...
┌─ [Page Title] ───────────────────────────┐
│ [Header description] │
├───────────────────────────────────────────┤
│ [Content layout] │
│ [________________] ← Input field │
│ [▼ Dropdown ] ← Select │
│ [Button Label] ← Action button │
└───────────────────────────────────────────┘
Does this layout look right?
Type 'yes' to build HTML/CSS, or request changes.
After implementation, run parallel code reviews:
🔍 POST-EXECUTION REVIEW INITIATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Running 3 parallel reviews (5 min max)...
[PARALLEL EXECUTION]
├─ 👨💻 Senior Engineer → Code quality, best practices
├─ 👩💼 Lead Engineer → Architecture, scalability
└─ 🏗️ Architect → System integration, patterns
Senior Software Engineer
Lead Software Engineer
Software Architect
Critical issues are fixed immediately:
⚠️ POST-EXECUTION REVIEW - FIXING ISSUES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**Critical fixes applied:**
• `api/auth.ts:45` - Encrypting passwords
• `services/payment.ts:112` - Adding input validation
🔧 Auto-fixing critical issues...
✅ Issues resolved!
✅ POST-EXECUTION REVIEW COMPLETE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 All 3 reviewers approved the implementation!
Review Summary:
• 👨💻 Senior: PASSED (clean code, good patterns)
• 👩💼 Lead: APPROVED (scalable design)
• 🏗️ Architect: CERTIFIED (proper integration)
Minor suggestions logged for future improvement.
✅ TASK COMPLETE
━━━━━━━━━━━━━━━
What changed:
• [Brief point 1]
• [Brief point 2]
• [Brief point 3]
Files modified: [count]
Tests: [status]
Build config: [applied/not applicable]
When user says "no", "stop", "don't do that":
If something fails:
⚠️ Issue encountered: [description]
🔄 Attempting recovery...
[Either: ✅ Recovered! Continuing...]
[Or: ❌ Manual intervention needed: [specific action]]
| Workflow | Type | Agents | Best For |
|---|---|---|---|
anti-yolo-web | Phase 1 | 3 + wireframe | Web/frontend, React, Vue, dashboards |
aidevtasks | Phase 1 | PRD-based | Features requiring product specs |
agetos | Phase 1 | Setup | Project initialization, standards |
plan-opus | Phase 1 + 2 | Variable | Architecture, migrations, complex tasks |
complete_system | Phase 2 | 6 | Moderate features, validation needed |
orchestrated | Phase 2 | 3 | Simple fixes, config changes |
Task comes in
│
▼
┌─────────────────────────┐
│ PHASE 1: Domain Check │
│ │
│ Web Dev? → anti-yolo │
│ Feature? → aidevtasks │
│ Setup? → agetos │
│ Planning? → plan-opus │
└─────────────────────────┘
│
│ No domain match?
▼
┌─────────────────────────┐
│ PHASE 2: Score Tasks │
│ │
│ 1.0-2.0 → orchestrated │
│ 2.1-3.5 → complete_sys │
│ 3.6-5.0 → plan-opus │
└─────────────────────────┘
Remember: SystemCC is the ONLY command users need.
Detection → Lyra → Build Config → Two-Phase Analysis → Workflow → Execute → Review → Complete
All automatic. All quality-gated. All in one command.