lycfyi/community-agent-plugin
Overview
This skill initializes and saves Discord configuration so your agent can access and sync server messages. It connects with your Discord user token, detects available servers, and writes the chosen server settings into a local agents configuration file. Use it as the first setup step before running message sync or analysis tools.
How this skill works
The skill reads your DISCORD_USER_TOKEN from a local .env file and uses it to list servers you can access. It auto-selects a single server or picks the first available server (unless you pass a specific server ID). Finally, it writes the server ID, server name, data directory, and retention settings into ./config/agents.yaml for downstream tools to use.
When to use it
- Setting up Discord access for the first time
- Connecting or re-connecting a Discord account to the agent
- Preparing a server before running message sync or analysis
- When ./config/agents.yaml is missing or needs updating
- Switching the default server for sync operations
Best practices
- Store DISCORD_USER_TOKEN in a secure .env file in your working directory
- Run the init tool from the project root so relative paths like ./config resolve correctly
- Specify --server SERVER_ID to force a particular server when you have access to multiple servers
- Verify ./config/agents.yaml after init to confirm data_dir and retention settings
- Back up existing config before re-running init if you have custom changes
Example use cases
- First-time setup: initialize Discord settings before running discord-sync
- Recovering access: reconfigure if tokens or servers have changed
- CI or automation: script initialization in deployment workflows with --server to select a known server
- Multiple servers: quickly switch the default server ID used by sync and analysis tools
- Preparing data collection: set data_dir and retention to control where and how much message history is stored
FAQ
Place a .env file in the current working directory with DISCORD_USER_TOKEN set to your user token.
How do I select a specific server?
Run the init tool with --server SERVER_ID to force the chosen server instead of auto-selection.
9 skills
This skill initializes Discord configuration by connecting your token, selecting a server, and saving settings to agents.yaml for first-time setup.
This skill helps you read and search synced Telegram messages, enabling quick access to conversations and targeted keyword discovery.
This skill reads and searches synced Discord messages, helping you view recent conversations and locate specific content quickly.
This skill diagnoses Telegram configuration and connectivity issues, guiding you to fix Telegram sync, authentication, and group setup problems.
This skill initializes Telegram connection, validates credentials, lists groups, and configures a default channel for seamless messaging sync.
This skill sends messages to Discord channels using a user token to post, reply, or respond to conversations.
This skill generates a comprehensive Discord health report, highlighting activity, engagement, and recommendations to improve community health and engagement.
This skill summarizes synced Discord chats across servers, delivering a concise, persona-informed digest with period coverage and highlights.
This skill shows a unified status across configured community platforms, including setup, sync status, and file locations.