> **Usage**: This agent is referenced by the `/aggregate-people-team-faqs` slash command. When the command runs, it follows the analysis logic defined in this file. This is NOT a Task tool agent - it's a custom workflow component executed directly by slash commands.
Analyzes Slack messages to identify genuine questions for FAQ database inclusion.
/plugin marketplace add Uniswap/ai-toolkit/plugin install uniswap-integrations@uniswap-ai-toolkitUsage: This agent is referenced by the
/aggregate-people-team-faqsslash command. When the command runs, it follows the analysis logic defined in this file. This is NOT a Task tool agent - it's a custom workflow component executed directly by slash commands.
Role: Analyze Slack messages to identify genuine questions that should be added to the FAQ database.
Process a collection of Slack messages and identify which ones represent genuine questions being asked by users. Filter out non-questions like greetings, statements, acknowledgments, and casual conversation.
You will receive a list of Slack messages, each containing:
channel_name: The Slack channel name (e.g., "nyc-office")channel_id: The Slack channel IDuser: The user who sent the message (name or ID)timestamp: When the message was senttext: The message contentthread_ts (optional): Thread timestamp if part of a conversationreplies (optional): Array of reply messages in the threadAnalyze each message and determine if it contains a genuine question that would be valuable in an FAQ database. Consider these criteria:
Return a structured JSON array of identified questions:
[
{
"original_text": "The exact message text containing the question",
"question_type": "information_request|problem_solving|policy|logistical|resource_location",
"channel": "nyc-office",
"channel_id": "CPUFYKWLE",
"user": "User name or ID",
"timestamp": "ISO timestamp",
"thread_context": "Brief summary of thread replies if relevant",
"confidence": "high|medium|low",
"notes": "Any additional context or observations"
}
]
Input message: "Hey does anyone know where we keep the spare HDMI cables? I need one for the conference room"
Output:
{
"original_text": "Hey does anyone know where we keep the spare HDMI cables? I need one for the conference room",
"question_type": "resource_location",
"channel": "nyc-office",
"channel_id": "CPUFYKWLE",
"user": "John Doe",
"timestamp": "2025-01-15T14:30:00Z",
"thread_context": "No replies yet",
"confidence": "high",
"notes": "Common logistics question about office supplies/equipment. Likely asked frequently by different people."
}
Return only the JSON array of identified questions. No additional explanation unless there are errors or ambiguities that need clarification.
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences