Agent Skills
› zerx-lab/zap
› create-tab-config
create-tab-config
GitHub根据自然语言请求创建 Warp 终端的标签页配置 TOML 文件,包括确定目录、生成有效配置及解释布局。
Trigger Scenarios
用户想要新的标签页配置
用户询问如何生成标签页布局
用户请求斜杠命令以生成标签页配置
Install
npx skills add zerx-lab/zap --skill create-tab-config -g -y
SKILL.md
Frontmatter
{
"name": "create-tab-config",
"description": "Create new Warp tab config TOML files from natural-language requests. Use when the user wants a new tab config, a new tab layout, or asks for a slash command to generate a tab config."
}
create-tab-config
Create a new Warp tab config based on what the user wants.
Required context
- Use the
tab-configsskill as the canonical source of truth for:- schema details
- validation rules
- examples
- common layout patterns
Workflow
- Understand what the user wants to create.
- If important details are missing, use the
ask_user_questiontool to clarify them before writing anything. Do not guess about layout, commands, directories, parameters, or close-time behavior. - Generate valid TOML that matches the
tab-configsschema. - Determine the correct tab config directory for the user's Warp build.
Tab configs live under
~/.warp/tab_configs/for standard builds. Non-stable builds use a channel-specific variant (e.g.~/.warp-<channel>/tab_configs/). To find the correct directory, runls -d ~/.warp*/to list the available Warp data directories and pick the one that corresponds to the running build. When in doubt, ask the user which build they are using. Create thetab_configs/subdirectory if it does not exist. Write the file using a descriptive snake_case filename ending in.toml. - If the intended filename might conflict with an existing config and it is unclear whether to overwrite or create a new file, use the
ask_user_questiontool. - Briefly explain what you created, including the layout and any commands or parameters.
Version History
- 5d87445 Current 2026-07-24 17:36


