Platform Friend & Messaging System

Manage friendships and WebSocket-based private messaging with privacy controls.

4|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/aaaa47080/stock_agent --skill platform-friend-messaging-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Platform Friend & Messaging System
Source: https://github.com/aaaa47080/stock_agent/tree/main/.agent/skills/platform-friend-system
Command: npx skills add https://github.com/aaaa47080/stock_agent --skill platform-friend-messaging-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This system handles user-to-user social interactions, including friend management (add/accept/block) and real-time private messaging (DM) via WebSockets.

Core Features & Use Cases

  • Friend management: send/accept/block requests; create and manage friendships; privacy controls.
  • Real-time messaging: private DMs via WebSockets with live updates and read receipts.
  • Privacy & moderation: block users, visibility controls, and safe defaults for users.

Quick Start

Log in to your account, open the Friends UI, and send a friend request to another user to begin messaging.

Frequently Asked Questions about Platform Friend & Messaging System

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

FAQPage Schema
How do I implement real-time direct messaging with WebSockets for a social platform?

The system handles friend management by providing backend API endpoints to send, accept, or block friend requests, supported by database schemas for friendships and cohesive frontend UI workflows for user interaction.

Can I block users and control privacy settings within a real-time messaging backend?

Yes, privacy control is supported through block user functionality, visibility controls, and safe defaults integrated across both backend API endpoints and frontend components to ensure secure user-to-user social interactions.

What's the best way to structure backend API endpoints for friend management and private messaging?

Structuring backend API endpoints involves separating friend management and private messaging into distinct routers, such as friends.py and messages.py, supported by database schemas for friendships and messages, alongside WebSocket communications for real-time delivery.

Does this friend and messaging system include frontend UI components or is it backend only?

The system includes both backend API endpoints and a cohesive frontend UI workflow, covering onboarding flows, friend requests, and private messaging to provide a complete user social platform experience.

How do WebSocket read receipts work in a direct messaging system?

WebSocket read receipts in direct messaging work by sending live updates over a persistent connection, allowing the backend to track when private messages are viewed and relay that status back to the sender in real time.