# Setup guide — Social Post Drafting Agent

## 1. Install and configure

Install the agent and set brand and platforms.

```
pipx install social-draft-agent
social-draft-agent init --brand ./brand.yml --platforms x,linkedin,instagram
social-draft-agent doctor
```

## 2. Configure guardrails

Draft-only, no fabricated claims, and disclosures are enforced here.

```
cp .env.example .env
ANTHROPIC_API_KEY=sk-ant-...
AUTO_PUBLISH=false
NO_FABRICATED_CLAIMS=true
PROMPT_DISCLOSURES=true
```

## 3. Set brand voice & safety

Define tone, do's/don'ts, and sensitive topics.

```
# brand.yml
tone: friendly_expert
avoid: [politics, competitor_bashing, unverified_claims]
sensitive_review: [health_claims, financial_claims]
```

## 4. Draft from a brief

Generate options and review flags and disclosures.

```
social-draft-agent run --brief ./brief.txt --platform linkedin --explain
# prints draft options + claims_to_verify + sensitivity + disclosures (nothing posted)
```

## 5. Wire into your workflow

Turn briefs into draft posts for approval.

```
# brief -> draft options -> you review, add disclosures, and publish
```
