Skip to content

deepankar-sah/OmniFlowStudio-Skills

omniflow-studio

Verified

Autonomous AI media generation, cinematic multi-shot film production, and Google Flow automation bridge. Enables AI agents to queue text-to-video, text-to-image, character consistency, and autonomous self-healing workflows with zero API costs.

references/architecture-and-security.md

View on GitHub
# OmniFlow Architecture & Security Blueprint

OmniFlow operates across four isolated runtime boundaries to guarantee security, stability, and zero API costs.

---

## Architecture Flow

```text
┌─────────────────────────────────┐
│     AI Agent (Claude / IDE)     │
└────────────────┬────────────────┘
                 │ HTTP REST / MCP Stdio / WebSocket
                 ▼
┌─────────────────────────────────┐
│  OmniFlow Daemon (127.0.0.1)    │ ◄── Enforces FIFO queue, circuit breakers, & Smart Delays
└────────────────┬────────────────┘
                 │ Loopback WebSocket (/ws) with Origin Verification
                 ▼
┌─────────────────────────────────┐
│ Chrome Extension (Service Worker)│ ◄── Handles download renaming & tab management
└────────────────┬────────────────┘
                 │ Chrome DevTools Protocol (CDP) + Content Script
                 ▼
┌─────────────────────────────────┐
│   Google Flow Web Studio Tab    │ ◄── Dispatches trusted synthetic clicks & prompt injection
└─────────────────────────────────┘
```

---

## Security Invariants

1. **Loopback Isolation**: The daemon binds strictly to `127.0.0.1`. It does not listen on public network interfaces (`0.0.0.0`), preventing local network access.
2. **Origin Validation Guard**: HTTP and WebSocket servers validate incoming `Origin` headers. Requests from untrusted external websites visiting arbitrary tabs are rejected with `403 Forbidden`.
3. **Zero Remote Prompt Uploads**: Prompts are executed locally inside your active browser session. No third-party proxy intercepts your creative ideas.
4. **Trusted Synthetic Inputs**: Low-level mouse and keyboard dispatches utilize Chromium's CDP (`Input.dispatchMouseEvent`, `Input.insertText`) certified as `isTrusted: true`, preventing automation detection without modifying client DOM scripts.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall