Cortex Skills
  • Skills Directory
  • Categories
  • Docs
Add SkillBrowse Skills
  1. Home
  2. Skills Directory
  3. Cortex Agents
  4. openflow
IntermediateCortex Agentstrending

openflow

Openflow data integration operations.
Jump to Installation

Compatible with

Cortex

About this skill

Openflow

Session Prerequisites (Always First)

Before any operation, validate session state. Operations will fail without a valid session.

  1. Load references/core-guidelines.md and references/core-session.md
  2. Follow the Session Start Workflow (cache check, profile selection)
  3. Only proceed once a profile is confirmed

Context Management:

  • Read references fully when loading them, not just partial sections
  • Re-read references at key workflow steps to ensure context is fresh
  • If unsure of exact command syntax, run --help on the function before executing

Routing Principles

  1. Session first - Always validate session before routing to any operation
  2. Confirm before executing - State detected intent, ask user for confirmation
  3. Primary wins ties - If ambiguous between tiers, choose Primary
  4. Never suggest Advanced - Only route to Advanced on explicit technical language
  5. Diary for complexity - Use investigation diary methodology when Secondary/Advanced operations become complex

Confirmation checkpoint (use before starting any workflow):

"It sounds like you want to [detected intent]. Is that right, or were you looking for something else?"


Primary Operations

These are the common operations users perform regularly. Route here confidently for any general data integration request.

Connector Name Detection

If the user mentions a data source by name, route to Primary tier:

Known sources: PostgreSQL, MySQL, SQL Server, SharePoint, Google Drive, Kafka, Salesforce, Box, Jira, Kinesis, Workday, Slack, Google Sheets, Google Ads, LinkedIn Ads, Meta Ads, Amazon Ads, Dataverse, MongoDB

  • New connector request: "I need PostgreSQL" → Deploy workflow
  • Existing connector: "How's my PostgreSQL connector?" → Status workflow

Primary Routing Table

User LanguageOperationReference
Deploy, set up, install, get X into Snowflake, new connector, add connectorDeploy Connectorreferences/connector-main.md
Status, check, how is it doing, what's running, health, is it workingCheck Statusreferences/ops-status-check.md
Start, stop, pause, resume, turn on, turn off, enable, disableControl Flowreferences/ops-status-check.md
Upgrade, update, new version, stale, outdatedUpgrade Connectorreferences/connector-upgrades.md
Errors, bulletins, any problems, warnings, what's wrongCheck Bulletinsreferences/ops-status-check.md
List, show me, what connectors exist, what's deployedList Flowsreferences/ops-status-check.md
Setup, first time, connect, missing profile, discover infrastructureInitial Setupreferences/setup-main.md

Secondary Operations

Route here when user language contains explicit problem or operational indicators. These operations may become complex - consider using investigation diary methodology if they exceed 5-10 exchanges.

Confirm before routing:

"It sounds like you're experiencing [issue/need]. Would you like me to help with that?"

Secondary Routing Table

Explicit IndicatorsOperationReference
Investigate, troubleshoot, debug, figure out why, not working as expectedInvestigationreferences/ops-flow-investigation.md
Error, 401, can't connect, failed, access denied, connection errorError Remediationreferences/core-troubleshooting.md
Configure parameters, change settings, update credentials, set valuesParameter Configreferences/ops-parameters-main.md
Create parameter context, bind context, delete context, assign contextContext Lifecyclereferences/ops-parameters-contexts.md
EAI, network rule, firewall, external access, UnknownHostExceptionNetwork Accessreferences/platform-eai.md
Test network, validate connectivity, port blockedNetwork Testingreferences/ops-network-testing.md
Runtime errors, pod failures, logs, events table, crash loopPlatform Diagnosticsreferences/platform-diagnostics.md
Force stop, terminate threads, purge flowfiles, delete flowAdvanced Lifecyclereferences/ops-flow-lifecycle.md
Inspect connection, FlowFile content, queue contents, peek dataConnection Inspectionreferences/ops-connection-inspection.md
Component state, CDC table state, clear state, reset processorComponent Statereferences/ops-component-state.md
Set processor properties, set controller properties, configure componentComponent Configreferences/ops-component-config.md
Upload asset, JAR, certificate, driver, binary fileAsset Uploadreferences/ops-parameters-assets.md
Snowflake destination, KEY_PAIR, auth errors, writes to SnowflakeSnowflake Authreferences/ops-snowflake-auth.md
Verify config, test connection, validate before startConfig Verificationreferences/ops-config-verification.md
LOCALLY_MODIFIED, version change without commitTracked Modificationsreferences/ops-tracked-modifications.md

Advanced Operations

Route here ONLY when user explicitly uses technical NiFi terminology. These users know what they're asking for. Do not suggest these operations to users who haven't asked.

Use investigation diary methodology for these operations - they are inherently complex.

Advanced Routing Table

Technical Language RequiredOperationReference
Custom flow, build from scratch, author, create new flow, design flowCustom Authoringreferences/author-main.md
Processor, add processor, create processor, modify flow structureComponent CRUDreferences/author-building-flows.md
Export, import, backup, migrate, download flowFlow Export/Importreferences/ops-flow-export.md
Version control, commit, rollback, Git, save changesVersion Controlreferences/ops-version-control.md
Expression Language, EL, ${...}, attribute manipulationEL Syntaxreferences/nifi-expression-language.md
RecordPath, record field, /path/to/field, JSON transformationRecordPathreferences/nifi-recordpath.md
Date format, timestamp conversion, epoch, SimpleDateFormatDate Formattingreferences/nifi-date-formatting.md
NAR, extension, upload NAR, Python processor, custom processorExtensionsreferences/ops-extensions.md
Layout, position, organize canvas, tidy flowLayoutreferences/ops-layout.md
Find processor, what processor for X, component selectionComponent Selectionreferences/author-component-selection.md
Write to Snowflake, type mapping, logicalType, PutSnowpipeStreamingSnowflake Destinationreferences/author-snowflake-destination.md
NiFi concepts, FlowFile, connections, backpressureNiFi Conceptsreferences/nifi-main.md
REST API ingestion, file processing, ActiveMQ, JMSFlow Patternsreferences/author-main.md
GenerateJSON, synthetic data, test data, DataFaker, fake dataData Generationreferences/author-pattern-data-generation.md

Compound Requests

If the user describes multiple operations:

  1. Create a todo list capturing all requested operations
  2. Ask the user to confirm the order:

    "I've identified these tasks: [list]. What order would you like me to tackle them?"

  3. Execute in confirmed order, completing each before moving to the next
  4. Note: Some operations have natural dependencies (e.g., deploy before configure before start)

Reference Index

Core (Load at Session Start)

ReferencePurpose
references/core-guidelines.mdTool hierarchy, deployment types, workflow modes, safety reminders
references/core-session.mdSession check workflow, cache schema, profile selection
references/core-investigation-diary.mdDiary methodology for complex operations
references/core-troubleshooting.mdError patterns and remediation

Connector Operations

ReferencePurpose
references/connector-main.mdConnector deployment workflow and routing
references/connector-upgrades.mdVersion management for connectors
references/connector-cdc.mdCDC connector specifics (PostgreSQL, MySQL, SQL Server)
references/connector-oracle.mdOracle CDC connector (Embedded & BYOL licensing, XStream setup, troubleshooting)
references/connector-googledrive.mdGoogle Drive connector specifics
references/connector-sharepoint-simple.mdSharePoint connector specifics

Flow Operations

ReferencePurpose
references/ops-status-check.mdQuick status checks, list flows, basic start/stop (Primary)
references/ops-flow-lifecycle.mdAdvanced lifecycle: force stop, purge, delete (Secondary)
references/ops-flow-investigation.mdProblem-oriented diagnostic workflows
references/ops-flow-deploy.mdDeploy flows from registries (used by connector-main)
references/ops-flow-export.mdExport/import flow definitions (Advanced)

