command_template

Create custom slash commands using Markdown templates or Python logic.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/alangeb/tau --skill command-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command_template
Source: https://github.com/alangeb/tau/tree/main/src/skills/command_template
Command: npx skills add https://github.com/alangeb/tau --skill command-template

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill solves the friction of extending agent capabilities by providing a standardized framework for creating custom slash commands, whether through simple Markdown prompt templates or robust Python logic.

Core Features & Use Cases

  • Markdown Templates: Create reusable prompt sequences with support for dynamic arguments like $1, $2, and $* placeholders.
  • Python Integration: Develop complex commands with full access to the agent's internal context, tool execution, and console output.
  • Use Case: Quickly generate a new command for a repetitive task, such as a custom code review prompt or a specialized data-processing script, using the built-in generator.

Quick Start

Use the command_template skill to generate a new markdown command for summarizing project documentation.

Frequently Asked Questions about command_template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom slash commands for AI agents?

You can create custom slash commands for AI agents by defining structured command metadata and functional run logic using either Markdown prompt templates with dynamic arguments or Python-based execution scripts.

What is the difference between Markdown templates and Python logic for agent command development?

Markdown templates provide reusable prompt sequences using dynamic argument placeholders, while Python integration enables complex commands with full access to the agent's internal context, tool invocation, and console output.

Can I use dynamic arguments in prompt templates for AI automation?

Yes, you can use dynamic arguments in prompt templates for AI automation by inserting placeholders like $1, $2, and $* to pass variable inputs directly into your reusable slash command sequences.

How do I add tool invocation and context manipulation to an agent command?

You can add tool invocation and context manipulation to an agent command by developing Python-based execution logic that directly accesses the agent's internal context and delegates tasks to subagents.

Do I need a specific environment to run Python-based agent commands?

Yes, Python-based agent commands require a structured environment for defining command metadata and functional run logic to ensure the scripts can properly access internal context and execute tools.