SocialClaw CLI
Use this skill to operate SocialClaw as an agentic control plane and produce safe social command flows.
Assume social is preinstalled, verify availability first, then route to the right domain workflow.
Core Workflow
- Validate environment before first command in a session.
- Parse intent into one primary domain.
- Start with read-only checks when state is unknown.
- Propose exact command(s) before execution.
- Apply risk gating and request confirmation for write actions.
- Execute minimal command sequence.
- Recover failures with targeted diagnostics and retry.
Validate Environment
- Run
social --version. - Run
social doctor. - If missing or outdated:
- Verify package source before installing:
https://www.npmjs.com/package/@vishalgojha/social-clihttps://github.com/vishalgojha/social-CLI
- Install or upgrade with
npm install -g @vishalgojha/social-cli. - Re-run
social --versionandsocial doctor.
- Verify package source before installing:
Domain Routing
Load only the reference file for the selected domain plus references/safety-and-risk.md.
auth,query,post,instagram:references/workflows-core.mdmarketing,whatsapp:references/workflows-marketing-whatsapp.mdops,agent,gateway,studio:references/workflows-ops-agent-gateway.md- command lookup and fallback groups:
references/command-map.md - errors and recovery:
references/troubleshooting.md
Execution Policy
- Prefer deterministic CLI commands over narration.
- Keep commands profile-aware when the user specifies a client/workspace.
- Never print full tokens or secrets in output.
- Treat unknown write impact as high-risk until proven otherwise.
- Run
social doctorfirst when configuration confidence is low.
Risk Policy
Use references/safety-and-risk.md for classification and confirmation wording.
- Read-only actions can execute immediately.
- Low and high write actions require explicit user confirmation.
- High-risk actions must include a spend or delivery warning and a rollback command when available.
Output Contract
When responding with actions:
- Show a short plan line.
- Show executable command block(s).
- State assumptions (profile, account ID, page ID, region, time window).
- Request confirmation if the action is not read-only.