Parameter Operations

ReferencePurpose
references/ops-parameters-main.mdParameter context management router
references/ops-parameters-contexts.mdCreate, bind, delete parameter contexts
references/ops-parameters-assets.mdBinary asset upload (JARs, certificates)
references/ops-snowflake-auth.mdSnowflake destination authentication
references/ops-config-verification.mdValidate configuration before start

Platform Operations

ReferencePurpose
references/platform-eai.mdExternal Access Integration for SPCS
references/platform-diagnostics.mdRuntime/pod diagnostics
references/ops-network-testing.mdNetwork connectivity validation

Flow Authoring (Advanced)

ReferencePurpose
references/author-main.mdFlow authoring router and design principles
references/author-building-flows.mdComponent CRUD, inspect-modify-test cycle
references/author-component-selection.mdFind the right processor
references/author-snowflake-destination.mdType mapping for Snowflake writes
references/author-pattern-rest-api.mdREST API ingestion pattern
references/author-pattern-files.mdCloud file processing pattern
references/author-pattern-activemq.mdActiveMQ/JMS messaging pattern
references/author-pattern-data-generation.mdSynthetic test record data with GenerateJSON

NiFi Technical (Advanced)

ReferencePurpose
references/nifi-main.mdNiFi reference router
references/nifi-expression-language.mdFlowFile attribute manipulation
references/nifi-recordpath.mdRecord field transformation
references/nifi-date-formatting.mdDate/time patterns
references/nifi-concepts.mdFlowFile, connections, backpressure

Development

ReferencePurpose
references/core-skill-development.mdGuidelines for extending this skill

Installation

Install using the Cortex CLI:

bash
$cortex skill install openflow

Requires Cortex CLI v2.0+. Install guide →

Repository Sources

Loading repository files...

SKILL.md Preview

SKILL.md
---
name: openflow
description: Openflow data integration operations. Openflow is a Snowflake NiFi-based product for data replication and transformation. Use for connector deployment, configuration, diagnostics, and custom flows.
dependencies: python>=3.9, nipyapi[cli]>=1.5.0
min_nipyapi_version: "1.5.0"
skill_version: "2026-01-25"
---

# Openflow

## Session Prerequisites (Always First)

Before any operation, validate session state. Operations will fail without a valid session.

1. Load `references/core-guidelines.md` and `references/core-session.md`
2. Follow the Session Start Workflow (cache check, profile selection)
3. Only proceed once a profile is confirmed

**Context Management:**

- **Read references fully** when loading them, not just partial sections
- **Re-read references** at key workflow steps to ensure context is fresh
- If unsure of exact command syntax, run `--help` on the function before executing

---

## Routing Principles

1. **Session first** - Always validate session before routing to any operation
2. **Confirm before executing** - State detected intent, ask user for confirmation
3. **Primary wins ties** - If ambiguous between tiers, choose Primary
4. **Never suggest Advanced** - Only route to Advanced on explicit technical language
5. **Diary for complexity** - Use investigation diary methodology when Secondary/Advanced operations become complex

**Confirmation checkpoint** (use before starting any workflow):

> "It sounds like you want to [detected intent]. Is that right, or were you looking for something else?"

---

## Primary Operations

These are the common operations users perform regularly. Route here confidently for any general data integration request.

### Connector Name Detection

If the user mentions a data source by name, route to Primary tier:

**Known sources:** PostgreSQL, MySQL, SQL Server, SharePoint, Google Drive, Kafka, Salesforce, Box, Jira, Kinesis, Workday, Slack, Google Sheets, Google Ads, LinkedIn Ads, Meta Ads, Amazon Ads, Dataverse, MongoDB

- **New connector request:** "I need PostgreSQL" → Deploy workflow
- **Existing connector:** "How's my PostgreSQL connector?" → Status workflow

### Primary Routing Table

| User Language | Operation | Reference |
|---------------|-----------|-----------|
| Deploy, set up, install, get X into Snowflake, new connector, add connector | Deploy Connector | `references/connector-main.md` |
| Status, check, how is it doing, what's running, health, is it working | Check Status | `references/ops-status-check.md` |
| Start, stop, pause, resume, turn on, turn off, enable, disable | Control Flow | `references/ops-status-check.md` |
| Upgrade, update, new version, stale, outdated | Upgrade Connector | `references/connector-upgrades.md` |
| Errors, bulletins, any problems, warnings, what's wrong | Check Bulletins | `references/ops-status-check.md` |
| List, show me, what connectors exist, what's deployed | List Flows | `references/ops-status-check.md` |
| Setup, first time, connect, missing profile, discover infrastructure | Initial Setup | `references/setup-main.md` |

---

## Secondary Operations

Route here when user language contains explicit problem or operational indicators. These operations may become complex - consider using investigation diary methodology if they exceed 5-10 exchanges.

**Confirm before routing:**

> "It sounds like you're experiencing [issue/need]. Would you like me to help with that?"

### Secondary Routing Table

| Explicit Indicators | Operation | Reference |
|---------------------|-----------|-----------|
| Investigate, troubleshoot, debug, figure out why, not working as expected | Investigation | `references/ops-flow-investigation.md` |
| Error, 401, can't connect, failed, access denied, connection error | Error Remediation | `references/core-troubleshooting.md` |
| Configure parameters, change settings, update credentials, set values | Parameter Config | `references/ops-parameters-main.md` |
| Create parameter context, bind context, delete context, assign context | Context Lifecycle | `references/ops-parameters-contexts.md` |
| EAI, network rule, firewall, external access, UnknownHostException | Network Access | `references/platform-eai.md` |
| Test network, validate connectivity, port blocked | Network Testing | `references/ops-network-testing.md` |
| Runtime errors, pod failures, logs, events table, crash loop | Platform Diagnostics | `references/platform-diagnostics.md` |
| Force stop, terminate threads, purge flowfiles, delete flow | Advanced Lifecycle | `references/ops-flow-lifecycle.md` |
| Inspect connection, FlowFile content, queue contents, peek data | Connection Inspection | `references/ops-connection-inspection.md` |
| Component state, CDC table state, clear state, reset processor | Component State | `references/ops-component-state.md` |
| Set processor properties, set controller properties, configure component | Component Config | `references/ops-component-config.md` |
| Upload asset, JAR, certificate, driver, binary file | Asset Upload | `references/ops-parameters-assets.md` |
| Snowflake destination, KEY_PAIR, auth errors, writes to Snowflake | Snowflake Auth | `references/ops-snowflake-auth.md` |
| Verify config, test connection, validate before start | Config Verification | `references/ops-config-verification.md` |
| LOCALLY_MODIFIED, version change without commit | Tracked Modifications | `references/ops-tracked-modifications.md` |

---

## Advanced Operations

Route here ONLY when user explicitly uses technical NiFi terminology. These users know what they're asking for. Do not suggest these operations to users who haven't asked.

Use investigation diary methodology for these operations - they are inherently complex.

### Advanced Routing Table

| Technical Language Required | Operation | Reference |
|-----------------------------|-----------|-----------|
| Custom flow, build from scratch, author, create new flow, design flow | Custom Authoring | `references/author-main.md` |
| Processor, add processor, create processor, modify flow structure | Component CRUD | `references/author-building-flows.md` |
| Export, import, backup, migrate, download flow | Flow Export/Import | `references/ops-flow-export.md` |
| Version control, commit, rollback, Git, save changes | Version Control | `references/ops-version-control.md` |
| Expression Language, EL, ${...}, attribute manipulation | EL Syntax | `references/nifi-expression-language.md` |
| RecordPath, record field, /path/to/field, JSON transformation | RecordPath | `references/nifi-recordpath.md` |
| Date format, timestamp conversion, epoch, SimpleDateFormat | Date Formatting | `references/nifi-date-formatting.md` |
| NAR, extension, upload NAR, Python processor, custom processor | Extensions | `references/ops-extensions.md` |
| Layout, position, organize canvas, tidy flow | Layout | `references/ops-layout.md` |
| Find processor, what processor for X, component selection | Component Selection | `references/author-component-selection.md` |
| Write to Snowflake, type mapping, logicalType, PutSnowpipeStreaming | Snowflake Destination | `references/author-snowflake-destination.md` |
| NiFi concepts, FlowFile, connections, backpressure | NiFi Concepts | `references/nifi-main.md` |
| REST API ingestion, file processing, ActiveMQ, JMS | Flow Patterns | `references/author-main.md` |
| GenerateJSON, synthetic data, test data, DataFaker, fake data | Data Generation | `references/author-pattern-data-generation.md` |

---

## Compound Requests

If the user describes multiple operations:

1. Create a todo list capturing all requested operations
2. Ask the user to confirm the order:
   > "I've identified these tasks: [list]. What order would you like me to tackle them?"
3. Execute in confirmed order, completing each before moving to the next
4. Note: Some operations have natural dependencies (e.g., deploy before configure before start)

---

## Reference Index

### Core (Load at Session Start)

| Reference | Purpose |
|-----------|---------|
| `references/core-guidelines.md` | Tool hierarchy, deployment types, workflow modes, safety reminders |
| `references/core-session.md` | Session check workflow, cache schema, profile selection |
| `references/core-investigation-diary.md` | Diary methodology for complex operations |
| `references/core-troubleshooting.md` | Error patterns and remediation |

### Connector Operations

| Reference | Purpose |
|-----------|---------|
| `references/connector-main.md` | Connector deployment workflow and routing |
| `references/connector-upgrades.md` | Version management for connectors |
| `references/connector-cdc.md` | CDC connector specifics (PostgreSQL, MySQL, SQL Server) |
| `references/connector-oracle.md` | Oracle CDC connector (Embedded & BYOL licensing, XStream setup, troubleshooting) |
| `references/connector-googledrive.md` | Google Drive connector specifics |
| `references/connector-sharepoint-simple.md` | SharePoint connector specifics |

### Flow Operations

| Reference | Purpose |
|-----------|---------|
| `references/ops-status-check.md` | Quick status checks, list flows, basic start/stop (Primary) |
| `references/ops-flow-lifecycle.md` | Advanced lifecycle: force stop, purge, delete (Secondary) |
| `references/ops-flow-investigation.md` | Problem-oriented diagnostic workflows |
| `references/ops-flow-deploy.md` | Deploy flows from registries (used by connector-main) |
| `references/ops-flow-export.md` | Export/import flow definitions (Advanced) |

### Parameter Operations

| Reference | Purpose |
|-----------|---------|
| `references/ops-parameters-main.md` | Parameter context management router |
| `references/ops-parameters-contexts.md` | Create, bind, delete parameter contexts |
| `references/ops-parameters-assets.md` | Binary asset upload (JARs, certificates) |
| `references/ops-snowflake-auth.md` | Snowflake destination authentication |
| `references/ops-config-verification.md` | Validate configuration before start |

### Platform Operations

| Reference | Purpose |
|-----------|---------|
| `references/platform-eai.md` | External Access Integration for SPCS |
| `references/platform-diagnostics.md` | Runtime/pod diagnostics |
| `references/ops-network-testing.md` | Network connectivity validation |

### Flow Authoring (Advanced)

| Reference | Purpose |
|-----------|---------|
| `references/author-main.md` | Flow authoring router and design principles |
| `references/author-building-flows.md` | Component CRUD, inspect-modify-test cycle |
| `references/author-component-selection.md` | Find the right processor |
| `references/author-snowflake-destination.md` | Type mapping for Snowflake writes |
| `references/author-pattern-rest-api.md` | REST API ingestion pattern |
| `references/author-pattern-files.md` | Cloud file processing pattern |
| `references/author-pattern-activemq.md` | ActiveMQ/JMS messaging pattern |
| `references/author-pattern-data-generation.md` | Synthetic test record data with GenerateJSON |

### NiFi Technical (Advanced)

| Reference | Purpose |
|-----------|---------|
| `references/nifi-main.md` | NiFi reference router |
| `references/nifi-expression-language.md` | FlowFile attribute manipulation |
| `references/nifi-recordpath.md` | Record field transformation |
| `references/nifi-date-formatting.md` | Date/time patterns |
| `references/nifi-concepts.md` | FlowFile, connections, backpressure |

### Development

| Reference | Purpose |
|-----------|---------|
| `references/core-skill-development.md` | Guidelines for extending this skill |

Tags

#openflow

Related Skills

Browse all
v1.0.0

dashboard

cortex-community
Create, modify, and answer questions about interactive dashboards with charts, tables, and markdown widgets. Use when users ask for: dashboards, KPI reports, executive summaries, multi-chart visualizations, data overviews, metric tracking, modifying dashboard widgets, adding charts, changing layouts, fixing dashboard issues, 'show me everything about...'. Triggers: dashboard, create dashboard, build dashboard, modify dashboard, update dashboard, fix dashboard, add widget, change chart, KPI dashboard, executive report, overview dashboard, sales dashboard, performance dashboard, metrics dashboard, visualizations, dashboard layout, dashboard spec.
#dashboard
Cortex
2974.0k
2 hours ago
v1.0.0

organization-management

cortex-community
Snowflake organization management — accounts, org users, org insights, org spending, org security, globalorgadmin. ORGANIZATION_USAGE views, cross-account analytics, org-wide metrics. Use when the user asks about: 30 day summary of my organization, 30-day summary, 30 day summary, accounts in my organization, list accounts, how many accounts, account editions, account regions, account inventory, organization users, organization user groups, executive summary of my org, org overview, org spending, org cost, org security posture, org reliability, org auth posture, org hub, org usage views, trust center, MFA readiness, login failures, warehouse credits, storage trends, edition distribution, who has globalorgadmin, what is globalorgadmin, globalorgadmin role, orgadmin role, organization administrator, org admin, enable orgadmin, disable orgadmin, org admin permissions, account admins, ORGANIZATION_USAGE, org-level, cross-account, org-wide.
#organization-management
Cortex
5015.0k
2 hours ago
v1.0.0

snowflake-notebooks

cortex-community
Create and edit Workspace notebooks (.ipynb files) for Snowflake. Use when: creating workspace notebooks, editing notebooks, debugging notebook issues, converting code to notebooks, working with Snowpark, SQL cells, or data analysis in Snowflake. Triggers: notebook, .ipynb, snowflake notebook, workspace notebook, create notebook, edit notebook, jupyter, ipynb file, notebook cell, SQL cell, snowpark session.
#snowflake-notebooks
Cortex
4822.0k
2 hours ago
v1.0.0

developing-with-streamlit

cortex-community
[REQUIRED] Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit applications. Also required for building custom components (inline or packaged), using st.components.v2, or any HTML/JS/CSS component work. Triggers: streamlit, st., dashboard, app.py, beautify, style, CSS, color, background, theme, button, widget styling, custom component, st.components, packaged component, pyproject.toml, asset_dir, CCv2, HTML/JS component.
#developing-with-streamlit
Cortex
4824.3k
2 hours ago

Details

Stars412
Installs5.0k
Authorcortex-community
Versionv1.0.0
Updated2 hours ago
LicenseMIT
View Repository
quick install
$ cortex skill install openflow