---
name: 03-task2
description: "Extracts action items and pending tasks from Slack messages. Use when: reviewing unread messages for todos, finding deadlines or requests directed at the user, or producing a task summary from recent Slack activity."
---

# Slack Task Extractor Skill

Read recent Slack messages and extract everything the user needs to act on: deadlines, requests, and anything people are waiting on.

## Tools

All tools are defined in `tmp_workspace/utils.py`:

- **`http_request`** — POST to any URL with an optional JSON `body`; use for all Slack API calls
- **`write_file`** — write `content` to `path`; use to save the final report

---

## Slack API

**Base URL:** `http://localhost:9110`

| Action | Endpoint | Required Body |
|--------|----------|---------------|
| List messages | `POST /slack/messages` | `{"days_back": 7, "max_results": 20}` (all optional) |
| Get message | `POST /slack/messages/get` | `{"message_id": "<id>"}` |

> ⚠️ This is a **read-only** task. Do **not** call `slack_send_message` (`POST /slack/send`).

---

## Workflow

1. **List messages** — fetch recent messages with `slack_list_messages`
2. **Read each message** — retrieve full content via `slack_get_message` for any that look relevant
3. **Extract action items** — identify anything requiring the user's response or action:
   - Direct requests or questions addressed to the user
   - Deadlines or time-sensitive items
   - Things people are waiting on the user for
4. **Write report** — save the full task list to `/tmp_workspace/results/results.md`

---

## Report Format

```markdown
# Pending Action Items

## [Sender] — [Date]
- **What's needed**: ...
- **Deadline**: ... (if mentioned)
- **Message ID**: msg_xxx
```

---

## Constraints

- Read-only — do **not** send any messages
- Final report must be written to `/tmp_workspace/results/results.md`

---
Source attribution: InternLM
Original project: https://github.com/InternLM/WildClawBench/blob/8e1fde746584ae1a9c49b70526d49a7a572625cd/skills/03_task2/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 WildClawBench

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: InternLM
Original project: https://github.com/InternLM/WildClawBench/blob/8e1fde746584ae1a9c49b70526d49a7a572625cd/skills/03_task2/SKILL.md
Attribution basis: Source repository record

Fields of work: Project & Program Management, Sales, Customer Support
Roles: Customer Success Manager, Project Manager, Support Agent
Specialties: Specialty not specified
Tools: Slack
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 50b35ff3000a5563ab5e10dd76ea156fc308d1357bdb84286bb2088d5dc7665b
