Skip to content

Instantly share code, notes, and snippets.

@hugodutka
Created February 16, 2026 13:13
Show Gist options
  • Select an option

  • Save hugodutka/001526147dbe6dbbbc8fab8dea78ac9d to your computer and use it in GitHub Desktop.

Select an option

Save hugodutka/001526147dbe6dbbbc8fab8dea78ac9d to your computer and use it in GitHub Desktop.
const manifest = {
display_information: {
name: "picobot",
description: "OpenClaw in 400 lines of code",
background_color: "#4A154B",
},
features: {
bot_user: { display_name: "picobot", always_online: true },
app_home: {
home_tab_enabled: false,
messages_tab_enabled: true,
messages_tab_read_only_enabled: false,
},
assistant_view: {
assistant_description: "OpenClaw in 400 lines of code",
},
},
oauth_config: {
scopes: {
bot: [
"app_mentions:read",
"assistant:write",
"reactions:write",
"reactions:read",
"channels:history",
"chat:write",
"groups:history",
"groups:read",
"files:read",
"im:history",
"im:read",
"im:write",
"mpim:history",
"mpim:read",
"users:read",
"links:read",
"commands",
],
},
},
settings: {
event_subscriptions: {
bot_events: [
"app_mention",
"message.channels",
"message.groups",
"message.im",
"reaction_added",
"reaction_removed",
"assistant_thread_started",
"member_joined_channel",
],
},
token_rotation_enabled: false,
org_deploy_enabled: false,
socket_mode_enabled: true,
},
};
const url = `https://api.slack.com/apps?new_app=1&manifest_json=${encodeURIComponent(JSON.stringify(manifest))}`;
console.log(url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment