Skip to content
Back to skills

Promotion Assistant

ASecurity

Automate multi-channel product promotion (email/posts/forum/DM), track conversion funnel, self-tune via feedback.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 2, 2026
ai-agentspythongosqldebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add DaizeDong/promotion-assistant --skill promotion-assistant --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Promotion Assistant?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Promotion Assistant
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/daizedong-promotion-assistant/badge)](https://www.skillsdirectory.com/skills/daizedong-promotion-assistant)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: promotion-assistant
description: Automate multi-channel product promotion (email/posts/forum/DM), track conversion funnel, self-tune via feedback.
---

# promotion-assistant

The public skill owns the channel matrix, six-layer funnel, selection and compliance logic.
Product limits, audiences, copy and credentials belong in the selected PRIVATE companion.
Live promotional dispatch requires product live mode and per-channel authorization.

## Why It Is Built This Way

The reasons behind the hard rules below, and the alternatives they reject, are in
[PHILOSOPHY.md](../../PHILOSOPHY.md). Read it before changing a rule, and change both together.

## When to Use and When to Stop

- **Use** when promoting a *shipped* product across many channels with quantified feedback: bulk
  email + multi-platform posting (覆盖式) and forum replies + DMs (精准式), with daily multi-account
  upkeep, funnel attribution, and self-evolving tactics.
- **Route elsewhere:** use the host's single-post workflow for a one-off post within the user's authorization. Pure market/competitor research
  → `market-intel`. Scheduling/reminders themselves → this skill *delegates* to the
  `schedule-reminder` base (it does not reimplement scheduling).

## Architecture (Six Layers, Two Repos)

| layer | job | shard |
|---|---|---|
| L0 config/creds | locate per-product config and PRIVATE credentials (`PROMOTION_ASSISTANT_CONFIG`); setup, switching; companion storage and retention | `../../CONFIG.md`, `../../DATA.md` |
| L1 orchestration | plan→`schedule-reminder`; run `--once` or `--cycles N`; alerts→Discord relay | `reference/integration.md` |
| L2 channels | one provider/platform (`publish/engage/dm/read_metrics`) | `reference/channels.md` |
| L3 compliance/throttle | fail-closed gate + token-bucket+AIMD + warmup + the dry-run exit | `reference/compliance.md` |
| L4 metrics | six-layer funnel + UTM/ref attribution + shadowban probe | `reference/metrics.md` |
| L5 decision | Thompson-Sampling bandit (discounted, non-stationary) | `reference/bandit.md` |
| runs | reviewed runs, resume, owned-account identity, manual prep | `reference/runs.md` |

Load `reference/email-helper-contract.md` when setting up or debugging the email channel, and
`reference/participation.md` before any `participate` command.

Two repos: this **public, product-agnostic** skill (no copy, no creds) + one **private per-product
config** repo. Everything product-specific is config.

## Three Modules

1. **覆盖式 (blast)**, bulk email (deliverability = pool + warmup + SPF/DKIM/DMARC, click/reply/conv
   not opens) and multi-platform posting graded by ban-risk (own Discord/Mastodon/Bluesky first).
2. **精准式 (precision)**, forum replies + DMs on an *activity-DNA behavioral baseline* (relative to
   the account's own history, not absolute volume); Discord/Telegram only via official bot + own
   channels (selfbot/stranger auto-DM = instant ban).
3. **指标闭环 (metrics loop)**, six-layer funnel + attribution feed a reward (ban/spam/unsub are
   STRONG NEGATIVE), the bandit picks the next arm; the loop is what "self-tune via feedback" means.

**Participation copilot (`participate`)**: for communities that shadowban newcomers (e.g. a
subreddit megathread), a compliant human-in-the-loop path. Invariant: *a human is always the
publisher and endorser; the tool augments genuine participation but never fakes it and never evades
a platform's safety systems.* It discovers threads the operator's real expertise fits (read-only:
official OAuth or `site:reddit.com` search, never scraping), drafts a genuine reply grounded in
that expertise (draft-only; warming = pure help, zero link; graduated = 90/10 with a "Full
disclosure" line), tracks a give-before-ask (9:1) ledger + verifiable graduation criteria, and
attributes the operator's own hand-posted contributions. NO egress path exists (mirrors
ManualPrepProvider). Deliberately drops the anti-detection warmup/fingerprint/proxy machinery; the
only pacing is courtesy, never classifier evasion. `reference/participation.md` for the full model.

## CLI

Read [CONFIG.md](../../CONFIG.md) before creating, changing or migrating a companion: every setting
is declared in `config.schema.json`, and `scripts/config_cli.py` (`where`, `init`, `set`, `unset`,
`show`, `doctor`, `migrate`) is the only way to change it from the command line. Before writing
copy, read the companion's drafting brief (asset `brief` in CONFIG.md) when it exists: the
owner's positioning, personas and channel notes. Before dispatch, run doctor against the selected root; credentials are declared
secrets bound in its `secrets/providers.env` as cv:// references resolved at dispatch, and READY covers local
configuration and resources, not live delivery. Run the following commands from
`skills/promotion-assistant`.

```
python scripts/cli.py init                       # locate/verify the product config repo
python scripts/cli.py channels list              # registered channels + which have a live transport
python scripts/cli.py apply                       # validate selected-root runtime resources; no global mutation
python scripts/cli.py plan --campaign <C>         # content calendar -> schedule-reminder
python scripts/cli.py run  --campaign <C> --once  # gated dispatch (DRY-RUN by default)
python scripts/cli.py prep --campaign <C> [--channel X]   # manual-prep: human-postable copy+checklist
python scripts/cli.py participate discover --sub <S>      # find relevant source threads
python scripts/cli.py participate draft --url <source-thread> --title .. --body ..
python scripts/cli.py participate status --sub <community> --age-days N --karma N  # review participation readiness
python scripts/cli.py participate record --url <comment-permalink> --thread <source-thread> --type give|ask [--draft-id <draft-id>]
python scripts/cli.py authorize --channel <X>     # the exact per-channel live-unlock steps
python scripts/cli.py report --funnel             # funnel
python scripts/cli.py report --bandit             # arm convergence
python scripts/cli.py doctor                       # health / compliance / dry-run self-check
```

Use `--draft-id` when recording a post based on a generated draft; use its printed event ID.
The source thread and final `give` or `ask` type are required for every participation record.

## Hard Rules (Never Violate)

1. **dry-run is the default.** Every real send/post/DM goes through the single `dispatch()` exit,
   which fail-closed asserts product `send_mode=="live"` **and** env
   `PROMO_LIVE_AUTHORIZED_<CHANNEL>`. Missing either → it simulates (full pipeline, `simulated`
   event + a `data/previews/` lane record, zero egress). Build/test never sends to real audiences.
2. **Compliance fail-closed.** No physical address / no unsubscribe / suppressed recipient / EU
   recipient without a lawful basis → the send is rejected, not warned. CAN-SPAM + GDPR are gates.
3. **Throttle + humanize.** token-bucket + AIMD (429 → halve + cooldown), warmup state machine (no
   level-skipping), lognormal jitter. Random delay alone is NOT safety. The engine does not vary
   copy per account; give each account its own arm rather than reusing identical copy.
4. **Private storage.** Real copy, audiences, consent and runtime DATA are versioned in the
   PRIVATE companion. Credential values stay in the external credential vault and are never
   versioned anywhere; the companion's `secrets/providers.env` names them by `cv://` reference; see
   [CONFIG.md](../../CONFIG.md#secrets). No real values belong in this public skill tree.
5. **Don't reimplement the base.** Scheduling → `schedule-reminder` CLI only (never its .db/SQL);
   alerts → the configured Discord relay; email → the configured `reviewed-email-v1` helper.
6. **Failure = explicit gap.** A channel with no compliant automated transport is registered as a
   `deferred-gap`, never silently dropped.
7. **Review and resume.** `run --run-id ID` freezes full per-destination payloads; `run --run-id ID
   --resume` uses that saved set and rechecks consent/suppression. Completed items never repeat.
   Uncertain provider outcomes require reconciliation proof before retry; see [runs.md](reference/runs.md).

## Progressive Loading

This `SKILL.md` is the only always-loaded file. Read the shard a layer names on demand, one at a time.

Files in this skill

  • SKILL.md6.7 KB
  • reference/bandit.md1.7 KB
  • reference/channels.md2.4 KB
  • reference/compliance.md1.9 KB
  • reference/config-schema.md2 KB
  • reference/integration.md1.8 KB
  • reference/metrics.md1.7 KB
  • reference/participation.md4.9 KB
  • scripts/__init__.py312 B
  • scripts/alert.py2 KB
  • scripts/bandit.py4.6 KB
  • scripts/cli.py21.9 KB
  • scripts/compliance.py8.8 KB
  • scripts/config.py5.7 KB
  • scripts/content.py6.3 KB
  • scripts/ctxbandit.py6.8 KB
  • scripts/delayed.py8.8 KB
  • scripts/deliverability.py7.1 KB
  • scripts/dispatch.py7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.