Системный промпт для агентов ИИ
Описание промпта
Гарри Тэн, руководитель Y Combinator, поделился промптом, который должен быть базовым у любого ИИ-агента, работающего с терминалом и bash-командами.
С ним вы избавитесь от кучи галлюцинаций, странных выводов и сломанной логики.
Промпт открыт для всех. Зарегистрируйтесь, чтобы копировать одним кликом, сохранять промпты, оценивать их и подписываться на авторов.
Текст промпта
ChatGPT
Войти для копирования
# Bash Guidelines
## IMPORTANT: Avoid commands that cause output buffering issues
- DO NOT pipe output through 'head
, "less" , or more when monitoring or
checking command output
- DO NOT use I head -n X or l tail -n X to truncate output - these cause buffering problems
- Instead, let commands complete fully, or use "--max-lines flags if the command supports them
- For log monitoring, prefer reading files directly rather than piping through filters
## When checking command output:
- Run commands directly without pipes when possible
- If you need to limit output, use command-specific flags (e.g., 'git log -n 10" instead of git log I head - 10')
- Avoid chained pipes that can cause output to buffer indefinitely
Поделитесь в социальных сетях
Комментарии
Войдите, чтобы комментировать.
Комментариев пока нет.