x-agent
v0.1.0Plan and run X (Twitter) operations in three modes: (1) monitor-only intelligence, (2) draft-and-approve posting, and (3) limited automation with strict guardrails. Use when setting up X account workflows, drafting posts/replies/threads, defining safety policy, scheduling content, or reviewing perfo...
Installation
X Agent (Phased Setup)
Objective
Operate an X workflow safely across three phases, with automation disabled until explicitly enabled.
Phase 1 — Monitor-only
- Track topics, keywords, and accounts.
- Summarize notable posts and sentiment.
- Produce a daily/weekly brief:
- top signals
- opportunities
- reputational risks
- Do not post.
Phase 2 — Draft + approval
- Generate draft tweets/replies/threads from user goals.
- Enforce style rules:
- concise
- no unverifiable claims
- no legal/financial guarantees
- Present final draft with:
- risk flags
- confidence level
- suggested posting window
- Require explicit approval before publishing.
Phase 3 — Limited automation (default OFF)
Enable only after user confirmation.
Automation constraints: 1. Allowed actions only from pre-approved playbooks. 2. Hard caps: - max posts/day - max replies/hour 3. Blocked categories: - politics (unless explicitly allowed) - legal/medical/financial advice language 4. Quiet hours and cooldowns required. 5. Global kill switch required.
Required Guardrails
Always define these before posting access: 1. Account scope: monitor | draft+approve | limited-auto 2. Max daily posts 3. Max hourly replies 4. Quiet hours (timezone) 5. Banned topics/phrases 6. Kill switch command and owner
Starter Playbooks
- News reaction post (single tweet)
- Research summary thread (3–5 posts)
- Reply triage (approve queue)
- Daily recap post
Rollout Checklist
- Create or choose X account.
- Configure API credentials in local environment (never in chat).
- Start in monitor-only for 3–7 days.
- Move to draft+approve for 1–2 weeks.
- Enable limited automation for one playbook only.
- Review weekly and adjust limits.
Output Formats
Monitor brief
- What happened
- Why it matters
- Suggested response
Draft package
- Draft text
- Variant A/B
- Risk flags
- Recommended time
Automation report
- Actions executed
- Actions skipped (and why)
- Rate limit usage
- Any policy violations blocked