What the Content Collector Does
The Content Collector skill automatically extracts links from chat messages and saves them to a Feishu knowledge base or spreadsheet. Use it when:
- Teams share articles, docs, and resources in group chats
- You want a searchable archive without manual copy-paste
- You need a central link library for onboarding or research
Prerequisites
Before configuring the skill:
- OpenClaw installed and connected to Feishu
- A Feishu knowledge base or spreadsheet as the target
- Bot permissions to read messages and write to the target drive
Run a quick health check:
openclaw doctor
openclaw gateway status
Step 1: Install the Skill
openclaw skills install @clawhub/content-collector
Verify it appears in your skill list:
openclaw skills list
You should see @clawhub/content-collector with a version number.
Step 2: Create the Target in Feishu
Create either:
- Knowledge base: Feishu Docs → New → Knowledge base. Note the root node token.
- Spreadsheet: Feishu Sheets → New sheet. Note the spreadsheet token and sheet ID.
The bot must have edit access to the folder or drive containing the target. Share the folder with the app or grant drive permissions via the Feishu admin console.
Step 3: Configure the Skill
Create a config file for the Content Collector:
# content-collector-config.yaml
content_collector:
target_type: knowledge_base # or spreadsheet
target_id: <your-knowledge-base-node-token>
# For spreadsheet:
# target_type: spreadsheet
# spreadsheet_token: <token>
# sheet_id: <sheet-id>
# Optional: filter which links to collect
allowed_domains:
- github.com
- docs.openclaw.ai
- medium.com
# Leave empty to collect all links
# Optional: deduplicate by URL
deduplicate: true
Replace <your-knowledge-base-node-token> with the actual token from Feishu. You can find it in the knowledge base URL or via the Feishu API.
Step 4: Permission Requirements
The Feishu app used by OpenClaw needs:
| Permission | Purpose |
|---|---|
im:message | Read messages from groups |
im:message.group_at_msg | React when @mentioned |
doc:doc | Create or update docs in knowledge base |
doc:sheet | Write to spreadsheet (if using sheet target) |
drive:drive | Access shared drive / folder |
Check current scopes:
openclaw channels list
If permissions are missing, re-add the Feishu channel with the correct scopes:
openclaw channels add feishu --scope im:message,im:message.group_at_msg,doc:doc,drive:drive
Step 5: Test the Setup
- Add the OpenClaw bot to a Feishu group
- Send a test message with a link:
Check this out https://docs.openclaw.ai - @mention the bot if required by your trigger config
- Verify the link appears in the knowledge base or spreadsheet
If nothing is collected, check:
- Bot is in the group and can read messages
- Target ID and tokens are correct
- Drive/folder is shared with the app
- Skill is enabled:
openclaw skills listshows it as installed
Common Errors
| Error | Fix |
|---|---|
Permission denied / 403 when writing to doc | Add required scopes in Feishu developer console, re-run openclaw channels add feishu |
| Links not saved or wrong location | Ensure target_id / spreadsheet_token refer to a drive the app can access; same tenant as bot |
| Bot ignores messages with links | Confirm bot is @mentioned or group-based trigger is configured |
| Duplicate entries | Enable deduplicate: true in config |
Next Steps
After the Content Collector is working:
- Add more groups to the collection scope
- Refine
allowed_domainsto filter noise - Optional: add a weekly summary job that summarizes collected links
For Feishu initialization details, see How to Initialize OpenClaw in Feishu.