Aurakit

agent
SUMMARY

One command. Full stack. Zero compromise. — All-in-one Claude Code skill with 33 modes, 6-layer security, 23 hooks, and 75% token savings. Works on Codex, Cursor, Manus, Windsurf.

README.md
AuraKit — One command. Full stack. Zero compromise.

Version
Claude Code
License: MIT
Stars
Install
npm


Before & After  ·   Quick Start  ·   33 Modes  ·   Tiers  ·   Pipeline  ·   Security  ·   New in v6  ·   Why AuraKit  ·   FAQ


What is AuraKit?

One command. Full-stack app. Production-ready.

AuraKit is a Claude Code skill that replaces 20+ manual instructions with a single /aura command. It auto-detects what you need, scans your project, generates code with security checks on every file, and commits — all in one shot.

npx @smorky85/aurakit        # Install once (30 seconds)
/aura build: login with JWT   # That's it. AuraKit handles the rest.

[!TIP]
30-second installnpx @smorky85/aurakit or bash install.sh, then type /aura in any project.


🔄 Before & After

Without AuraKit With AuraKit
You: "Build a login API"
Claude: *generates code*
You: "Wait, add input validation"
Claude: *regenerates*
You: "You forgot error handling"
Claude: *patches*
You: "Check for SQL injection"
Claude: *patches again*
You: "Now write tests"
Claude: *generates tests*
You: "The types are wrong..."
(30 min later, still going)
/aura build: login with JWT

# AuraKit automatically:
# → Scans your project stack
# → Plans file-by-file build order
# → Generates with SEC-01~15 rules
# → Validates types + security + tests
# → Commits: feat(auth): add login
# Done. One command. ~3 minutes.

⚡ Quick Start

1 — Clone

git clone https://github.com/smorky850612/Aurakit.git
cd Aurakit

2 — Install (choose one)

bash install.sh                    # Full install (recommended)
# or
npx @smorky85/aurakit              # One-click npm install

Copies skills, hooks (23 handlers), and agents into your Claude Code environment. Merges hooks into settings.json without overwriting your existing configuration.

3 — Use

# Option A — Recommended for daily use (hooks handle security)
claude --dangerously-skip-permissions

/aura build: login with JWT        # BUILD mode (English)
/aura 로그인 기능 만들어줘         # BUILD mode (Korean · auto-detect)
/aura fix: TypeError in auth.ts    # FIX mode
/aura! 버튼 색상 변경               # QUICK mode · ~60% fewer tokens

[!WARNING]
What --dangerously-skip-permissions means: Claude won't ask for confirmation on each tool use. This is intentional — AuraKit's hooks (bash-guard.js, security-scan.js) replace per-action dialogs with automated enforcement. Without install.sh, security relies only on agent role isolation (L1/L2).

Option B — Safer for first-time use: Run claude without the flag. Claude will ask for permission on each Write/Edit/Bash call. Slower, but no hooks required.

[!NOTE]
AuraKit is framework-agnostic — Next.js, FastAPI, Spring, Go, Rust, or anything else. Scout auto-detects your stack.


🏆 Why AuraKit?

"I can just prompt Claude myself" — Yes, but you'll repeat the same 20 instructions every session.

Manual Prompting CLAUDE.md File AuraKit
Security enforcement Hope for the best Rules, no enforcement 23 hooks enforce at write-time
Context survival Lost on compact Partial Snapshot + auto-restore
Token efficiency Wasteful Manual ~75% reduction (estimated; context load measured)
Code review Manual Manual 4 agents in parallel
Multi-language support English only English only 8 languages, 56+ commands
Learning over time Starts fresh Starts fresh Instinct engine remembers (requires install.sh for full auto)
Install time 30 min writing rules 30 seconds

🎯 Modes

AuraKit detects your intent from natural language. Use a namespace prefix (build:, fix:) when the mode is ambiguous.

Start here — 5 core modes cover 90% of daily use

