Create the Slack app
A Slack app is the bot identity Kura-chan uses. The fastest way to create one with the right scopes, events, and all eight slash commands is from a manifest — a single block of configuration you paste in.
Create from the manifest
Section titled “Create from the manifest”-
Open the app list
Go to api.slack.com/apps and click Create New App.
-
Choose “From a manifest”
Pick the workspace you want Kura-chan to live in, then Next.
-
Paste the manifest
Switch to the YAML tab, replace the contents with the block below, then Next → Create. You can rename
nameanddisplay_nameto anything you like.display_information:name: Kura-chandescription: Your personal AI agent in Slackbackground_color: "#000000"features:app_home:home_tab_enabled: truemessages_tab_enabled: falsemessages_tab_read_only_enabled: falsebot_user:display_name: Kura-chanalways_online: trueshortcuts:- name: Capture to Kuratype: messagecallback_id: kura_capturedescription: Save this message to Kura-chanslash_commands:- command: /kura-askdescription: Quick questionshould_escape: false- command: /kura-searchdescription: Search knowledge baseshould_escape: false- command: /kura-summarydescription: Channel summaryshould_escape: false- command: /kura-digestdescription: Daily digestshould_escape: false- command: /kura-reminddescription: Set remindershould_escape: false- command: /kura-filesdescription: Recent filesshould_escape: false- command: /kura-modeldescription: Switch modelshould_escape: false- command: /kura-helpdescription: Show helpshould_escape: falseoauth_config:scopes:bot:- app_mentions:read- channels:history- chat:write- commands- files:read- files:write- groups:history- im:history- im:read- im:write- im:write.topic- mpim:history- mpim:read- mpim:write- reactions:read- reactions:write- users:readpkce_enabled: truesettings:event_subscriptions:bot_events:- app_home_opened- app_mention- message.channels- message.groups- message.iminteractivity:is_enabled: trueorg_deploy_enabled: falsesocket_mode_enabled: truetoken_rotation_enabled: falseis_mcp_enabled: false
What the manifest sets up
Section titled “What the manifest sets up”- Socket Mode — the outbound connection, so no public URL is needed.
- Bot scopes — posting (
chat:write), slash commands (commands), reading and uploading files (files:read,files:write), reading messages across DMs, group DMs, and channels (im:*,mpim:*,groups:history,channels:history), starting and naming DMs (im:write,im:write.topic), mentions (app_mentions:read), reactions (reactions:read,reactions:write), and resolving who’s talking (users:read). - Events —
app_mention, direct / group / channel messages (message.im,message.groups,message.channels), andapp_home_opened. - Interactivity, the App Home tab, and a “Capture to Kura” message shortcut (right-click any message → save it to Kura-chan).
- All eight
/kura-*slash commands.
Next, generate and copy your credentials: The two tokens.
Prefer to set it up by hand?
Section titled “Prefer to set it up by hand?”Manual setup checklist (no manifest)
After Create New App → From scratch, configure each section:
- Socket Mode (Settings → Socket Mode): toggle Enable Socket Mode on.
- OAuth & Permissions → Bot Token Scopes, add all of:
app_mentions:read,channels:history,chat:write,commands,files:read,files:write,groups:history,im:history,im:read,im:write,im:write.topic,mpim:history,mpim:read,mpim:write,reactions:read,reactions:write,users:read. - Event Subscriptions: enable events, then under Subscribe to bot events add:
app_home_opened,app_mention,message.channels,message.groups,message.im. - Interactivity & Shortcuts: toggle Interactivity on, then Create New Shortcut → On messages, name it
Capture to Kurawith callback IDkura_capture. - App Home: enable the Home Tab (the Messages tab can stay off).
- Slash Commands: create each of the eight commands by hand —
/kura-ask,/kura-search,/kura-summary,/kura-digest,/kura-remind,/kura-files,/kura-model,/kura-help. With Socket Mode on, leave the Request URL blank.