@claude-flow/codex 3.0.0-alpha.3 → 3.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +258 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @claude-flow/codex
|
|
2
2
|
|
|
3
|
-
OpenAI Codex CLI adapter for Claude Flow V3. Enables multi-agent orchestration with **self-learning capabilities** for OpenAI Codex CLI following the [
|
|
3
|
+
OpenAI Codex CLI adapter for Claude Flow V3. Enables multi-agent orchestration with **self-learning capabilities** for OpenAI Codex CLI following the [Agentics Foundation](https://agentics.org) standard.
|
|
4
4
|
|
|
5
5
|
## Key Concept: Execution Model
|
|
6
6
|
|
|
@@ -305,16 +305,154 @@ $github-workflow
|
|
|
305
305
|
$performance-optimization
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
-
###
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
|
313
|
-
|
|
314
|
-
|
|
|
315
|
-
|
|
|
316
|
-
|
|
|
317
|
-
|
|
|
308
|
+
### Complete Skills Table (137+ Skills)
|
|
309
|
+
|
|
310
|
+
#### V3 Core Skills
|
|
311
|
+
|
|
312
|
+
| Skill | Syntax | Description |
|
|
313
|
+
|-------|--------|-------------|
|
|
314
|
+
| V3 Security Overhaul | `$v3-security-overhaul` | Complete security architecture with CVE remediation |
|
|
315
|
+
| V3 Memory Unification | `$v3-memory-unification` | Unify 6+ memory systems into AgentDB with HNSW |
|
|
316
|
+
| V3 Integration Deep | `$v3-integration-deep` | Deep agentic-flow@alpha integration (ADR-001) |
|
|
317
|
+
| V3 Performance Optimization | `$v3-performance-optimization` | Achieve 2.49x-7.47x speedup targets |
|
|
318
|
+
| V3 Swarm Coordination | `$v3-swarm-coordination` | 15-agent hierarchical mesh coordination |
|
|
319
|
+
| V3 DDD Architecture | `$v3-ddd-architecture` | Domain-Driven Design architecture |
|
|
320
|
+
| V3 Core Implementation | `$v3-core-implementation` | Core module implementation |
|
|
321
|
+
| V3 MCP Optimization | `$v3-mcp-optimization` | MCP server optimization and transport |
|
|
322
|
+
| V3 CLI Modernization | `$v3-cli-modernization` | CLI modernization and hooks enhancement |
|
|
323
|
+
|
|
324
|
+
#### AgentDB & Memory Skills
|
|
325
|
+
|
|
326
|
+
| Skill | Syntax | Description |
|
|
327
|
+
|-------|--------|-------------|
|
|
328
|
+
| AgentDB Advanced | `$agentdb-advanced` | Advanced QUIC sync, distributed coordination |
|
|
329
|
+
| AgentDB Memory Patterns | `$agentdb-memory-patterns` | Persistent memory patterns for AI agents |
|
|
330
|
+
| AgentDB Learning | `$agentdb-learning` | AI learning plugins with AgentDB |
|
|
331
|
+
| AgentDB Optimization | `$agentdb-optimization` | Quantization (4-32bit), performance tuning |
|
|
332
|
+
| AgentDB Vector Search | `$agentdb-vector-search` | Semantic vector search with HNSW |
|
|
333
|
+
| ReasoningBank AgentDB | `$reasoningbank-agentdb` | ReasoningBank with AgentDB integration |
|
|
334
|
+
| ReasoningBank Intelligence | `$reasoningbank-intelligence` | Adaptive learning with ReasoningBank |
|
|
335
|
+
|
|
336
|
+
#### Swarm & Coordination Skills
|
|
337
|
+
|
|
338
|
+
| Skill | Syntax | Description |
|
|
339
|
+
|-------|--------|-------------|
|
|
340
|
+
| Swarm Orchestration | `$swarm-orchestration` | Multi-agent swarms with agentic-flow |
|
|
341
|
+
| Swarm Advanced | `$swarm-advanced` | Advanced swarm patterns for research/analysis |
|
|
342
|
+
| Hive Mind Advanced | `$hive-mind-advanced` | Collective intelligence system |
|
|
343
|
+
| Stream Chain | `$stream-chain` | Stream-JSON chaining for multi-agent pipelines |
|
|
344
|
+
| Worker Integration | `$worker-integration` | Background worker integration |
|
|
345
|
+
| Worker Benchmarks | `$worker-benchmarks` | Worker performance benchmarks |
|
|
346
|
+
|
|
347
|
+
#### GitHub Integration Skills
|
|
348
|
+
|
|
349
|
+
| Skill | Syntax | Description |
|
|
350
|
+
|-------|--------|-------------|
|
|
351
|
+
| GitHub Code Review | `$github-code-review` | AI-powered code review swarms |
|
|
352
|
+
| GitHub Project Management | `$github-project-management` | Swarm-coordinated project management |
|
|
353
|
+
| GitHub Multi-Repo | `$github-multi-repo` | Multi-repository coordination |
|
|
354
|
+
| GitHub Release Management | `$github-release-management` | Release orchestration with AI swarms |
|
|
355
|
+
| GitHub Workflow Automation | `$github-workflow-automation` | GitHub Actions automation |
|
|
356
|
+
|
|
357
|
+
#### SPARC Methodology Skills (30+)
|
|
358
|
+
|
|
359
|
+
| Skill | Syntax | Description |
|
|
360
|
+
|-------|--------|-------------|
|
|
361
|
+
| SPARC Methodology | `$sparc-methodology` | Full SPARC workflow orchestration |
|
|
362
|
+
| SPARC Specification | `$sparc:spec-pseudocode` | Capture full project context |
|
|
363
|
+
| SPARC Architecture | `$sparc:architect` | System architecture design |
|
|
364
|
+
| SPARC Coder | `$sparc:coder` | Clean, efficient code generation |
|
|
365
|
+
| SPARC Tester | `$sparc:tester` | Comprehensive testing |
|
|
366
|
+
| SPARC Reviewer | `$sparc:reviewer` | Code review and quality |
|
|
367
|
+
| SPARC Debugger | `$sparc:debugger` | Runtime bug troubleshooting |
|
|
368
|
+
| SPARC Optimizer | `$sparc:optimizer` | Refactor and modularize |
|
|
369
|
+
| SPARC Documenter | `$sparc:documenter` | Documentation generation |
|
|
370
|
+
| SPARC DevOps | `$sparc:devops` | DevOps automation |
|
|
371
|
+
| SPARC Security Review | `$sparc:security-review` | Static/dynamic security analysis |
|
|
372
|
+
| SPARC Integration | `$sparc:integration` | System integration |
|
|
373
|
+
| SPARC MCP | `$sparc:mcp` | MCP integration management |
|
|
374
|
+
|
|
375
|
+
#### Flow Nexus Skills
|
|
376
|
+
|
|
377
|
+
| Skill | Syntax | Description |
|
|
378
|
+
|-------|--------|-------------|
|
|
379
|
+
| Flow Nexus Neural | `$flow-nexus-neural` | Neural network training in E2B sandboxes |
|
|
380
|
+
| Flow Nexus Platform | `$flow-nexus-platform` | Platform management and authentication |
|
|
381
|
+
| Flow Nexus Swarm | `$flow-nexus-swarm` | Cloud-based AI swarm deployment |
|
|
382
|
+
| Flow Nexus Payments | `$flow-nexus:payments` | Credit management and billing |
|
|
383
|
+
| Flow Nexus Challenges | `$flow-nexus:challenges` | Coding challenges and achievements |
|
|
384
|
+
| Flow Nexus Sandbox | `$flow-nexus:sandbox` | E2B sandbox management |
|
|
385
|
+
| Flow Nexus App Store | `$flow-nexus:app-store` | App publishing and deployment |
|
|
386
|
+
| Flow Nexus Workflow | `$flow-nexus:workflow` | Event-driven workflow automation |
|
|
387
|
+
|
|
388
|
+
#### Development Skills
|
|
389
|
+
|
|
390
|
+
| Skill | Syntax | Description |
|
|
391
|
+
|-------|--------|-------------|
|
|
392
|
+
| Pair Programming | `$pair-programming` | AI-assisted pair programming |
|
|
393
|
+
| Skill Builder | `$skill-builder` | Create new Claude Code Skills |
|
|
394
|
+
| Verification Quality | `$verification-quality` | Truth scoring and quality verification |
|
|
395
|
+
| Performance Analysis | `$performance-analysis` | Bottleneck detection and optimization |
|
|
396
|
+
| Agentic Jujutsu | `$agentic-jujutsu` | Quantum-resistant version control |
|
|
397
|
+
| Hooks Automation | `$hooks-automation` | Automated coordination and learning |
|
|
398
|
+
|
|
399
|
+
#### Memory Management Skills
|
|
400
|
+
|
|
401
|
+
| Skill | Syntax | Description |
|
|
402
|
+
|-------|--------|-------------|
|
|
403
|
+
| Memory Neural | `$memory:neural` | Neural pattern training |
|
|
404
|
+
| Memory Usage | `$memory:memory-usage` | Memory usage analysis |
|
|
405
|
+
| Memory Search | `$memory:memory-search` | Semantic memory search |
|
|
406
|
+
| Memory Persist | `$memory:memory-persist` | Memory persistence |
|
|
407
|
+
|
|
408
|
+
#### Monitoring & Analysis Skills
|
|
409
|
+
|
|
410
|
+
| Skill | Syntax | Description |
|
|
411
|
+
|-------|--------|-------------|
|
|
412
|
+
| Real-Time View | `$monitoring:real-time-view` | Real-time monitoring |
|
|
413
|
+
| Agent Metrics | `$monitoring:agent-metrics` | Agent performance metrics |
|
|
414
|
+
| Swarm Monitor | `$monitoring:swarm-monitor` | Swarm activity monitoring |
|
|
415
|
+
| Token Usage | `$analysis:token-usage` | Token usage optimization |
|
|
416
|
+
| Performance Report | `$analysis:performance-report` | Performance reporting |
|
|
417
|
+
| Bottleneck Detect | `$analysis:bottleneck-detect` | Bottleneck detection |
|
|
418
|
+
|
|
419
|
+
#### Training Skills
|
|
420
|
+
|
|
421
|
+
| Skill | Syntax | Description |
|
|
422
|
+
|-------|--------|-------------|
|
|
423
|
+
| Specialization | `$training:specialization` | Agent specialization training |
|
|
424
|
+
| Neural Patterns | `$training:neural-patterns` | Neural pattern training |
|
|
425
|
+
| Pattern Learn | `$training:pattern-learn` | Pattern learning |
|
|
426
|
+
| Model Update | `$training:model-update` | Model updates |
|
|
427
|
+
|
|
428
|
+
#### Automation & Optimization Skills
|
|
429
|
+
|
|
430
|
+
| Skill | Syntax | Description |
|
|
431
|
+
|-------|--------|-------------|
|
|
432
|
+
| Self-Healing | `$automation:self-healing` | Self-healing workflows |
|
|
433
|
+
| Smart Agents | `$automation:smart-agents` | Smart agent auto-spawning |
|
|
434
|
+
| Session Memory | `$automation:session-memory` | Cross-session memory |
|
|
435
|
+
| Cache Manage | `$optimization:cache-manage` | Cache management |
|
|
436
|
+
| Parallel Execute | `$optimization:parallel-execute` | Parallel task execution |
|
|
437
|
+
| Topology Optimize | `$optimization:topology-optimize` | Automatic topology selection |
|
|
438
|
+
|
|
439
|
+
#### Hooks Skills (17 Hooks + 12 Workers)
|
|
440
|
+
|
|
441
|
+
| Skill | Syntax | Description |
|
|
442
|
+
|-------|--------|-------------|
|
|
443
|
+
| Pre-Edit | `$hooks:pre-edit` | Context before editing |
|
|
444
|
+
| Post-Edit | `$hooks:post-edit` | Record editing outcome |
|
|
445
|
+
| Pre-Task | `$hooks:pre-task` | Record task start |
|
|
446
|
+
| Post-Task | `$hooks:post-task` | Record task completion |
|
|
447
|
+
| Session End | `$hooks:session-end` | End session and persist |
|
|
448
|
+
|
|
449
|
+
#### Dual-Mode Skills (NEW)
|
|
450
|
+
|
|
451
|
+
| Skill | Syntax | Description |
|
|
452
|
+
|-------|--------|-------------|
|
|
453
|
+
| Dual Spawn | `$dual-spawn` | Spawn parallel Codex workers from Claude Code |
|
|
454
|
+
| Dual Coordinate | `$dual-coordinate` | Coordinate Claude Code + Codex execution |
|
|
455
|
+
| Dual Collect | `$dual-collect` | Collect results from parallel Codex instances |
|
|
318
456
|
|
|
319
457
|
### Custom Skills
|
|
320
458
|
|
|
@@ -339,6 +477,114 @@ Invoke with `$my-skill`
|
|
|
339
477
|
|
|
340
478
|
---
|
|
341
479
|
|
|
480
|
+
<details>
|
|
481
|
+
<summary><b>Dual-Mode Integration (Claude Code + Codex)</b></summary>
|
|
482
|
+
|
|
483
|
+
### Hybrid Execution Model
|
|
484
|
+
|
|
485
|
+
Run Claude Code for interactive development and spawn headless Codex workers for parallel background tasks:
|
|
486
|
+
|
|
487
|
+
```
|
|
488
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
489
|
+
│ CLAUDE CODE (interactive) ←→ CODEX WORKERS (headless) │
|
|
490
|
+
│ - Main conversation - Parallel background execution │
|
|
491
|
+
│ - Complex reasoning - Bulk code generation │
|
|
492
|
+
│ - Architecture decisions - Test execution │
|
|
493
|
+
│ - Final integration - File processing │
|
|
494
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
### Setup
|
|
498
|
+
|
|
499
|
+
```bash
|
|
500
|
+
# Initialize dual-mode
|
|
501
|
+
npx claude-flow@alpha init --dual
|
|
502
|
+
|
|
503
|
+
# Creates both:
|
|
504
|
+
# - CLAUDE.md (Claude Code configuration)
|
|
505
|
+
# - AGENTS.md (Codex configuration)
|
|
506
|
+
# - Shared .claude-flow/ runtime
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
### Spawning Parallel Codex Workers
|
|
510
|
+
|
|
511
|
+
From Claude Code, spawn headless Codex instances:
|
|
512
|
+
|
|
513
|
+
```bash
|
|
514
|
+
# Spawn workers in parallel (each runs independently)
|
|
515
|
+
claude -p "Analyze src/auth/ for security issues" --session-id "task-1" &
|
|
516
|
+
claude -p "Write unit tests for src/api/" --session-id "task-2" &
|
|
517
|
+
claude -p "Optimize database queries in src/db/" --session-id "task-3" &
|
|
518
|
+
wait # Wait for all to complete
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
### Dual-Mode Skills
|
|
522
|
+
|
|
523
|
+
| Skill | Platform | Description |
|
|
524
|
+
|-------|----------|-------------|
|
|
525
|
+
| `$dual-spawn` | Codex | Spawn parallel workers from orchestrator |
|
|
526
|
+
| `$dual-coordinate` | Both | Coordinate cross-platform execution |
|
|
527
|
+
| `$dual-collect` | Claude Code | Collect results from Codex workers |
|
|
528
|
+
|
|
529
|
+
### Dual-Mode Agents
|
|
530
|
+
|
|
531
|
+
| Agent | Type | Execution |
|
|
532
|
+
|-------|------|-----------|
|
|
533
|
+
| `codex-worker` | Worker | Headless background execution |
|
|
534
|
+
| `codex-coordinator` | Coordinator | Manage parallel worker pool |
|
|
535
|
+
| `dual-orchestrator` | Orchestrator | Route tasks to appropriate platform |
|
|
536
|
+
|
|
537
|
+
### Task Routing Rules
|
|
538
|
+
|
|
539
|
+
| Task Complexity | Platform | Reason |
|
|
540
|
+
|----------------|----------|--------|
|
|
541
|
+
| Simple (1-2 files) | Codex Headless | Fast, parallel |
|
|
542
|
+
| Medium (3-5 files) | Claude Code | Needs context |
|
|
543
|
+
| Complex (architecture) | Claude Code | Reasoning required |
|
|
544
|
+
| Bulk operations | Codex Workers | Parallelize |
|
|
545
|
+
| Final review | Claude Code | Integration |
|
|
546
|
+
|
|
547
|
+
### Example Workflow
|
|
548
|
+
|
|
549
|
+
```
|
|
550
|
+
1. Claude Code receives complex feature request
|
|
551
|
+
2. Designs architecture and creates plan
|
|
552
|
+
3. Spawns 4 Codex workers:
|
|
553
|
+
- Worker 1: Implement data models
|
|
554
|
+
- Worker 2: Create API endpoints
|
|
555
|
+
- Worker 3: Write unit tests
|
|
556
|
+
- Worker 4: Generate documentation
|
|
557
|
+
4. Workers execute in parallel (headless)
|
|
558
|
+
5. Claude Code collects and integrates results
|
|
559
|
+
6. Final review and refinement in Claude Code
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
### Memory Sharing
|
|
563
|
+
|
|
564
|
+
Both platforms share the same `.claude-flow/` runtime:
|
|
565
|
+
|
|
566
|
+
```
|
|
567
|
+
.claude-flow/
|
|
568
|
+
├── data/
|
|
569
|
+
│ └── memory.db # Shared vector memory
|
|
570
|
+
├── config.yaml # Shared configuration
|
|
571
|
+
└── sessions/ # Cross-platform sessions
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
### Benefits
|
|
575
|
+
|
|
576
|
+
| Feature | Benefit |
|
|
577
|
+
|---------|---------|
|
|
578
|
+
| **Parallel Execution** | 4-8x faster for bulk tasks |
|
|
579
|
+
| **Cost Optimization** | Route simple tasks to cheaper workers |
|
|
580
|
+
| **Context Preservation** | Shared memory across platforms |
|
|
581
|
+
| **Best of Both** | Interactive + batch processing |
|
|
582
|
+
| **Unified Learning** | Patterns learned by both platforms |
|
|
583
|
+
|
|
584
|
+
</details>
|
|
585
|
+
|
|
586
|
+
---
|
|
587
|
+
|
|
342
588
|
<details>
|
|
343
589
|
<summary><b>Configuration</b></summary>
|
|
344
590
|
|
|
@@ -346,7 +592,7 @@ Invoke with `$my-skill`
|
|
|
346
592
|
|
|
347
593
|
```toml
|
|
348
594
|
# Model configuration
|
|
349
|
-
model = "gpt-
|
|
595
|
+
model = "gpt-5.3"
|
|
350
596
|
|
|
351
597
|
# Approval policy: "always" | "on-request" | "never"
|
|
352
598
|
approval_policy = "on-request"
|