/loxihart-ai:ff-agent-stack-v199from loxihart-ai
FlashFusion Agent Stack v1.9.9 phased build pipeline. Activates for: agent stack, v1.9.9, phase 0, phase 1, phase 2, phase 3, phase 4, gaps audit, baton pass, langgraph, orchestration build, agent pipeline, flashfusion, flash-n-frame, supabase schema, rls policies, agent catalog, graph spec, memory spec, tool contracts, billing guardrails, observability runbook, rollback recovery, api contracts, typescript interfaces, smoke tests, tenant isolation, idempotency, checkpoint recovery, wsjf backlog, sprint backlog. Use when you need to run any phase of the v1.9.9 build pipeline, check WSJF priority, or get scaffolding stubs.
Ships in loxihart-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Provides the complete 5-phase build pipeline for FlashFusion Agent Stack v1.9.9. Each phase is a bounded, self-contained prompt that feeds the next via a BATON block. Phase 0 is mandatory first. Phases 1–3 are parallel-safe after Phase 0 clears. Phase 4 is the release gate.
| Phase | Focus | Deliverables | Ref |
|---|---|---|---|
| 0 | Gaps + Assumptions Audit | GAPS_AUDIT.md | phases/PHASE_0.md |
| 1 | Foundation | ARCHITECTURE.md, SECURITY_MODEL.md, SQL migration | phases/PHASE_1.md |
| 2 | Orchestration | AGENT_CATALOG.md, GRAPH_SPEC.md, MEMORY_SPEC.md, TOOL_CONTRACTS.md | phases/PHASE_2.md |
| 3 | Operations | BILLING_GUARDRAILS.md, OBSERVABILITY_RUNBOOK.md, ROLLBACK_RECOVERY.md | phases/PHASE_3.md |
| 4 | Verification | API_CONTRACTS.md, TypeScript types, smoke tests, acceptance criteria | phases/PHASE_4.md |
WSJF sprint backlog: WSJF_BACKLOG.md
run phase 0 — the skill activates automaticallyphases/PHASE_0_GAPS_AUDIT.md into the chat# Copy scaffolding stubs into your repo first
cp scaffolding/supabase/001_v199_foundation.sql ./supabase/migrations/
cp scaffolding/typescript/v199.ts ./src/types/
# Then paste phase prompts directly into Claude Code chat
Every phase ends with a BATON block like this:
PHASE_N_STATUS: [COMPLETE / INCOMPLETE]
LOCKED_OUTPUTS: [what the next phase must reference]
OPEN_ITEMS: [gaps not yet resolved]
CONFIDENCE: [0-100%] — if below 80%, resolve before proceeding
Do not start the next phase if CONFIDENCE < 80% or STATUS = INCOMPLETE. Paste the full BATON block at the top of the next phase prompt.
| Marker | Meaning |
|---|---|
[UNVERIFIED] | Claim made, source not confirmed |
[SHALLOW] | Correct direction, needs expansion |
[ASSUMED] | Constraint assumed — call it out |
⚠ | Adversarial finding — must resolve |
! | Internal contradiction flagged |
Rule: Shallow + honest beats deep + hallucinated. Use these markers.
Frontend: Next.js (App Router)
Backend: Node.js / TypeScript
Orchestration: LangGraph (primary spine)
CrewAI (content lanes)
AutoGen (premium reasoning, optional)
Auth + DB: Supabase (Auth, Postgres, RLS, Storage)
Hot State: Redis (run locks, queues, session state)
Vector Memory: pgvector via Supabase
Tools: MCP-compatible adapters
Model Routing: OpenAI / Anthropic / Gemini (abstracted)
Background: Worker pool
Operator UI: Agent Studio (read-only trace viewer scope)
Automation: Make / n8n (external ops only)
| Agent | Role |
|---|---|
| Router | Classify, gate, route requests |
| Planner | Decompose goal into bounded execution plan |
| Tool Executor | MCP calls, permission-scoped, idempotent |
| Memory | Decide what to retain / expire / redact |
| Validator | Schema, policy, plan, format checks |
| Publisher | External platform publish + post-actions |
| Recovery | Failure classification, rollback, resume |
Second-wave agents (feature-flagged only, not in v1.9.9 golden path): Research, UI Critic, Brand Consistency, Commerce Optimizer
Security
Reliability
Cost Control
Versioning
Pre-built stubs ready to drop into your repo:
scaffolding/monorepo/FOLDER_TREE.md — full annotated monorepo structurescaffolding/supabase/001_v199_foundation.sql — migration stub with RLSscaffolding/typescript/v199.ts — typed interfaces stubThese are stubs, not finished code. Phase 1 and Phase 4 generate the real implementations.
v1.9.9 is a stability + hardening release, not a feature release.
Ships when:
Do not add experimental agents, new product features, or cosmetic improvements unless they directly serve stability, isolation, idempotency, or observability.
INSTALL.md (opens in a new tab)WSJF_BACKLOG.md (opens in a new tab)phases/PHASE_0_GAPS_AUDIT.md (opens in a new tab)phases/PHASE_1_FOUNDATION.md (opens in a new tab)phases/PHASE_2_ORCHESTRATION.md (opens in a new tab)phases/PHASE_3_OPERATIONS.md (opens in a new tab)phases/PHASE_4_VERIFICATION.md (opens in a new tab)references/AGENT_ROLES.md (opens in a new tab)references/BATON_TEMPLATE.md (opens in a new tab)references/MARKING_CONVENTIONS.md (opens in a new tab)references/STACK_DECISIONS.md (opens in a new tab)scaffolding/monorepo/FOLDER_TREE.md (opens in a new tab)scaffolding/supabase/001_v199_foundation.sql (opens in a new tab)scaffolding/typescript/v199.ts (opens in a new tab)templates/CLAIMS_FOOTER.md (opens in a new tab)templates/GAPS_AUDIT_OUTPUT.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-ai37 skills in this plugin
/ai-agents-workflowBuilds and implements AI agents, automation workflows, and tool integrations — MCP servers (2025 async, OAuth, stateless spec), LangChain and CrewAI agents, multi-LLM orchestration, and no-code platforms. Use when the user mentions: MCP server, build an agent, tool integration, API orchestration, multi-LLM routing, OAuth flow, webhook, connect services, deploy a workflow, integrate external APIs. Not for conceptual architecture overviews (use orchestrating-ai- agents), not for production n8n incident ops (use operating-n8n-production), and not for pure no-code platform wiring (use workflow-automation).
/ai-solution-architectureDesign pre-sales technical architectures for AI/ML solutions targeting B2B enterprise clients. Use when scoping AI implementations, designing reference architectures, mapping integration patterns, estimating infrastructure requirements, or preparing technical proposals. Triggers on solution design, AI architecture, technical scoping, integration mapping, infrastructure sizing, pre-sales engineering for AI projects./applying-adversarial-reviewApplies Kyle's adversarial review methodology to consequential outputs. Forces every recommendation, audit, plan, or claim through three checks before shipping: a CLAIMS / COUNTEREXAMPLE / CONTRADICTIONS footer, [SOURCED] vs [GENERATED] provenance labeling, and an agreement-streak flag at three consecutive consequential agreements. Use when finishing an audit, writing a recommendation, delivering a plan, drafting a decision memo, or producing any high-stakes deliverable. Also triggers when explicitly asked to pressure-test, stress-test, steelman, play devil's advocate, fight an idea, or check for blind spots. Triggers on: adversarial review, anti-sycophancy, claims footer, stress test this, steelman this, pressure test, devil's advocate, am I missing anything, what could go wrong, sourced vs generated, agreement streak, push back on this, where am I wrong, review this PR, pull request review, code review, PR feedback.
/auditing-agent-securityApplies the Agent Security framework to autonomous AI systems and ghost-team architectures — permission and blast-radius mapping, prompt-injection and context-poisoning review, MCP bridge security, and quarterly cleanses. Use when the user mentions: agent security audit, permission stack review, agent hygiene, context window poisoning, prompt injection defense, MCP security, ghost team security, agent-to-agent trust, blast radius test, permission escalation risk. Not for application or codebase vulnerability review and not for building the agent itself (use orchestrating-ai-agents or building-langgraph-agents).
/auditing-cross-lane-routine-artifactsAdversarially audits multi-routine automation artifacts (cron/API routine libraries, scheduled-task decks, "routine cards") for cross-lane contamination, scheduled-task governance violations, and the structurally-empty-at-runtime defect — then splits them into lane-clean artifacts and rebuilds them from a single-source generator. Use whenever Kyle hands over a routine/automation artifact and says "audit this", "fresh adversarial pass", "keep them lane-specific", "make these lane-clean", "split by lane", "apply all fixes", or "rebuild the artifact" — even if he doesn't say "lane" or "governance". Also triggers on: routine cards audit, cron library review, automation deck audit, scheduled-task governance check, Loxihart vs FlashFusion bleed, lane contamination, n8n tenant collision, pipeline-vs-recognized-revenue, data-source guard, count-bug, generator rebuild, lane separation. PERSONAL/Loxihart context. NOT for app/codebase security audits (use code-auditor) and NOT for building a single new routine.
/avoiding-ai-slopDetects and eliminates AI-slop from text, prose, and image prompts using a 76-rule structural pattern corpus, a 237-term tiered ban lexicon, and an image-slop negative-prompt pack, with a slopcheck.py linter for scan, calibrate, and allowlist workflows. Use when the user mentions: de-slop this, deslop, anti-slop, AI slop, sounds like AI, reads like ChatGPT, AI tells, humanize this, make this sound human, remove AI words, overused AI words, banned words check, slop scan, slopcheck, cliché check, AI writing check, delve, tapestry, em-dash overuse, negative parallelism, it's not X it's Y, image slop, negative prompts for AI images, calibrate slop thresholds, refresh the slop list. Also applies silently as writing constraints when drafting outward-facing prose — blog posts, LinkedIn, newsletters, docs, marketing copy. NOT for attributing third-party text to AI (no authorship claims) and NOT for icon slop (use purging-icon-slop).