tiktok-marketing
VerifiedPlan, script, caption, and publish short-form video for TikTok. Use when the user wants to write the first 1-3 second hook (spoken line plus on-screen text), draft a caption under 2,200 chars with TikTok settings and hashtags, ride a trending sound without being cringe, strip AI tells from a spoken script to sound human on camera, or plan a week around completion rate. TikTok is video-only: the user supplies the video, the skills produce the script, caption, and settings, then publish via Publora.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.5 KB |
| assets/hero.png | binary | 3.9 MB |
| assets/icon.svg | other | 768 B |
| assets/social-preview.jpg | binary | 74.7 KB |
| references/algorithm-heuristics.md | markdown | 8.1 KB |
| references/hook-formulas.md | markdown | 12.1 KB |
| references/mcp-read-layer.md | markdown | 5.3 KB |
| references/untrusted-content.md | markdown | 2.9 KB |
| references/voice-profile.md | markdown | 1.6 KB |
| references/voice-rules.md | markdown | 5.8 KB |
| scripts/check_actor_inputs.py | script | 5.9 KB |
| scripts/check_frontmatter.py | script | 3.8 KB |
| scripts/check_markdown_references.py | script | 1.7 KB |
| scripts/check_mcp_mapping.pyexecutable | script | 7.1 KB |
| scripts/check_no_secrets.py | script | 4.7 KB |
| scripts/check_security_boundaries.pyexecutable | script | 3.8 KB |
| scripts/check_text_encoding.pyexecutable | script | 3.4 KB |
| scripts/check_untrusted_rule.pyexecutable | script | 3.0 KB |
| scripts/sync_codex_marketplace.py | script | 3.5 KB |
scripts/check_text_encoding.py
View on GitHub#!/usr/bin/env python3
"""Text I/O must state its encoding, so the bundle behaves the same on Windows.
Python's default text encoding is the locale's. On Linux and macOS that is
UTF-8, so a `read_text()` without `encoding=` works and nobody notices. On
Windows it is the ANSI code page, cp1252 on most installs: the same call
misreads the em dashes and curly quotes this bundle's markdown is full of, or
fails outright on a byte cp1252 does not define.
This check is static, so a Linux CI run catches a new unencoded call before a
Windows user does. Ported from the linkedin bundle, where the problem was
reported against a real Windows 11 install.
Run from the repo root:
python3 scripts/check_text_encoding.py
"""
import ast
import os
import pathlib
import sys
ROOT = pathlib.Path(__file__).resolve().parent.parent
#: Dot-directories (.git, the generated package), scratch and virtualenvs are
#: not this repo's source.
SKIP_DIRS = {"venv", "testing", "marketing", "node_modules"}
MODE_CHARS = set("rwxabt+")
def sources() -> list[pathlib.Path]:
found = []
for folder, dirs, files in os.walk(ROOT):
dirs[:] = [d for d in dirs if not d.startswith(".") and d not in SKIP_DIRS]
found += [pathlib.Path(folder, name) for name in files if name.endswith(".py")]
return sorted(found)
def unencoded_text_io(tree: ast.AST):
"""(line, call) for each text-mode open / read_text / write_text with no `encoding=`."""
for node in ast.walk(tree):
if not isinstance(node, ast.Call) or any(k.arg == "encoding" for k in node.keywords):
continue
func = node.func
name = func.attr if isinstance(func, ast.Attribute) else getattr(func, "id", None)
if name in ("read_text", "write_text"):
yield node.lineno, name
elif name == "open":
# open(path, mode) for the builtin, path.open(mode) for pathlib. An
# attribute call whose first argument is not a mode (webbrowser.open,
# Image.open) is something else and is left alone.
builtin = isinstance(func, ast.Name)
args = node.args[1:] if builtin else node.args
mode = args[0] if args else next(
(k.value for k in node.keywords if k.arg == "mode"), None)
if mode is None:
if builtin:
yield node.lineno, "open"
elif isinstance(mode, ast.Constant) and isinstance(mode.value, str) \
and set(mode.value) <= MODE_CHARS and "b" not in mode.value:
yield node.lineno, "open"
def main() -> int:
problems = []
scanned = 0
for path in sources():
try:
tree = ast.parse(path.read_text(encoding="utf-8"))
except (SyntaxError, UnicodeDecodeError) as exc:
problems.append(f"{path.relative_to(ROOT)}: will not parse: {exc}")
continue
scanned += 1
for line, call in unencoded_text_io(tree):
problems.append(
f"{path.relative_to(ROOT)}:{line}: {call}() without `encoding=`. "
f"Pass encoding=\"utf-8\"; the locale default is cp1252 on Windows.")
if problems:
print("Text I/O without an encoding:\n" + "\n".join(" " + p for p in problems))
return 1
print(f"OK: {scanned} Python files, every text-mode read and write names its encoding.")
return 0
if __name__ == "__main__":
sys.exit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |