agent-prompt

Generate structured system prompts for Treasure Data AI agents.

21|24|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/treasure-data/td-skills --skill agent-prompt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-prompt
Source: https://github.com/treasure-data/td-skills/tree/main/tdx-skills/agent-prompt
Command: npx skills add https://github.com/treasure-data/td-skills --skill agent-prompt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidelines for crafting robust system prompts for Treasure Data agents, covering role definition, constraints, workflow, and output formatting.

Core Features & Use Cases

  • Role and constraint pattern templates
  • Step-by-step process guidance
  • Output format and context guidelines
  • Tool usage examples and cautions

Quick Start

Write a system prompt that designates you as a customer support agent with clear constraints.

Frequently Asked Questions about agent-prompt

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

FAQPage Schema
How do I write a system prompt for a TD AI agent?

System prompts for TD AI agents define role, constraints, and processing workflows. Structure yours with explicit role designation, operational constraints, step-by-step processes, context provisioning, and deterministic output formatting to ensure consistent agent behavior across configurations and scenarios.

What should a system prompt include for an LLM agent?

An effective LLM agent system prompt includes role definition that establishes the agent's purpose, constraints that limit scope and enforce safety, workflow steps that guide processing logic, tool usage guidelines with cautions, and output format specifications to produce deterministic, structured results.

How do I enforce constraints and tool usage in agent prompts?

Constraints and tool usage are enforced through explicit prompt sections that specify boundaries, precautions, and when tools apply. Define which tools are available, their valid inputs, expected outputs, and failure modes. Pair this with role constraints that restrict the agent's autonomy and decision scope.

Can I use system prompt templates for different agent scenarios?

Yes. System prompt templates provide reusable patterns for role and constraint definition, workflow guidance, and output formatting. Apply template sections to your specific scenario—customer support, data processing, or analysis—then customize role designation, constraints, and tool configurations to match your use case.

What's the best way to structure context and output formats in a prompt?

Structure context by provisioning required information upfront—data schemas, available tools, and domain knowledge. Define output formats explicitly with examples or schema specifications. Separate context sections from workflow steps and output directives so the agent processes instructions deterministically and produces consistent, parseable results.

Why does prompt precision matter for agent behavior?

Precise system prompts enforce predictable agent behavior by eliminating ambiguity in role, constraints, and processing logic. Clear workflow steps, explicit tool usage rules, and deterministic output specifications reduce hallucination, ensure compliance with constraints, and make agent responses reproducible across identical inputs and configurations.