ARTICLE

How to Configure OpenClaw Content Collector

Auto-collect links from Feishu chat messages into knowledge bases and spreadsheets. Step-by-step permissions and field configuration for OpenClaw.

Content CollectorFeishu

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:

  1. OpenClaw installed and connected to Feishu
  2. A Feishu knowledge base or spreadsheet as the target
  3. 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:

PermissionPurpose
im:messageRead messages from groups
im:message.group_at_msgReact when @mentioned
doc:docCreate or update docs in knowledge base
doc:sheetWrite to spreadsheet (if using sheet target)
drive:driveAccess 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

  1. Add the OpenClaw bot to a Feishu group
  2. Send a test message with a link: Check this out https://docs.openclaw.ai
  3. @mention the bot if required by your trigger config
  4. 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 list shows it as installed

Common Errors

ErrorFix
Permission denied / 403 when writing to docAdd required scopes in Feishu developer console, re-run openclaw channels add feishu
Links not saved or wrong locationEnsure target_id / spreadsheet_token refer to a drive the app can access; same tenant as bot
Bot ignores messages with linksConfirm bot is @mentioned or group-based trigger is configured
Duplicate entriesEnable deduplicate: true in config

Next Steps

After the Content Collector is working:

  1. Add more groups to the collection scope
  2. Refine allowed_domains to filter noise
  3. Optional: add a weekly summary job that summarizes collected links

For Feishu initialization details, see How to Initialize OpenClaw in Feishu.