flowpatrol-ops
Manages operational monitoring and compliance for FlowPatrol financial systems using automated tools.
What this skill does
# flowpatrol-ops
## Purpose
This skill automates operational monitoring and ensures compliance for FlowPatrol financial systems, using tools to track transactions, detect anomalies, and enforce regulatory standards.
## When to Use
Use this skill for real-time monitoring of financial operations, compliance audits in production environments, or automating alerts for suspicious activities in FlowPatrol systems. Apply it when integrating with financial workflows to maintain security and regulatory adherence.
## Key Capabilities
- Monitor system logs and transactions in real-time using FlowPatrol's API to detect anomalies like unusual transaction volumes.
- Enforce compliance by checking against rulesets (e.g., PCI DSS) and generating automated reports.
- Automate alerts via email or webhook for events like threshold breaches.
- Integrate with external tools for data aggregation, such as pulling metrics from Prometheus.
- Handle batch processing for compliance checks on historical data.
- Support configurable thresholds, e.g., set via JSON config files for custom monitoring rules.
- Provide API-based querying for on-demand status checks.
- Generate audit trails with timestamps and user IDs for all operations.
- Scale monitoring across multiple FlowPatrol instances.
- Use embedded analytics to visualize compliance metrics.
## Usage Patterns
Invoke the skill via CLI for quick tasks or through API calls for programmatic integration. Always set environment variables for authentication first, like `export FLOWPATROL_API_KEY=$SERVICE_API_KEY`. For repeated tasks, use scripts that chain commands, such as monitoring followed by compliance checks. Pass configurations via files (e.g., JSON) to customize behavior, and handle outputs in JSON format for easy parsing.
## Common Commands/API
Use the FlowPatrol CLI with these commands; ensure the tool is installed via `pip install flowpatrol-ops`. Authentication requires `$FLOWPATROL_API_KEY` as an environment variable.
- CLI command for monitoring: `flowpatrol monitor --system prod --interval 5m --threshold 100` (flags: --system for environment, --interval for check frequency, --threshold for alert level).
- CLI for compliance check: `flowpatrol check-compliance --ruleset pci --output report.json` (snippet:
```bash
export FLOWPATROL_API_KEY=your_key
flowpatrol check-compliance --ruleset pci
```
).
- API endpoint for starting a monitor: POST to `/api/v1/monitor` with JSON body `{ "system": "prod", "interval": "5m" }` (e.g., using curl:
```bash
curl -X POST -H "Authorization: Bearer $FLOWPATROL_API_KEY" -d '{"system":"prod"}' https://api.flowpatrol.com/api/v1/monitor
```
).
- API for retrieving reports: GET `/api/v1/reports/{reportId}` with query params like `?format=json`.
- Command to generate alerts: `flowpatrol alert-setup --webhook https://your.webhook.url --event anomaly` (config format: JSON file like `{ "events": ["anomaly"], "webhook": "url" }`).
- Batch processing command: `flowpatrol process-batch --file transactions.csv --rules compliance_rules.json` (snippet:
```bash
flowpatrol process-batch --file data.csv
echo "Processing complete"
```
).
- Stop monitoring: `flowpatrol stop --id monitor123` (uses --id flag for specific instance).
- Query status: `flowpatrol status --system prod` (returns JSON output).
## Integration Notes
Integrate with financial tools by exporting data to formats like CSV or JSON for tools like Excel or Tableau. Use `$FLOWPATROL_API_KEY` for auth in scripts; example: set in .env files for Docker containers. For webhooks, ensure URLs are HTTPS and handle payloads in JSON. When combining with other skills (e.g., in the "financial" cluster), chain API calls, like calling FlowPatrol after data ingestion from a database. Config files should follow this format: `{ "apiEndpoint": "https://api.flowpatrol.com", "key": "$FLOWPATROL_API_KEY" }`. Avoid hardcoding keys; use environment variables for security.
## Error Handling
Check CLI exit codes: 0 for success, 1-9 for errors (e.g., 1 for auth failure). For API calls, handle HTTP status codes like 401 (unauthorized) by re-authenticating, or 500 (server error) by retrying with exponential backoff. In scripts, use try-catch blocks (e.g., in Python:
```python
try:
response = requests.post(url, headers=headers)
response.raise_for_status()
except requests.exceptions.HTTPError as err:
print(f"Error: {err}")
```
). Parse error responses, which are JSON like `{ "error": "Invalid key", "code": 401 }`. Log all errors with timestamps and retry transient issues up to 3 times. For CLI, use `--verbose` flag to debug.
## Concrete Usage Examples
1. **Monitoring transactions in production:** Export your API key, then run `flowpatrol monitor --system prod --interval 1m` to start real-time monitoring. This detects anomalies; pipe output to a file: `flowpatrol monitor ... > logs.txt`. Follow up with `flowpatrol alert-setup --webhook your_url` to notify on breaches.
2. **Running a compliance audit:** Use `flowpatrol check-compliance --ruleset gdpr --output audit.json` on a dataset. In a script, combine it:
```bash
export FLOWPATROL_API_KEY=key
flowpatrol check-compliance --ruleset gdpr
cat audit.json | jq '.results'
```
This generates a report for reviewing compliance issues.
## Graph Relationships
- Related to cluster: "financial" (e.g., shares tools with other financial monitoring skills).
- Connected via tags: "operations" (links to operational tools), "flowpatrol" (specific to FlowPatrol ecosystem).
- Potential edges: Integrates with "compliance-checker" skill for enhanced auditing, and "alert-system" for notification workflows.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.