Skip to main content

Using Takumi Slack Commands

info

The English user guide is currently in beta preview. Most of the documents have been automatically translated from the Japanese version. Should you find any inaccuracies, please reach out to Flatt Security.

info

This feature is currently available only to selected organizations.

Command Types

After inviting Takumi to your Slack workspace, in addition to directly requesting tasks to Takumi, you can use the following Slack commands:

  1. takumi-scopes: Manage the codebases Takumi can access.
  2. takumi-tasks: Manage Takumi's current one-shot and recurring tasks.
  3. takumi-knowledge: Manage the knowledge Takumi retains across tasks.

1. Managing Accessible Codebases with takumi-scopes

info

As scope configuration controls what repositories Takumi is able to access, repositories must be registered within the scope before requesting tasks related to it.

By entering /takumi-scopes in a Slack channel, you can view the repositories Takumi can currently access. Select Edit to add a new repository.

Enter takumi-scopes command

Takumi will display the repositories it's currently permitted to access. Select the repositories you want Takumi to access.

Select from accessible repos

After selecting, confirm with Submit.

Submit and confirm scopes

note

If you encounter an error such as "App took too long to respond," please wait a few seconds and try again (it may take time to fetch the list of repositories).
Reducing the number of repositories selected during GitHub integration may help mitigate this issue.
If the issue persists, please contact customer support.

By entering the /takumi-scopes command again, you can confirm and modify the added scopes.

Select from accessible repos

2. Task Management with takumi-tasks

info

While scheduling tasks is possible with the following command, note that when requesting a task to Takumi immediately, you may also directly mention Takumi in slack with your request content.

Directly mention Takumi with a request

By entering /takumi-tasks in a Slack channel, you can view the tasks currently assigned to Takumi, and buttons to assign recurring tasks (Cron Tasks) and one-shot tasks.

Enter takumi-tasks command

note

If you encounter an error such as "App took too long to respond," please wait a few seconds and try again. If the issue persists, please contact customer support.

Registering a One-Shot Task

Select Add One-Shot Task to display the one-shot task assignment form. Enter the task title, execution date and time, task details, and reporting destination (channel and mentioned users), and then click Submit to register.

Assign a one-shot task

After configuration, execute the /takumi-tasks command again to confirm currently scheduled one-shot tasks. These tasks can be modified or canceled as needed.

At the specified time, Takumi will create a thread within the channel and execute the task.

One-shot task is run

warning

Please note that when scheduling a task, specifying a time before, or the same as when you submit the task, will cause the task to not be submitted properly.

Registering a Recurring Task (Cron Task)

Select Add Cron Task to display the recurring task assignment form. Similar to one-shot tasks, fill in the required fields and register with Submit. The timing in which to execute these tasks are to be specified in cron format.

Assign a cron task

After configuration, you can confirm and modify currently configured recurring tasks by executing the /takumi-tasks command again.

See cron task

Takumi will execute the specified task at each specified time with a new thread within the channel.

3. Knowledge Management with takumi-knowledge

By entering /takumi-knowledge in a Slack channel, you can view and register the knowledge Takumi currently retains across tasks.

Run takumi-knowledge command

Select Add to manually register knowledge.

Add knowledge

Execute the /takumi-knowledge command again to view and modify the added knowledge.

View knowledge

Select Delete to remove the registered knowledge.

Delete knowledge