import-posts

Import posts from JSON files or URLs into a local social feed.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/fredzannarbor/agentic-social-feed --skill import-posts-fredzannarbor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import-posts
Source: https://github.com/fredzannarbor/agentic-social-feed/tree/main/skills/import-posts
Command: npx skills add https://github.com/fredzannarbor/agentic-social-feed --skill import-posts-fredzannarbor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Moving curated social feed content between environments or seeding a new feed with existing posts requires manual copying and format checking, which is error-prone and tedious. ## Core Features & Use Cases - File and URL Import: Load posts from a local JSON file or a remote URL with merge or replace modes. - Validation and Deduplication: Checks JSON structure, required fields (post_id, persona_id, content), and skips duplicate post_ids before importing. - Unknown Persona Handling: Detects posts referencing personas not in your registry and offers to skip them or auto-create placeholder personas. - Use Case: A friend shares their exported feed file with you; run the import with --file to preview their 25 posts, confirm the personas, and merge them into your existing feed. ## Quick Start Import the posts from my shared feed file at ~/Downloads/friend-feed.json and merge them with my existing posts.

Frequently Asked Questions about import-posts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import posts from a JSON file into my feed?

Run the import command with the --file flag pointing to your JSON file, for example --file /path/to/posts.json. The tool previews the posts, validates the structure, and asks for confirmation before merging them into your feed.

What format does the import file need to be in?

The file must be valid JSON containing posts with the required fields post_id, persona_id, and content. Files missing these fields or with malformed JSON fail validation before any data is imported.

What happens when imported posts reference unknown personas?

The import detects personas not in your registry and prompts you to either skip those posts or automatically create placeholder personas. You can also cancel the import entirely at that point.

Does importing posts create duplicates in my feed?

No, the validation step checks for duplicate post_ids against your existing posts and skips them. The confirmation summary reports how many posts were imported versus skipped as duplicates.

Can I replace my entire feed instead of merging?

Yes, pass the --replace flag to overwrite all existing posts with the imported content. The default behavior without flags is --merge, which adds new posts alongside existing ones.