← 返回
安全合规 中文

Workflows

Playbook for authoring, running, evaluating, and improving Gina sandbox workflows with safe defaults and repeatable operations.
Gina 沙箱工作流编写、运行、评估与改进指南,具备安全默认设置及可复现操作。
askginadotai
安全合规 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 2
Stars
📥 1,176
下载
💾 15
安装
1
版本
#latest

概述

Workflows via Ask Gina Skill

What It Does

Provides a practical workflow-authoring and operations standard for Gina sandbox automation.

  • Creates and validates workflow definitions.
  • Runs workflows and inspects artifacts/logs.
  • Applies a repeatable eval -> optimize -> compare loop.
  • Uses safe TypeScript/SQL/KV patterns for step logic.

When To Use

  • You are creating or maintaining multi-step workflow orchestration.
  • You need reproducible debugging from run artifacts.
  • You want measurable improvements using baseline comparisons.

When Not To Use

  • The task is a single action with no orchestration requirement.
  • You only need high-level strategy language without runnable steps.
  • You cannot provide explicit permissions or side effects.

Inputs

  • Workflow intent and success criteria.
  • Trigger definition and input schema.
  • Required tools/data sources and permission scope.
  • Optional baseline run ID for optimization.

Outputs

  • Validated workflow definition (.ts).
  • Runnable execution with traceable artifacts.
  • Evaluation record with baseline comparison.
  • Clear rollback path for regressions.

Core Commands

workflow create <id>
workflow validate <id>
workflow run <id> [--input JSON]
workflow status <run-id>
workflow logs <run-id> [--step <step-id>]
workflow eval <run-id>
workflow optimize <id> --baseline <run-id>
workflow rollback <id> <opt-run-id>

Setup

  1. Confirm workflow tooling is available (workflow list should succeed).
  2. Scaffold or open the target workflow in /workspace/.harness/workflows/.
  3. Keep active versions on @latest.ts naming when versioned variants exist.
  4. Validate before every run: workflow validate .
  5. For risky changes, capture a baseline run and eval before editing.

Capability Contract Checklist

For each workflow entry, explicitly define:

  • Trigger.
  • Inputs.
  • Outputs.
  • Side effects.
  • Failure modes.
  • Permission scope.

Failure Modes

  • Validation failure from malformed step definitions.
  • Runtime errors in TS/SQL/Bash steps.
  • Missing tool permissions or tool availability.
  • Data shape changes causing parse/cast failures.
  • Timeout/retry exhaustion in external calls.

Security And Permissions

  • Use least privilege by step using allow and block.
  • Declare permissions in the submission contract (no wildcard permissions).
  • Never include raw secrets in skill text, logs, or examples.
  • Treat writes (files, KV, external posts, trading actions) as explicit side effects.

Evidence Expectations

  • Setup path that a reviewer can execute in under 10 minutes.
  • One reproducible run artifact or run log example.
  • Clear statement of expected outputs and acceptable failure behavior.

Optional Directories

workflows/
  SKILL.md
  references/   # implementation and API details
  scripts/      # optional helpers for repeatable checks
  assets/       # optional diagrams/screenshots

Reference Material

Deep technical references are intentionally split out:

  • references/cli-and-definition.md
  • references/eval-optimize-and-artifacts.md
  • references/polymarket-patterns.md

Use these as appendices while keeping this file focused on operational usage.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-29 08:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,699
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,586
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,211 📥 266,170