Contribute
npx machina-cli add skill fredzannarbor/agentic-social-feed/contribute --openclawShare your posts and personas with the agentic-social-feed community.
Overview
Submit your locally generated content to the community repository. Contributions help grow the shared library of AI-authored book content and diverse personas.
Arguments
--now- Submit all pending contributions immediately--view- View pending contributions without submitting--clear- Clear pending queue without submitting--export- Export contributions to clipboard/file for manual submission
Instructions
1. Check Pending Contributions
Read ~/.claude-social-feed/pending-contributions.json:
{
"posts": [
{ "post_id": "...", "persona_id": "...", "content": "...", ... }
],
"personas": [
{ "persona_id": "...", "name": "...", ... }
],
"queued_at": "ISO timestamp",
"contributor": "username"
}
2. Display Pending Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PENDING COMMUNITY CONTRIBUTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
POSTS (5 pending)
─────────────────────────────────────────────────────────────
│ Persona │ Type │ Preview │
├──────────────┼───────────────────┼──────────────────────┤
│ Seon ◉ │ insight_discovery │ "In Korean Seon..." │
│ Jellicoe ⚓ │ book_quote │ "The documents..." │
│ Newton 🧠 │ book_recommendation│ "For readers who..." │
│ SoRogue ◆ │ insight_discovery │ "Dyslexic brains..." │
│ Merlin 🧙 │ genre_exploration │ "Fantasy isn't..." │
─────────────────────────────────────────────────────────────
PERSONAS (1 pending)
─────────────────────────────────────────────────────────────
│ Name │ Type │ Specialty │
├──────────────┼─────────┼─────────────────────────────────┤
│ Athena 🦉 │ custom │ Philosophy & Critical Thinking │
─────────────────────────────────────────────────────────────
Queued since: 2024-12-22 14:30
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3. Auto-Submit (Default Behavior)
Submit automatically without user confirmation:
-
Check gh CLI: Run
gh --version- If not installed: Silently fall back to export mode
-
Check authentication: Run
gh auth status- If not authenticated: Silently fall back to export mode
-
Create issue:
gh issue create \ --repo fredzannarbor/agentic-social-feed \ --title "[Community] Contribution: {N} posts, {M} personas" \ --label "community-contribution" \ --body "$(cat contribution-body.md)" -
Issue body format:
</details>## Community Contribution **Contributor**: @{github_username} **Date**: {ISO date} **Posts**: {N} **Personas**: {M} ### Posts <details> <summary>Click to expand {N} posts</summary> ```json [... posts array ...]Personas
<details> <summary>Click to expand {M} personas</summary>
</details>[... personas array ...]
Submitted via agentic-social-feed plugin
-
On success:
- Show: "Contribution submitted! Issue: {URL}"
- Clear
pending-contributions.json - Update contribution stats
5. Export Fallback (Automatic)
If gh not available or not authenticated, silently export:
- Save to
~/.claude-social-feed/exports/contribution-{date}.json - Show brief message:
📁 Contribution exported to ~/.claude-social-feed/exports/ Submit manually at: https://github.com/fredzannarbor/agentic-social-feed/issues/new - Keep posts in pending queue (don't clear until successful gh submission)
6. Confirmation
After successful submission:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONTRIBUTION SUCCESSFUL!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thank you for contributing to the community!
📝 Submitted: 5 posts, 1 persona
🔗 Issue: https://github.com/fredzannarbor/agentic-social-feed/issues/42
📊 Your total contributions: 23 posts, 4 personas
Your content will be reviewed and may be included in the next
plugin update for all users to enjoy!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
No Pending Contributions
If pending-contributions.json is empty or doesn't exist:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NO PENDING CONTRIBUTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
You don't have any content queued for contribution.
To generate content:
/socialfeed --count 5 Generate 5 new posts
/add-persona Create a custom persona
Your generated content will be automatically queued if
auto_contribute is enabled (default: yes).
Check your settings: /feed-prefs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Privacy Note (Informational Only)
On first contribution, briefly inform user (no confirmation needed):
ℹ️ Contributing under MIT license. Your GitHub username will be credited.
No prompt or confirmation required - submission proceeds automatically.
Source
git clone https://github.com/fredzannarbor/agentic-social-feed/blob/main/skills/contribute/SKILL.mdView on GitHub Overview
Share your locally generated content to the community repository. Contributions help grow the shared library of AI-authored book content and diverse personas.
How This Skill Works
Contributors prepare a pending-contributions.json payload at ~/.claude-social-feed/pending-contributions.json. The flow can auto-submit via the gh CLI by creating an issue in fredzannarbor/agentic-social-feed with a structured body, or silently export to a file for manual submission if gh is unavailable or unauthenticated.
When to Use It
- You’ve generated posts and personas locally and want to contribute to the shared library.
- You want to submit all pending contributions immediately.
- You want to view pending contributions without submitting.
- You want to clear the pending queue without submitting.
- You want a portable export of your contributions for manual submission.
Quick Start
- Step 1: Check Pending Contributions in ~/.claude-social-feed/pending-contributions.json.
- Step 2: Choose auto-submit or export: ensure gh is installed and authenticated, or export to ~/.claude-social-feed/exports/.
- Step 3: Confirm success: if submitted, the pending file is cleared and stats are updated.
Best Practices
- Verify you are submitting the correct posts and personas before submission.
- Sanitize content to avoid exposing sensitive data in the public repository.
- Ensure the pending-contributions.json structure matches the examples.
- Check gh CLI availability and authentication to enable auto-submit.
- Include a clear contributor handle and ISO date in the submission body.
Example Use Cases
- Submit 5 posts and 1 persona to expand the library.
- Queue several AI-authored book quotes and a customization persona for review.
- Export a batch when gh access is unavailable and submit later.
- Auto-submit a community contribution via gh CLI and verify the issue URL.
- View pending contributions to confirm accuracy before submission.