Skip to content

Add slack-extended skill: file uploads, canvases, and bookmarks#93

Closed
jilycn wants to merge 1 commit intoopenclaw:mainfrom
jilycn:feat/slack-extended-bookmarks
Closed

Add slack-extended skill: file uploads, canvases, and bookmarks#93
jilycn wants to merge 1 commit intoopenclaw:mainfrom
jilycn:feat/slack-extended-bookmarks

Conversation

@jilycn
Copy link

@jilycn jilycn commented Feb 22, 2026

Summary

  • Adds a community slack-extended skill that complements the core Slack skill
  • File uploads via Slack's v2 upload API (files.getUploadURLExternal + files.completeUploadExternal)
  • Canvas management — create, edit (append/replace/delete sections), delete, set access
  • Bookmark management — add, list, edit, remove link bookmarks in channel bookmark bars

Details

  • All scripts are Python 3 with zero external dependencies (stdlib urllib + json only)
  • Bot token is read from ~/.openclaw/openclaw.json automatically
  • Required Slack OAuth scopes: files:write, canvases:write, bookmarks:write, bookmarks:read
  • Documents that Slack API does not support folder bookmarks (UI-only feature)

Test plan

  • Tested slack_bookmark.py list against a live Slack channel — returns {"ok": true, "bookmarks": []}
  • Tested slack_file_upload.py and slack_canvas.py in production OpenClaw deployment
  • Reviewers can verify scripts against Slack API docs

🤖 Generated with Claude Code

Adds a community skill that extends the core Slack skill with:
- File uploads via Slack's v2 upload API
- Canvas management (create, edit, delete, access control)
- Bookmark management (add, list, edit, remove link bookmarks)

All scripts use Python 3 with no external dependencies (stdlib only)
and read the bot token from ~/.openclaw/openclaw.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openclaw-barnacle
Copy link

Thanks for the pull request! This repository is read-only and is automatically synced from https://clawhub.ai, so we can’t accept changes here. Please make updates on the website instead.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d787bb3d96

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

python3 scripts/slack_canvas.py access \
--canvas-id F07ABCD1234 \
--channel C123ABC \
--level edit

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Fix invalid canvas access level in usage example

The documented access command uses --level edit, but scripts/slack_canvas.py only accepts --level values read or write (argparse choices), so users following this example hit an immediate CLI error and cannot apply canvas permissions until they discover the mismatch themselves.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant