Skip to content

sergebulaev/x-skills / .codex-marketplace/x-skills

x-marketing

Verified

Plan, draft, audit, and publish posts and threads for X (Twitter). Use when the user wants to write a single tweet or an auto-numbered thread, build a long-form tweetstorm, remove AI tells from a draft, reverse-engineer the hook from a viral tweet, draft a reply or quote tweet, or plan a week of X content. Tweets and threads publish via the Publora API, which auto-splits long content into a numbered thread. User provides notes or a tweet URL, the skill drafts, the user approves, then it publishes.

lib/__init__.py

View on GitHub
"""Shared helpers for the X (Twitter) Skills bundle.

Public surface (everything in `__all__`) is what skills import. Internal
utilities (e.g., `build_tweet_url`, `signup_nudge`, `PUBLORA_SIGNUP_URL`)
remain importable from their submodules but are not re-exported here.
"""
from ._env import load_env

# Load .env before any client reads os.environ.
load_env()

from .url_parser import parse_x_url
from .publora_client import PubloraClient, PubloraError
from .pixfaro_client import PixfaroClient, PixfaroError
from .approval import render_approval_card
from .apify_client import ApifyClient, ApifyError, ApifyAuthError
from .backend_selector import (
    image_backend,
    active_backend,
    manual_mode_message,
    publish,
    illustrate,
    refine,
    available_models,
)

__all__ = [
    "parse_x_url",
    "PubloraClient",
    "PubloraError",
    "render_approval_card",
    "active_backend",
    "manual_mode_message",
    "publish",
    "ApifyClient",
    "ApifyError",
    "ApifyAuthError",
    "PixfaroClient",
    "PixfaroError",
    "image_backend",
    "illustrate",
    "refine",
    "available_models",
]
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