Mode Invoke What It Does
BUILD /aura build: ... or just describe it Discovery → micro-plan → generate → triple verify → commit
FIX /aura fix: ... or paste the error Root-cause analysis → minimal change → verify
REVIEW /aura review: 4 parallel agents → VULN-NNN report, A–F grade
CLEAN /aura clean: Dead code removal, 250-line splits, deduplication
DEPLOY /aura deploy: Framework detect → env setup → deploy config → security recheck
28 extended modes — Quality, Planning, Platform, Utility
Category Mode Trigger What It Does
Quality GAP gap, match rate Design ↔ implementation gap (Match Rate %)
ITERATE 반복, auto-fix Auto-improve until Match Rate ≥ 90% (max 5 cycles)
TDD tdd, test-first 🔴 RED → 🟢 GREEN → 🔵 REFACTOR · coverage ≥ 70–90%
QA qa, docker logs Zero-Script QA via real Docker log analysis
DEBUG 디버그, 5-why 4-phase systematic debugging with root-cause tracing
Planning PM 기획, PRD, discovery OST + JTBD + Lean Canvas + PRD · 5 PM agents in parallel
PLAN 계획, plan Structured plan → .aura/docs/plan-*.md
DESIGN DB 설계, API spec DB + API + UI workers parallel → cross-consistency check
REPORT 완료 보고서, report 4-perspective value report (user/biz/tech/ops)
PIPELINE 개발 순서 9-phase guide: Starter / Dynamic / Enterprise
BRAINSTORM 아이디어, HMW HMW + priority matrix → actionable ideas
Advanced ORCHESTRATE leader, swarm, council Leader / Swarm / Council / Watchdog multi-agent patterns
BATCH 병렬 처리 Up to 5 features in parallel Git Worktrees
LOOP until:pass, until:90% Autonomous iteration loop until condition met
FINISH squash, merge Branch squash merge + Worktree cleanup
Platform MOBILE react native, expo React Native / Expo specialized pipeline
DESKTOP electron, tauri Electron / Tauri specialized pipeline
BAAS supabase, firebase, bkend BaaS platform integration guide
v6 New INSTINCT instinct:show View / manage learned project patterns
LANG lang:python, lang:go Force language-specific code reviewer (10 languages)
MCP mcp:setup, mcp:list Install & configure 14 MCP server types
CONTENT 블로그, IR덱, SNS Blog, market research, IR deck, tech docs, email, social
Utility STYLE learning, expert, concise Switch output persona
SNIPPETS 스니펫, snippet Save and reuse prompt templates
STATUS status, 현재 상태 Current work state from .aura/snapshots/
CONFIG config:set Manage .aura/config.json settings
ARCHIVE archive:list Archive features without deleting
QUICK (!) /aura! request Protocol-minimal, single file, ~60% token savings
Auto QA:E2E qa:e2e:setup, qa:e2e:ci Playwright E2E — auth / CRUD / responsive / CI pipeline
BUILD_RESOLVER (auto on V1 fail) Language-specific build error resolver (7 languages)

📊 Quality Tiers

Tier Invoke Scout Builder Reviewer TestRunner Savings
QUICK /aura! request Sonnet ~60%
ECO (default) /aura request Haiku Sonnet Sonnet Haiku ~55%
PRO /aura pro request Haiku Opus Sonnet Haiku ~35%
MAX /aura max request Sonnet Opus Opus Sonnet ~25%
  • QUICK — Color changes, text edits, single-file tweaks
  • ECO — Feature development, most daily work (recommended)
  • PRO — Auth, payments, complex business logic
  • MAX — Security audits, architecture design, production-critical features

⚙️ How It Works

flowchart TD
    A(["/aura request"]) --> B["Mode Detection\n33 modes · auto from natural language"]
    B --> C["Scout Agent · Haiku\nProject scan → .aura/project-profile.md"]
    C --> D["Micro-Plan\n200-token file-by-file build order"]
    D --> E["Builder Agent\nECO: Sonnet  ·  MAX: Opus"]
    E --> F["Security Hooks\nbash-guard.js · security-scan.js"]
    F --> G{"Triple Verify\n(parallel)"}
    G --> H["V1 · Build / Type Check"]
    G --> I["V2 · Security + Review · Sonnet"]
    G --> J["V3 · TestRunner · Haiku"]
    H --> K["Snapshot Checkpoint\n.aura/snapshots/current.md"]
    I --> K
    J --> K
    K --> |"More files"| E
    K --> |"Complete"| L(["git commit + Report"])

🔐 6-Layer Security

