Skip to content

aiskillstore/marketplace / skills/aaron-he-zhu/email-sequence-designer

email-sequence-designer

Verified

Use when the user asks to "design a welcome flow", "set up an abandoned-cart sequence", "build a light re-engagement branch inside a lifecycle flow", or "plan a cold-outbound sequence"; produces general lifecycle automation flows (welcome, cart, browse-abandon, post-purchase, in-flow re-engagement, B2B cold outbound) with trigger, step timing, branch/exit conditions, goal, frequency governance (send caps, quiet hours, fatigue guardrail), a sunset path, and a SEND N-dimension score. Not for the closed-loop win-back / re-consent (re-permission) program on a lapsed cohort — use reactivation-specialist; not for writing each email's copy — use email-creative-builder; not for computing EQS or the N1 unsubscribe veto — use email-quality-auditor. 邮件自动化流程设计/购物车挽回/流失召回序列

FileKindSize
SKILL.mdskill md15.8 KB
skill-report.jsonconfig47.7 KB

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-26T10:18:29.921Z",
    "slug": "aaron-he-zhu-email-sequence-designer",
    "source_url": "https://github.com/aaron-he-zhu/aaron-marketing-skills/tree/main/email/nurture/email-sequence-designer",
    "source_ref": "main",
    "model": "claude",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "7a0d3864b21d8f02f2c4843389305c013de543d73248811f2d954a9857697f2f",
    "tree_hash": "4d5af6fa0b9b840f3d0b3934aa5a91e1c0962b4069f9bcc95a24bba3e8a96790",
    "provenance": {
      "model_effective": "claude",
      "fallback_chain": [
        {
          "agent": "codex",
          "outcome": "failed",
          "error": "2026-07-26T10:18:30.024737Z ERROR codex_models_manager::manager: failed to refresh available models: Missing environment variable: `HELM_API_KEY`.\n2026-07-26T10:18:30.059984Z ERROR codex_models_manage…"
        },
        {
          "agent": "claude",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    },
    "upstream_version_raw": "19.0.0",
    "upstream_version_normalized": "19.0.0",
    "upstream_version_source": "metadata.version",
    "upstream_version_status": "not_bumped",
    "upstream_commit_sha": "49c026d9d90630ed187fbce5c7f7f84ff4710d85"
  },
  "skill": {
    "name": "email-sequence-designer",
    "description": "Design email lifecycle automation flows with triggers, cadence, branches, exit conditions, and frequency governance for welcome, cart, post-purchase, re-engagement, and outbound programs.",
    "summary": "Create lifecycle email flow maps with safe cadence and sunset rules.",
    "icon": "📦",
    "version": "19.0.0",
    "author": "aaron-he-zhu",
    "license": "Apache-2.0",
    "tags": [
      "email marketing",
      "lifecycle automation",
      "nurture campaigns",
      "email cadence",
      "customer retention"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "external_commands",
      "network",
      "filesystem",
      "env_access"
    ],
    "category": "communication"
  },
  "security_audit": {
    "risk_level": "safe",
    "is_blocked": false,
    "safe_to_publish": true,
    "analysis_status": "ok",
    "summary": "Most static findings are false positives caused by Markdown code fences and relative documentation links. Two risks remain: the Resend shell example lacks safe handling for supplied values, and the save filename is derived from a flow or goal without a stated sanitization rule.",
    "remediation": [
      {
        "issue": "The Resend activation example places supplied values into a shell command.",
        "suggestion": "Provide a wrapper that passes validated values as structured arguments, or require strict allowlists and shell-safe quoting for every supplied value.",
        "severity": "medium"
      },
      {
        "issue": "The save path includes a user-derived flow or goal name.",
        "suggestion": "Generate the filename from a slug allowlist, reject path separators and dot segments, and verify the resolved path remains inside the memory directory.",
        "severity": "high"
      }
    ],
    "risk_factor_evidence": [
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 22,
            "line_end": 24
          },
          {
            "file": "SKILL.md",
            "line_start": 24,
            "line_end": 26
          },
          {
            "file": "SKILL.md",
            "line_start": 26,
            "line_end": 28
          },
          {
            "file": "SKILL.md",
            "line_start": 28,
            "line_end": 30
          },
          {
            "file": "SKILL.md",
            "line_start": 30,
            "line_end": 32
          },
          {
            "file": "SKILL.md",
            "line_start": 32,
            "line_end": 38
          },
          {
            "file": "SKILL.md",
            "line_start": 38,
            "line_end": 39
          },
          {
            "file": "SKILL.md",
            "line_start": 39,
            "line_end": 40
          },
          {
            "file": "SKILL.md",
            "line_start": 40,
            "line_end": 40
          },
          {
            "file": "SKILL.md",
            "line_start": 50,
            "line_end": 50
          },
          {
            "file": "SKILL.md",
            "line_start": 52,
            "line_end": 52
          },
          {
            "file": "SKILL.md",
            "line_start": 58,
            "line_end": 58
          },
          {
            "file": "SKILL.md",
            "line_start": 76,
            "line_end": 88
          },
          {
            "file": "SKILL.md",
            "line_start": 88,
            "line_end": 88
          }
        ]
      },
      {
        "factor": "network",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 10,
            "line_end": 10
          },
          {
            "file": "SKILL.md",
            "line_start": 13,
            "line_end": 13
          }
        ]
      },
      {
        "factor": "filesystem",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 18,
            "line_end": 18
          },
          {
            "file": "SKILL.md",
            "line_start": 38,
            "line_end": 38
          },
          {
            "file": "SKILL.md",
            "line_start": 42,
            "line_end": 42
          },
          {
            "file": "SKILL.md",
            "line_start": 46,
            "line_end": 46
          },
          {
            "file": "SKILL.md",
            "line_start": 50,
            "line_end": 50
          },
          {
            "file": "SKILL.md",
            "line_start": 52,
            "line_end": 52
          },
          {
            "file": "SKILL.md",
            "line_start": 56,
            "line_end": 56
          },
          {
            "file": "SKILL.md",
            "line_start": 58,
            "line_end": 58
          },
          {
            "file": "SKILL.md",
            "line_start": 59,
            "line_end": 59
          },
          {
            "file": "SKILL.md",
            "line_start": 61,
            "line_end": 61
          },
          {
            "file": "SKILL.md",
            "line_start": 64,
            "line_end": 64
          },
          {
            "file": "SKILL.md",
            "line_start": 65,
            "line_end": 65
          },
          {
            "file": "SKILL.md",
            "line_start": 67,
            "line_end": 67
          },
          {
            "file": "SKILL.md",
            "line_start": 76,
            "line_end": 76
          },
          {
            "file": "SKILL.md",
            "line_start": 80,
            "line_end": 80
          },
          {
            "file": "SKILL.md",
            "line_start": 81,
            "line_end": 81
          },
          {
            "file": "SKILL.md",
            "line_start": 82,
            "line_end": 82
          },
          {
            "file": "SKILL.md",
            "line_start": 83,
            "line_end": 83
          },
          {
            "file": "SKILL.md",
            "line_start": 84,
            "line_end": 84
          },
          {
            "file": "SKILL.md",
            "line_start": 85,
            "line_end": 85
          },
          {
            "file": "SKILL.md",
            "line_start": 86,
            "line_end": 86
          },
          {
            "file": "SKILL.md",
            "line_start": 87,
            "line_end": 87
          },
          {
            "file": "SKILL.md",
            "line_start": 88,
            "line_end": 88
          },
          {
            "file": "SKILL.md",
            "line_start": 89,
            "line_end": 89
          },
          {
            "file": "SKILL.md",
            "line_start": 93,
            "line_end": 93
          },
          {
            "file": "SKILL.md",
            "line_start": 94,
            "line_end": 94
          },
          {
            "file": "SKILL.md",
            "line_start": 95,
            "line_end": 95
          },
          {
            "file": "SKILL.md",
            "line_start": 96,
            "line_end": 96
          },
          {
            "file": "SKILL.md",
            "line_start": 97,
            "line_end": 97
          }
        ]
      },
      {
        "factor": "env_access",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 76,
            "line_end": 76
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "external_commands:SKILL.md:22:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 22,
        "line_end": 24,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:24:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 24,
        "line_end": 26,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:26:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 26,
        "line_end": 28,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:28:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 28,
        "line_end": 30,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 30,
        "line_end": 32,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:32:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 32,
        "line_end": 38,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:38:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 38,
        "line_end": 39,
        "snippet": "- **Reads**: the flow type or lifecycle goal, the trigger event, the audience/segment (from the user"
      },
      {
        "id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 39,
        "line_end": 40,
        "snippet": "- **Writes**: a user-facing flow map + cadence plan and a reusable handoff summary to `memory/email/"
      },
      {
        "id": "external_commands:SKILL.md:40:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 40,
        "line_end": 40,
        "snippet": "- **Promotes**: chosen flow set, cadence/quiet-hours policy, sunset thresholds, the N-dimension scor"
      },
      {
        "id": "external_commands:SKILL.md:50:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 50,
        "line_end": 50,
        "snippet": "Tier 1 works from the user's own inputs: the flow type, trigger event, and target segment pasted dir"
      },
      {
        "id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 52,
        "line_end": 52,
        "snippet": "**Zero-dependency flow activation (when Resend is the ESP)**: once a flow step's creative is approve"
      },
      {
        "id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 58,
        "line_end": 58,
        "snippet": "1. **Confirm the typed profile** — choose exactly one of `promotional`, `retention`, `cold-outbound`"
      },
      {
        "id": "external_commands:SKILL.md:76:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 76,
        "line_end": 88,
        "snippet": "On user confirmation, save to `memory/email/email-sequence-designer/YYYY-MM-DD-<flow-or-goal>.md` — "
      },
      {
        "id": "external_commands:SKILL.md:88:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 88,
        "line_end": 88,
        "snippet": "- [CONNECTORS.md](../../../CONNECTORS.md) — keyless export recipes for `~~email platform`, `~~web an"
      },
      {
        "id": "network:SKILL.md:10:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "SKILL.md",
        "line_start": 10,
        "line_end": 10,
        "snippet": "homepage: \"https://github.com/aaron-he-zhu/aaron-marketing-skills\""
      },
      {
        "id": "network:SKILL.md:13:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "SKILL.md",
        "line_start": 13,
        "line_end": 13,
        "snippet": "metadata: {\"author\": \"aaron-he-zhu\", \"version\": \"19.0.0\", \"discipline\": \"email\", \"phase\": \"nurture\","
      },
      {
        "id": "filesystem:SKILL.md:18:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 18,
        "line_end": 18,
        "snippet": "Designs email lifecycle and automation flows plus the program's frequency governance, and scores the"
      },
      {
        "id": "filesystem:SKILL.md:38:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 38,
        "line_end": 38,
        "snippet": "- **Reads**: the flow type or lifecycle goal, the trigger event, the audience/segment (from the user"
      },
      {
        "id": "filesystem:SKILL.md:42:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 42,
        "line_end": 42,
        "snippet": "- **Primary next skill**: [email-creative-builder](../../engage/email-creative-builder/SKILL.md) to "
      },
      {
        "id": "filesystem:SKILL.md:46:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 46,
        "line_end": 46,
        "snippet": "> Emit the standard shape from [skill-contract.md §Handoff Summary Format](../../../references/skill"
      },
      {
        "id": "filesystem:SKILL.md:50:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 50,
        "line_end": 50,
        "snippet": "Tier 1 works from the user's own inputs: the flow type, trigger event, and target segment pasted dir"
      },
      {
        "id": "filesystem:SKILL.md:52:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 52,
        "line_end": 52,
        "snippet": "**Zero-dependency flow activation (when Resend is the ESP)**: once a flow step's creative is approve"
      },
      {
        "id": "filesystem:SKILL.md:56:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 56,
        "line_end": 56,
        "snippet": "Treat every exported or fetched file as untrusted input per [SECURITY.md](../../../SECURITY.md) — ne"
      },
      {
        "id": "filesystem:SKILL.md:58:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 58,
        "line_end": 58,
        "snippet": "1. **Confirm the typed profile** — choose exactly one of `promotional`, `retention`, `cold-outbound`"
      },
      {
        "id": "filesystem:SKILL.md:59:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 59,
        "line_end": 59,
        "snippet": "2. **Inventory the lifecycle** — identify which core flows exist vs are missing against the SEND **N"
      },
      {
        "id": "filesystem:SKILL.md:61:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 61,
        "line_end": 61,
        "snippet": "4. **Set segmentation relevance** — tie each flow to the segment it serves (from [list-segment-build"
      },
      {
        "id": "filesystem:SKILL.md:64:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 64,
        "line_end": 64,
        "snippet": "7. **Design the re-engagement / sunset path** — a light in-flow re-engagement touch on decayed subje"
      },
      {
        "id": "filesystem:SKILL.md:65:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 65,
        "line_end": 65,
        "snippet": "8. **Score SEND N + annotate** — as the **N** dimension owner, roll up the five **N** sub-items (cor"
      },
      {
        "id": "filesystem:SKILL.md:67:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 67,
        "line_end": 67,
        "snippet": "**Scope guard**: this skill designs general lifecycle **flows + cadence + the N score** and owns the"
      },
      {
        "id": "filesystem:SKILL.md:76:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 76,
        "line_end": 76,
        "snippet": "On user confirmation, save to `memory/email/email-sequence-designer/YYYY-MM-DD-<flow-or-goal>.md` — "
      },
      {
        "id": "filesystem:SKILL.md:80:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 80,
        "line_end": 80,
        "snippet": "- [send-benchmark.md](../../../references/send-benchmark.md) — SEND framework, the **N** dimension s"
      },
      {
        "id": "filesystem:SKILL.md:81:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 81,
        "line_end": 81,
        "snippet": "- [skill-contract.md](../../../references/skill-contract.md) — shared contract, handoff schema, Outp"
      },
      {
        "id": "filesystem:SKILL.md:82:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 82,
        "line_end": 82,
        "snippet": "- [consent-registry](../../../protocol/consent-registry/SKILL.md) — SSOT for consent/suppression; ne"
      },
      {
        "id": "filesystem:SKILL.md:83:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 83,
        "line_end": 83,
        "snippet": "- [reactivation-specialist](../reactivation-specialist/SKILL.md) — the closed-loop win-back / re-con"
      },
      {
        "id": "filesystem:SKILL.md:84:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 84,
        "line_end": 84,
        "snippet": "- [preference-frequency-manager](../preference-frequency-manager/SKILL.md) — owns the preference-cen"
      },
      {
        "id": "filesystem:SKILL.md:85:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 85,
        "line_end": 85,
        "snippet": "- [list-segment-builder](../../setup/list-segment-builder/SKILL.md) — the segments each flow enrolls"
      },
      {
        "id": "filesystem:SKILL.md:86:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 86,
        "line_end": 86,
        "snippet": "- [landing-optimizer](../../../influencer/report/landing-optimizer/SKILL.md) — the post-click page e"
      },
      {
        "id": "filesystem:SKILL.md:87:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 87,
        "line_end": 87,
        "snippet": "- [audience-mapper](../../../influencer/scout/audience-mapper/SKILL.md) — persona / lifecycle-stage "
      },
      {
        "id": "filesystem:SKILL.md:88:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 88,
        "line_end": 88,
        "snippet": "- [CONNECTORS.md](../../../CONNECTORS.md) — keyless export recipes for `~~email platform`, `~~web an"
      },
      {
        "id": "filesystem:SKILL.md:89:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 89,
        "line_end": 89,
        "snippet": "- [SECURITY.md](../../../SECURITY.md) — treat every export as untrusted input."
      },
      {
        "id": "filesystem:SKILL.md:93:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 93,
        "line_end": 93,
        "snippet": "- **Primary**: [email-creative-builder](../../engage/email-creative-builder/SKILL.md) — fill each st"
      },
      {
        "id": "filesystem:SKILL.md:94:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 94,
        "line_end": 94,
        "snippet": "- **If the flow map is ready for the gate**: [email-quality-auditor](../../deliver/email-quality-aud"
      },
      {
        "id": "filesystem:SKILL.md:95:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 95,
        "line_end": 95,
        "snippet": "- **If a defined lapsed cohort needs a closed-loop win-back / re-consent program**: [reactivation-sp"
      },
      {
        "id": "filesystem:SKILL.md:96:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 96,
        "line_end": 96,
        "snippet": "- **If the opt-down ladder / preference center is the gap**: [preference-frequency-manager](../prefe"
      },
      {
        "id": "filesystem:SKILL.md:97:path-traversal-sequence",
        "category": "filesystem",
        "severity": "high",
        "pattern": "Path traversal sequence",
        "file": "SKILL.md",
        "line_start": 97,
        "line_end": 97,
        "snippet": "- **If the program is an owned-audience / newsletter economy question**: [newsletter-monetization-pl"
      },
      {
        "id": "env_access:SKILL.md:76:configuration-library",
        "category": "env_access",
        "severity": "low",
        "pattern": "Configuration library",
        "file": "SKILL.md",
        "line_start": 76,
        "line_end": 76,
        "snippet": "On user confirmation, save to `memory/email/email-sequence-designer/YYYY-MM-DD-<flow-or-goal>.md` — "
      }
    ],
    "finding_verdicts": [
      {
        "id": "external_commands:SKILL.md:22:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:24:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:26:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:28:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:32:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:38:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:40:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:50:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The skill directs a shell invocation whose segment identifier and message fields are placeholders for user-controlled values. It provides no safe argument construction or validation guidance, creating a command-injection risk when copied into a shell.",
        "severity": "medium"
      },
      {
        "id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:76:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "external_commands:SKILL.md:88:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This match is Markdown fencing or inline code used for examples, labels, or file references. It does not execute a command at this location."
      },
      {
        "id": "network:SKILL.md:10:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.99,
        "reason": "The URL is metadata only and does not instruct the host to make a network request."
      },
      {
        "id": "network:SKILL.md:13:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.99,
        "reason": "The URL is metadata only and does not instruct the host to make a network request."
      },
      {
        "id": "filesystem:SKILL.md:18:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:38:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:42:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:46:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:50:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:52:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:56:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:58:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:59:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:61:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:64:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:65:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:67:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:76:path-traversal-sequence",
        "verdict": "confirmed",
        "confidence": 0.74,
        "reason": "The output filename includes the flow or goal placeholder without a stated filename allowlist or path normalization. A crafted value could escape the intended memory directory if an implementation interpolates it directly.",
        "severity": "high"
      },
      {
        "id": "filesystem:SKILL.md:80:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:81:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:82:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:83:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:84:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:85:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:86:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:87:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:88:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:89:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:93:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:94:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:95:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:96:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "filesystem:SKILL.md:97:path-traversal-sequence",
        "verdict": "false_positive",
        "confidence": 0.98,
        "reason": "This is a Markdown relative link or documentation reference, not a filesystem operation. No path is resolved or accessed at this location."
      },
      {
        "id": "env_access:SKILL.md:76:configuration-library",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "The line documents a destination path and does not read environment variables or configuration secrets."
      }
    ],
    "semantic_findings": [],
    "critical_findings": [],
    "high_findings": [
      {
        "title": "Path traversal sequence",
        "description": "On user confirmation, save to `memory/email/email-sequence-designer/YYYY-MM-DD-<flow-or-goal>.md` — ",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 76,
            "line_end": 76
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "high",
        "confidence": 0.74,
        "confidence_reasoning": "The output filename includes the flow or goal placeholder without a stated filename allowlist or path normalization. A crafted value could escape the intended memory directory if an implementation interpolates it directly."
      }
    ],
    "medium_findings": [
      {
        "title": "Ruby/shell backtick execution",
        "description": "**Zero-dependency flow activation (when Resend is the ESP)**: once a flow step's creative is approve",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 52,
            "line_end": 52
          }
        ],
        "review_kind": "capability",
        "source_category": "external_commands",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The skill directs a shell invocation whose segment identifier and message fields are placeholders for user-controlled values. It provides no safe argument construction or validation guidance, creating a command-injection risk when copied into a shell."
      }
    ],
    "low_findings": [],
    "dangerous_patterns": [],
    "files_scanned": 1,
    "total_lines": 100,
    "audit_model": "claude",
    "audited_at": "2026-07-26T10:18:29.921Z",
    "agent_auto_install_policy": "allowed",
    "manual_install_policy": "allowed"
  },
  "content": {
    "user_title": "Design a lifecycle email sequence",
    "value_statement": "Email teams often lack a clear lifecycle map and send too frequently. This skill creates flow plans with timing, exits, and safeguards before copywriting begins.",
    "seo_keywords": [
      "Claude",
      "Codex",
      "Claude Code",
      "email sequence designer",
      "lifecycle email automation",
      "welcome email flow",
      "abandoned cart sequence",
      "email cadence planning",
      "re-engagement email",
      "customer lifecycle marketing"
    ],
    "actual_capabilities": [
      "Maps welcome, cart, browse-abandon, post-purchase, re-engagement, and cold-outbound flows.",
      "Defines triggers, delays, goals, branches, and exit conditions for each flow.",
      "Sets global send caps, quiet hours, and fatigue guardrails.",
      "Creates an engagement-decay and sunset path for inactive recipients.",
      "Produces a SEND N dimension score with notes for lifecycle coverage.",
      "Prepares a handoff summary for email copywriting and quality review."
    ],
    "limitations": [
      "It does not write individual email subjects, bodies, or calls to action.",
      "It does not calculate final EQS scores or enforce unsubscribe vetoes.",
      "It requires reliable trigger and segment details for an implementation-ready plan.",
      "It does not replace legal, consent, or suppression-list review."
    ],
    "use_cases": [
      {
        "title": "Plan a welcome journey",
        "description": "Create a triggered onboarding sequence with progressive goals, timing, and exits for new subscribers.",
        "target_user": "Lifecycle marketer"
      },
      {
        "title": "Reduce abandoned-cart friction",
        "description": "Design a cart recovery flow with discount branches, purchase exits, and frequency limits.",
        "target_user": "Ecommerce manager"
      },
      {
        "title": "Control list fatigue",
        "description": "Set cadence rules, quiet hours, and sunset thresholds across overlapping campaigns.",
        "target_user": "CRM operations specialist"
      }
    ],
    "prompt_templates": [
      {
        "title": "Beginner: welcome flow",
        "prompt": "Design a three-step welcome flow for a skincare brand. The trigger is newsletter signup. Include timing, goal, and exit conditions.",
        "scenario": "Starting a basic lifecycle program"
      },
      {
        "title": "Intermediate: cart recovery",
        "prompt": "Build an abandoned-cart sequence for our online store. Use three steps over five days, an exit on purchase, and a discount branch.",
        "scenario": "Improving cart recovery"
      },
      {
        "title": "Advanced: cadence governance",
        "prompt": "Map our welcome, cart, post-purchase, and re-engagement flows. Set global caps, quiet hours, fatigue rules, and a sunset policy.",
        "scenario": "Managing overlapping flows"
      },
      {
        "title": "Expert: B2B outbound lifecycle",
        "prompt": "Design a cold-outbound sequence for mid-market IT buyers. Include reply exits, role-based branches, send windows, and a SEND N score.",
        "scenario": "Planning a B2B program"
      }
    ],
    "output_examples": [
      {
        "input": "Design a welcome flow for a subscription fitness app.",
        "output": [
          "Trigger: completed account signup.",
          "Step 1: send immediately with setup guidance; exit on first workout logged.",
          "Step 2: send after two days to inactive users with a workout recommendation.",
          "Guardrail: maximum two lifecycle emails in seven days."
        ]
      },
      {
        "input": "Create an abandoned-cart sequence with a discount branch.",
        "output": [
          "Trigger: cart inactive for one hour.",
          "Step 1: send after one hour with cart reminder; exit on purchase.",
          "Step 2: send after 24 hours; show discount only to non-purchasers.",
          "Sunset: stop after step three or an unsubscribe, bounce, or suppression event."
        ]
      }
    ],
    "best_practices": [
      "Confirm the trigger source and target segment before finalizing enrollment rules.",
      "Use explicit conversion, reply, bounce, and unsubscribe exits in every relevant flow.",
      "Apply one global send cap across flows to prevent overlapping messages."
    ],
    "anti_patterns": [
      "Do not send all recipients through the same flow without lifecycle segmentation.",
      "Do not continue a sequence after a conversion, reply, unsubscribe, or bounce.",
      "Do not treat a re-engagement branch as consent to resume mailing indefinitely."
    ],
    "faq": [
      {
        "question": "Does this skill write email copy?",
        "answer": "No. It designs the flow structure. Use an email copywriting skill for subjects, bodies, and calls to action."
      },
      {
        "question": "Can it plan an abandoned-cart campaign?",
        "answer": "Yes. It can define cart triggers, delays, purchase exits, discount branches, and frequency safeguards."
      },
      {
        "question": "Can it send emails through my provider?",
        "answer": "It can document an optional Resend activation workflow, but sending requires your confirmation and valid consent controls."
      },
      {
        "question": "What information should I provide?",
        "answer": "Provide the lifecycle goal, trigger event, target segment, current flows, and any cadence or complaint data."
      },
      {
        "question": "Does it handle unsubscribe compliance?",
        "answer": "It includes unsubscribe exits in flow design, but a separate quality or compliance review should verify implementation."
      },
      {
        "question": "Can it design win-back programs?",
        "answer": "It can add a light re-engagement branch. Closed-loop re-consent programs for lapsed cohorts are outside its scope."
      }
    ]
  },
  "file_structure": [
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 100
    }
  ]
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall