---
title: "06 pretooluse bash hook"
description: "PreToolUse:Bash hook additional context: <context_guidance> <tip> This Bash command may produce large output. To stay efficient: - Use capy_batch_execute(commands, queries) for multiple commands - Use capy_execute(language: \"shell\", code: \"...\") to run in sandbox - Only your final printed summary will enter the context. - Bash is best for: git, mkdir, rm, mv, navigation, and short-output commands "
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/06-pretooluse-bash-hook
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T10:58:42.779Z
license: CC-BY-4.0
attribution: "06 pretooluse bash hook — Claudary (https://claudary.paisolsolutions.com/skills/06-pretooluse-bash-hook)"
---

# 06 pretooluse bash hook
PreToolUse:Bash hook additional context: <context_guidance> <tip> This Bash command may produce large output. To stay efficient: - Use capy_batch_execute(commands, queries) for multiple commands - Use capy_execute(language: "shell", code: "...") to run in sandbox - Only your final printed summary will enter the context. - Bash is best for: git, mkdir, rm, mv, navigation, and short-output commands 

## Overview

PreToolUse:Bash hook additional context: <context_guidance>
  <tip>
    This Bash command may produce large output. To stay efficient:
    - Use capy_batch_execute(commands, queries) for multiple commands
    - Use capy_execute(language: "shell", code: "...") to run in sandbox
    - Only your final printed summary will enter the context.
    - Bash is best for: git, mkdir, rm, mv, navigation, and short-output commands only.
  </tip>
</context_guidance>

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/06-pretooluse-bash-hook) · https://claudary.paisolsolutions.com
