facebook-marketing
VerifiedPlan, draft, audit, and publish posts for a Facebook Page. Use when the user wants to write a short punchy Page post or a longer story post, remove AI tells from a draft, reverse-engineer the hook from a high-share Page post, draft replies to comments on their Page, or plan a week of Facebook Page content. Page posts publish via the Publora API. User provides notes or a Facebook Page post URL, the skill drafts, the user approves, then it publishes.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 8.0 KB |
| assets/hero.png | binary | 3.9 MB |
| assets/icon.svg | other | 768 B |
| assets/social-preview.jpg | binary | 59.5 KB |
| references/algorithm-heuristics.md | markdown | 8.3 KB |
| references/hook-formulas.md | markdown | 11.4 KB |
| references/mcp-read-layer.md | markdown | 5.4 KB |
| references/story-bank.md | markdown | 3.9 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.1 KB |
| scripts/sync_codex_marketplace.py | script | 3.5 KB |
scripts/check_untrusted_rule.py
View on GitHub#!/usr/bin/env python3
"""Every skill that reads text a stranger wrote must carry the untrusted rule.
The read layer, and the user pasting someone else's post, both hand the model
text the user did not write, and the same agent can publish to their account.
The data-is-not-instructions rule has to travel with the skills that do the
reading, not live only in a reference nobody is pointed at.
Two triggers, because the two kinds of reading look different in the document:
* **REQUIRED** names the skills whose input is somebody else's content, pasted
or fetched. Removing the section from one of these fails the check.
* **READ_CALLS** catches a skill that starts calling the read layer without
anyone remembering to add the section.
Run from the repo root:
python3 scripts/check_untrusted_rule.py
"""
import pathlib
import re
import sys
ROOT = pathlib.Path(__file__).resolve().parent.parent
SKILLS = sorted(d for d in (ROOT / "skills").iterdir() if (d / "SKILL.md").is_file())
CANONICAL = ROOT / "references" / "untrusted-content.md"
SECTION = re.compile(r"^## Untrusted content\s*$", re.M)
CITES = "references/untrusted-content.md"
#: Skills whose input is content somebody else wrote.
REQUIRED = {
"fb-audience-insights",
"fb-hook-extractor",
"fb-engagement-drafter",
}
#: Calls that return text somebody else wrote.
READ_CALLS = re.compile(r"fetch_page_stats|fetch_post_commenters")
def main() -> int:
problems = []
if not CANONICAL.is_file():
problems.append(
f"{CANONICAL.relative_to(ROOT)} is missing. Every skill that reads "
f"other people's text points at it.")
names = {s.name for s in SKILLS}
for gone in sorted(REQUIRED - names):
problems.append(
f"REQUIRED lists {gone}, which is not a skill in this bundle. A rename "
f"has to update this check too.")
for skill in SKILLS:
text = (skill / "SKILL.md").read_text(encoding="utf-8")
has = bool(SECTION.search(text))
if skill.name in REQUIRED and not has:
problems.append(
f"skills/{skill.name}/SKILL.md reads content somebody else wrote and "
f"has no `## Untrusted content` section. The rule has to be in front "
f"of the text, not only in references/.")
elif READ_CALLS.search(text) and not has:
problems.append(
f"skills/{skill.name}/SKILL.md names a read-layer call but has no "
f"`## Untrusted content` section. Add the section, and add the skill "
f"to REQUIRED in this script.")
if has and CITES not in text:
problems.append(
f"skills/{skill.name}/SKILL.md has the section but never cites "
f"{CITES}, so the full rule is unreachable from it.")
if problems:
print("Untrusted-content rule:\n" + "\n".join(" " + p for p in problems))
return 1
print(f"OK: {len(REQUIRED)} skills read other people's text and all of them "
f"carry the untrusted-content rule.")
return 0
if __name__ == "__main__":
sys.exit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 472k | Updated | Claude CodeCodex | Verified | Install |
| 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: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |