Custom Prompts in SecondStack AI
Custom Prompts in SecondStack AI, a 3‑minute video with transcript: write a slash command once, add {{variables}} and reuse it in any chat.
Published · 3:43
Chapters
- 0:00 Tutorial overview
- 0:18 Why use Custom Prompts?
- 1:25 Creating a Custom Prompt
- 2:38 Using Slash Commands in a chat
- 3:00 Result
- 3:30 Summary
Read the full guide: Custom Prompts
Full transcript
Tutorial overview (00:00). Hi everyone, and welcome to the SecondStack tutorial. In this video I’d like to tell you about custom prompts and commands in SecondStack. I’ll explain the problem this feature solves, and then I’ll show you how to create your own custom prompt and how you can use it in a chat.
Why use Custom Prompts? (00:18). First, let’s take a look at a slide I prepared, just to understand the problem. The main problem is repetition. Sometimes we have long prompts that we have to type from scratch in every new thread, and we don’t want to waste time doing that. The solution is custom prompts: we write a prompt once, store it as a slash command, and then reuse it in the chat. For example, I have a prompt I repeat in chats — translate something into some language. Notice that it uses variables, which is very useful, because we often need the same slash command in different scenarios.
Creating a Custom Prompt (01:25). There are two ways to create a slash command. The first way: type a slash in the message composer, select the create option, and you’ll see the modal for creating a custom prompt. The second way is the settings page, under Custom Prompts — press the button there and you get the same creation modal. Let’s create our first custom prompt; I’ll use the prompt from the slide, and you can see it already uses variables. Once the slash command is saved, it appears in a table where we can manage it: change its visibility or delete it.
Using Slash Commands in a chat (02:38). Back in the chat, let’s use it. I type a slash and select translate. Now I type the text and the language I want to translate into.
Result (03:00). You can see that all the variables we filled in have been substituted into the text. We press enter and get our translation. The test is done, which means we could start a new thread and use the slash command there too.
Summary (03:30). That’s how the Custom Prompts feature works in SecondStack. That’s all I wanted to show you. Thank you for watching, and see you in the next video.