Skip to content

lennoxsaint/Threadify-workflows / plugins/openai/skills/threadify-30-day-viral-vault

threadify-30-day-viral-vault

Verified

Plan 30 days and prepare six rights-cleared Threads posts daily while revealing only the next unresolved card. Use for a 30-Day Viral Vault or a six-post one-at-a-time daily queue.

scripts/engine/urls.mjs

View on GitHub
export function canonicalSourceUrl(value) {
  const url = new URL(value);
  if (!['http:', 'https:'].includes(url.protocol) || url.username || url.password) throw new Error('Public HTTP source URL required.');
  url.hash = '';
  for (const name of [...url.searchParams.keys()]) if (/^utm_|^(fbclid|igshid|si)$/i.test(name)) url.searchParams.delete(name);
  if (/^(www\.)?threads\.(net|com)$/.test(url.hostname)) {
    url.hostname = 'www.threads.com'; url.protocol = 'https:'; url.search = '';
    url.pathname = url.pathname.replace(/\/$/, '');
  }
  if (['youtu.be', 'www.youtu.be', 'youtube.com', 'www.youtube.com', 'm.youtube.com'].includes(url.hostname)) {
    const id = url.hostname.endsWith('youtu.be') ? url.pathname.slice(1)
      : url.searchParams.get('v') ?? url.pathname.match(/^\/(?:shorts|embed)\/([^/]+)/)?.[1];
    if (id && /^[\w-]{11}$/.test(id)) return `https://www.youtube.com/watch?v=${id}`;
  }
  url.searchParams.sort();
  return url.href;
}

export function importSourceType(url) {
  const canonical = canonicalSourceUrl(url);
  if (/^https:\/\/www\.threads\.com\/@[^/]+\/post\/[^/?]+$/.test(canonical)) return 'threads';
  if (/^https:\/\/www\.youtube\.com\/watch\?v=[\w-]{11}$/.test(canonical)) return 'youtube';
  throw new Error('Setup supports selected Threads posts and YouTube videos only.');
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall