Quick Start¶
This guide gets you from zero to your first auto-generated social post in under 5 minutes.
1. Install¶
2. Quickstart¶
This single command handles everything:
- Prompts for your Anthropic API key (or pass
--key sk-ant-...to skip the prompt) - Registers the current repo as a project
- Installs the git post-commit hook
- Runs AI-powered project discovery
- Generates an introductory draft based on what it learned about your project
To also evaluate recent commits:
3. Review your first draft¶
The quickstart generates a preview draft (not tied to any platform). To promote it to a real platform:
4. Set your voice¶
Create .social-hook/social-context.md in your project (or ~/.social-hook/social-context.md for global defaults). See social-context configuration for the full template.
At minimum, describe your voice:
5. Configure platforms¶
To post to real platforms, run the setup wizard:
Or configure interactively:
6. Make a commit¶
Just commit as usual. The git hook triggers automatically:
Social Hook evaluates the commit. If it's post-worthy, a draft appears:
7. Approve and post¶
# See the full draft
social-hook draft show <draft-id>
# Approve it
social-hook draft approve <draft-id>
# Or approve and schedule at optimal time
social-hook draft quick-approve <draft-id>
# Or post immediately
social-hook draft post-now <draft-id>
8. Monitor¶
What's next?¶
- Fine-tune content: Edit content-config.yaml to adjust media tools, narrative strategy, and context limits
- Manage narratives: Use
social-hook arccommands to guide storylines (learn more) - Import history: Run
social-hook project import-commitsto backfill your timeline - Understand the pipeline: Read How the Pipeline Works
- Explore the CLI: See the full CLI reference