一键导入
late-common
Core Late.dev CLI conventions, authentication, error handling, and rate limiting for all social media operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Core Late.dev CLI conventions, authentication, error handling, and rate limiting for all social media operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Researches individual competitors via web search to gather pricing, features, positioning, and reviews. Activates when the user wants to research a competitor, gather intel on a company, or asks 'what does [company] offer?' Covers multi-source intelligence gathering across official sites, review platforms, and community discussions.
Synthesizes competitive research into strategic insights, SWOT analyses, and positioning recommendations. Activates when the user wants a competitive analysis, market positioning review, competitor comparison matrix, or asks 'how do we stack up against the competition?' Identifies market gaps and strategic opportunities.
Extracts structured terms from legal contracts across 7 categories (Payment, Duration, IP, Confidentiality, Liability, Termination, Warranty). Activates when the user has a contract to analyze, wants to extract terms, review an agreement, or asks 'what does this contract say?' Supports PDF, DOCX, MD, and TXT formats with auto contract-type detection.
Evaluates contracts for harmful, unusual, or one-sided clauses using Red/Yellow/Green risk classification. Activates when the user wants to find contract red flags, assess legal risks, check for unfair terms, or asks 'is this contract safe to sign?' Provides plain-English explanations and concrete mitigation suggestions for freelancers and agency founders.
Creates and manages activity records in the CRM Communications database with AI-generated summaries. Activates when the user wants to log an email or meeting to CRM, record a client interaction, or asks 'save this to the client record.' Handles idempotent operations, deduplication, and AI summarization.
Matches email addresses and meeting attendees to CRM contacts using progressive matching. Activates when the user needs to identify which client an email belongs to, resolve a contact, or look up a client from an email address. Uses a 5-step algorithm from exact email match to fuzzy name matching with confidence scoring.
| name | late-common |
| description | Core Late.dev CLI conventions, authentication, error handling, and rate limiting for all social media operations |
All Late.dev operations go through scripts/late-tool.mjs. Never call the Late.dev API directly.
node ../../../../.founderOS/scripts/late-tool.mjs <command> <subcommand> [options]
LATE_API_KEY environment variable or .env filesk_ prefix + 64 hex characters_infrastructure/auth/resolve-env.mjs (walks up 5 directories)sk_****...last4Before any Late.dev operation, verify auth:
node ../../../../.founderOS/scripts/late-tool.mjs --validate-only
If this fails with LATE_AUTH_FAILED, halt immediately with fix instructions:
export LATE_API_KEY="sk_your_key_here"| Code | Meaning | Retry? |
|---|---|---|
LATE_AUTH_FAILED | Invalid/missing API key | NO |
LATE_RATE_LIMIT | 429 rate limit | YES (auto, 3x) |
LATE_PLATFORM_ERROR | Platform publish failure | NO |
LATE_MEDIA_ERROR | Media upload/validation failure | NO |
LATE_NOT_FOUND | Resource not found | NO |
LATE_NETWORK_ERROR | Connection failure | YES (auto, 3x) |
LATE_SERVER_ERROR | 5xx server error | YES (auto, 3x) |
social:status --failed| Plan | Limit |
|---|---|
| Free | 60 req/min |
| Build | 120 req/min |
| Accelerate | 300 req/min |
Insert 100ms delay between rapid sequential calls. CLI handles 429 backoff automatically.
All CLI subcommands output JSON. Parse with JSON.parse() in commands. All output goes to stdout; errors to stderr.
If Late.dev is unavailable, set status: "unavailable" and surface to user. Never silently fail on write operations.