Every generated file passes through up to 6 security gates.

Layer What It Checks Trigger Requires install.sh?
L1 — Agent Roles Per-agent read/write boundaries in system prompts Always No
L2 — Disallowed Tools Write/Edit/Bash blocklist for read-only agents Always No
L3 — Bash Guard Dangerous commands: rm -rf, DROP TABLE, eval PreToolUse (Bash) Yes
L4 — Security Scan API keys, hardcoded secrets, SQL injection, XSS patterns PreToolUse (Write/Edit) Yes
L5 — Migration Guard Destructive DB migrations require explicit confirmation PreToolUse (Write) Yes
L6 — Dependency Audit npm audit --audit-level=high on BUILD and FIX Auto in pipeline No

[!WARNING]
L3, L4, L5 are only active after running install.sh or npx @smorky85/aurakit. Without installation, only L1 (agent role boundaries) and L2 (tool blocklist) protect you. If you skip installation, use Claude without --dangerously-skip-permissions so manual confirmation acts as your safety net.

[!IMPORTANT]
Security rules in ~/.claude/rules/aurakit-security.md are always active — applied to every Claude Code session automatically, even without running /aura.

Automatically blocked:

localStorage.setItem('token', ...)    → httpOnly Cookie required
Raw SQL string concatenation          → parameterized queries required
eval() / exec() with user input       → blocked
Hardcoded API keys / passwords        → blocked
.env not in .gitignore                → commit blocked

✨ New in v6

Sonnet Amplifier — Opus-level quality from Sonnet

AuraKit v6 makes Sonnet produce Opus-quality code by forcing structured reasoning before every file:

  1. I/O Contract — Define types, return values, error cases
  2. Existing Code Check — Verify import/naming/style compatibility
  3. Edge Case Discovery — Side effects? Concurrency? Input boundaries? External failures? State dependencies?
  4. SEC/Q Rule Selection — Pick applicable security & quality rules
  5. Then implement — Only after all 4 steps

This eliminates Sonnet's tendency to rush to code, producing measurably better output.

~75% Token Reduction — Context load measured; task savings estimated

v6 loads only what's needed: 1 language reviewer (not all 10), 1 framework pattern (not all 5), keywords instead of code examples. Context load measured: v5.1 BUILD loaded 82KB → v6 loads 20KB (75.6% reduction). Per-task savings (ECO ~55%, QUICK ~60%) are model-cost estimates based on tier routing — not independently benchmarked like Aider's Polyglot numbers.

What Changed v5.1 v6
SKILL.md 20KB (408 lines) 14KB (318 lines)
BUILD total load 82KB 20KB
Security rules 6 (duplicated) SEC-01~15 (OWASP complete)
Hooks registered 12 13 (bash-guard added)
SEC-01~15 OWASP-Complete Security — 15 inline rules + 13 runtime hooks
SEC-01  SQL injection          SEC-09  HTTPS only
SEC-02  Auth (httpOnly)        SEC-10  .gitignore enforcement
SEC-03  Secret management      SEC-11  NoSQL/Command/XML/LDAP injection
SEC-04  Input validation       SEC-12  Cryptography (AES-256+)
SEC-05  eval/exec blocking     SEC-13  Dependency audit
SEC-06  Error info leakage     SEC-14  Security logging
SEC-07  CORS whitelist         SEC-15  SSRF prevention
SEC-08  Secure random

Plus 13 runtime hooks enforce these at write-time — zero tokens, zero escape.

🧠 Instinct Learning Engine — AuraKit gets smarter with every session

AuraKit learns your project's patterns after each BUILD/FIX and applies them automatically on the next run.

/aura instinct:show              # All learned patterns
/aura instinct:show auth         # Filter by category
/aura instinct:prune             # Remove low-score patterns
/aura instinct:evolve            # Auto-improve + integrate anti-patterns
/aura instinct:export            # Backup / share with team
/aura instinct:import team.json  # Import from another project

Patterns are stored in .aura/instincts/ and auto-loaded at the start of every /aura session. Teams can share patterns via instinct:export / instinct:import.

🌐 Language-Specific Code Reviewers — 10 languages with framework awareness

AuraKit auto-detects your project language and applies a specialized reviewer in the V2 step.

Language Reviewer Focus
TypeScript Strict null checks, React/Next.js/NestJS patterns, generic type safety
Python Type hints, async patterns, FastAPI/Django/Flask idioms
Go Goroutine safety, error wrapping, interface design
Java Generics, Spring patterns, checked exception handling
Rust Ownership, lifetimes, unsafe usage review
Kotlin Coroutines, null safety, idiomatic style
C++ Memory safety, RAII, smart pointer usage
Swift ARC, optionals, Combine / async-await patterns
PHP Type coercion risks, PDO usage, injection vectors
Perl Modern::Perl, regex safety

Force a specific reviewer:

/aura lang:python review:
/aura lang:go fix: goroutine leak
🔌 14 MCP Server Configurations — One-command setup
/aura mcp:setup           # Interactive setup wizard
/aura mcp:list            # Show all 14 available configs
/aura mcp:check           # Verify installed servers
/aura mcp:add playwright  # Add a specific server

Supported: Playwright · GitHub · Slack · Linear · Notion · Supabase · PostgreSQL · MongoDB · Redis · Stripe · Vercel · AWS · Sanity · and more.

📍 Next Actions (v6.2) — Auto-suggest after every task

After every mode completion, AuraKit shows what to do next:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 Done: BUILD — JWT Login (8 files)
💰 Token Report:
   Baseline (manual): ~18,200 | Actual: ~7,800 | Saved: 57%
📊 Pipeline: ████████░░░░ 4/7
🔜 Next: /aura review → /aura deploy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

13-mode transition map guides you through the full pipeline. Session resume detects previous work on startup.

🌐 Cross-Platform (v6.2) — Claude Code, Codex, Cursor, Manus, Windsurf

AuraKit now works across all major AI coding tools with platform-specific adapters:

Platform Setup Model Mapping
Claude Code Native haiku/sonnet/opus
Codex CLI SKILL.md auto-recognized haiku→gpt-4o-mini, sonnet→gpt-4o, opus→o3
Cursor .cursorrules Cursor model selector
Manus System prompt Manus routing
Windsurf .windsurfrules Windsurf selector

See resources/cross-harness.md for detailed setup per platform.

🤖 Dynamic Agent Spawning (v6.2) — With circuit breaker

Agents can spawn child agents when tasks are too large. Hard limits prevent runaway:

Limit Value
Max depth 3 (Agent→Child→Grandchild)
Max total per session 12
Max concurrent 5
Timeout per agent 5 minutes
Circuit breaker 3 consecutive failures → freeze
Token budget 30% of remaining context per agent

See resources/agent-spawning.md for spawn request format and tracking.

🔄 Loop Operator — Autonomous iteration until done
/aura batch:loop:[task] until:pass    max:5   # Repeat until tests pass
/aura batch:loop:[task] until:90%     max:3   # Repeat until gap ≥ 90%
/aura batch:loop:[task] until:no-error max:10 # Repeat until error-free

Each iteration runs in isolation. Loop stops when the condition is met or max iterations is reached.

🪝 13 Hook Events — Full automation lifecycle
Hook Event Handler What It Does
SessionStart pre-session.js .env security · package manager detect · snapshot check
UserPromptSubmit korean-command.js IME reverse-transliteration routing
PreToolUse · Bash bash-guard.js Dangerous command blocking (L3)
PreToolUse · Write/Edit security-scan.js Secret pattern detection (L4)
PreToolUse · Write/Edit migration-guard.js Destructive migration blocking (L5)
PostToolUse · Write/Edit build-verify.js Compile / type-check after every file
PostToolUse · Write/Edit bloat-check.js 250-line split warning
PostToolUse · Write/Edit auto-format.js Prettier / gofmt / black / rustfmt
PostToolUse · Write/Edit governance-capture.js Architecture decision audit trail
PostToolUseFailure post-tool-failure.js MCP recovery + failure tracking
Stop session-stop.js Session metrics · Instinct hints · incomplete task alert
PreCompact / PostCompact snapshot hooks Context save / restore around compaction

💰 Token Optimization

v6 BUILD: ~6,700 tokens vs ~27,000 in v5.1 — 75% reduction (verified)

Technique How Savings
Tiered Model Scout / TestRunner use Haiku by default ~40%
Fail-Only Output Agents return "Pass" or errors only — no verbose logging ~30%
Progressive Load Resource files loaded per-mode only, not all at once ~10%
Session Cache (B-0) Skip project re-scan if within 2 hours ~10%
ConfigHash Rescan only when package.json / lockfile changes ~10%
Graceful Compact Triggers at 65% context (vs default 95%) + checkpoint saves waste eliminated
QUICK Mode /aura! — no protocol, single file ~60%

🌍 Multilingual Commands

Type in your language without switching input methods. 8 languages, 56+ commands.

Language Start Build Fix Clean Deploy Review Compact
🇰🇷 Korean /아우라 /아우라빌드 /아우라수정 /아우라정리 /아우라배포 /아우라리뷰 /아우라컴팩트
🇯🇵 Japanese /オーラ /オーラビルド /オーラ修正 /オーラ整理 /オーラデプロイ /オーラレビュー /オーラコンパクト
🇨🇳 Chinese /奥拉 /奥拉构建 /奥拉修复 /奥拉清理 /奥拉部署 /奥拉审查 /奥拉压缩
🇪🇸 Spanish /aura-es /aura-construir /aura-arreglar /aura-limpiar /aura-desplegar /aura-revisar /aura-compactar
🇫🇷 French /aura-fr /aura-construire /aura-corriger /aura-nettoyer /aura-deployer /aura-reviser /aura-compresser
🇩🇪 German /aura-de /aura-bauen /aura-beheben /aura-aufraeumen /aura-deployen /aura-pruefen /aura-komprimieren
🇮🇹 Italian /aura-it /aura-costruire /aura-correggere /aura-pulire /aura-distribuire /aura-rivedere /aura-compattare
🇺🇸 English /aura /aura build: /aura fix: /aura clean: /aura deploy: /aura review: /aura-compact

v6.3: Multilingual commands no longer require separate skill folders.
All 56+ commands are handled by the core /aura skill via auto-detection
and hooks/korean-command.js. This frees ~83% of Claude Code's skill description budget.

IME support: Korean and Japanese IME reverse-transliteration is handled automatically by hooks/korean-command.js.


🔧 Compatibility

Tool SKILL.md Hooks Agents Support Level
Claude Code (recommended) ✅ 23 hooks Full
OpenAI Codex CLI ✅ sandbox pre/post ✅ agents.md Full
Cursor ⚠️ VS Code Tasks ✅ Agent Mode Supported
Manus ✅ event system ✅ native multi-agent Supported
Windsurf ⚠️ VS Code Tasks ✅ Cascade Supported
Aider Partial (BUILD/FIX)
Gemini CLI Experimental

See resources/cross-harness.md for detailed per-platform setup.


📁 Full Architecture
aurakit/
├── skills/
│   ├── aura/                        # Main skill — single /aura entry point
│   │   ├── SKILL.md                 # Core instructions (AuraKit v6)
│   │   └── resources/               # 30+ mode-specific pipeline guides
│   │       ├── build-pipeline.md
│   │       ├── fix-pipeline.md
│   │       ├── security-rules.md
│   │       ├── instinct-system.md
│   │       ├── language-reviewers.md
│   │       ├── loop-pipeline.md
│   │       ├── mcp-configs.md
│   │       └── ...                  # +22 more guides
│   ├── aura-compact/                # Snapshot + /compact shortcut
│   └── aura-guard/                  # Token budget monitor
├── agents/
│   ├── scout.md                     # Read-only project scanner (Haiku)
│   ├── worker.md                    # Reviewer + TestRunner (Sonnet)
│   ├── gap-detector.md              # Design↔implementation gap (Haiku)
│   ├── security.md                  # OWASP Top 10 audit (Sonnet)
│   ├── pm-discovery.md              # OST opportunity mapping (Haiku)
│   ├── pm-strategy.md               # JTBD + Lean Canvas (Haiku)
│   └── pm-prd.md                    # PRD generation (Sonnet)
├── hooks/
│   ├── lib/
│   │   ├── common.js                # Shared: addContext, allow, block
│   │   ├── snapshot.js              # Snapshot read/write helpers
│   │   └── python.js                # Cross-platform Python executor
│   ├── security-scan.js             # Secret pattern detection (L4)
│   ├── bash-guard.js                # Dangerous command blocking (L3)
│   ├── build-verify.js              # Compile / type-check after each file
│   ├── bloat-check.js               # 250-line split warning
│   ├── migration-guard.js           # Destructive migration blocking (L5)
│   ├── injection-guard.js           # Prompt injection detection
│   ├── auto-format.js               # Prettier / gofmt / black / rustfmt
│   ├── governance-capture.js        # Architecture decision audit trail
│   ├── post-tool-failure.js         # MCP recovery + failure tracking
│   ├── session-stop.js              # Session metrics + Instinct hints
│   ├── korean-command.js            # IME reverse-transliteration
│   ├── pre-compact-snapshot.js      # Save context before compact
│   ├── post-compact-restore.js      # Restore context after compact
│   ├── token-tracker.js             # Token usage tracking
│   └── token-stats-inject.js        # Token stats context injection
├── rules/
│   └── aurakit-security.md          # Always-active security rules
├── templates/
│   ├── design-system-default.md     # CSS variable token defaults
│   └── project-profile-template.md
├── install.sh                       # One-command installer
├── README.md
└── LICENSE                          # MIT
🔒 Security Pattern Reference

security-scan.js checks for these patterns on every file write:

API Keys:         [A-Za-z0-9]{32,} in key/secret/token context
AWS Keys:         AKIA[0-9A-Z]{16}
Private Keys:     -----BEGIN.*PRIVATE KEY-----
Passwords:        password\s*=\s*['"][^'"]+
JWT Hardcoded:    eyJ[A-Za-z0-9]{20,}
Connection Str:   (mongodb|postgres|mysql):\/\/.*:.*@
localStorage:     localStorage\.setItem\(['"]token
SQL Concat:       query\s*\+=|query\s*=.*\+.*req\.(body|params|query)

🤝 Contributing

We welcome contributions! Add language reviewers, framework patterns, hooks, or security rules.

# Quick contribution workflow
fork → branch (feat/reviewer-csharp) → create files → node -c hooks/*.js → PR

See CONTRIBUTING.md for templates and quality requirements.

Contribution Path Requirements
Language Reviewer resources/reviewers/[lang].md 10 rules + 5 checklist items + V1 command
Framework Pattern resources/frameworks/[fw].md File structure + 10 rules
Hook hooks/[name].js Shebang + error handling + install.sh registration
Security Rule SKILL.md SEC-16+ OWASP/CWE mapping + no duplicates

❓ FAQ

Click to expand all questions

What frameworks does AuraKit support?

Any framework. Scout reads package.json, tsconfig, tailwind.config, prisma.schema, Dockerfile, go.mod, pyproject.toml, and more to adapt automatically. Next.js, React, Vue, Svelte, Express, FastAPI, Django, Spring — all work out of the box.

Does AuraKit work with existing projects?

Yes. AuraKit scans your existing codebase first, then generates code that matches your existing conventions, styling, and architecture.

What happens if I already have hooks configured?

install.sh merges AuraKit hooks into your existing settings.json without overwriting. Your current hooks stay intact.

Does AuraKit work on Windows?

Yes, no WSL required. All hooks run as Node.js scripts (cross-platform). Git Bash is recommended for running Claude Code itself.

How does compact defense work?

AuraKit sets CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=65, triggering compaction at 65% token usage instead of the default 95%. A PreCompact hook saves your current work state to disk. A PostCompact hook restores it after. Zero context loss.

Is my code sent anywhere?

No. AuraKit is a local skill. Everything runs inside your Claude Code session. No external APIs, no telemetry, no data collection.

How is AuraKit different from just prompting Claude?

Manual prompting requires you to re-explain your project, conventions, and requirements every session. AuraKit pre-loads all of that automatically, enforces it through hooks, and uses specialized agents for each role — without you doing anything extra after the initial install.



Try it now — it takes 30 seconds:

npx @smorky85/aurakit

Then open any project and type /aura.


AuraKit v6.2 — 33 modes. 23 hooks. 6-layer security. Cross-platform. 75% token savings.

Star on GitHub


If AuraKit saves you time, give it a star — it helps others find it.


GitHub  ·  npm  ·  Issues  ·  Contribute  ·  MIT License


Yorumlar (0)

Sonuc bulunamadi