token-efficient-bash

Community

Token-efficient bash: fast, traceable scripts.

Authorddaanet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill addresses the tedium and token cost of multi-step Bash scripts by enforcing a structured pattern that reduces boilerplate while maintaining clear traceability.

Core Features & Use Cases

  • Token-efficient pattern for 3+ sequential commands using an Intent comment, exec 2>&1, and set -xeuo pipefail
  • Automatic per-command tracing without explicit echo statements
  • Use cases include build steps, deployment hooks, automation pipelines, and quick one-off scripts that require robust error handling

Quick Start

Use the pattern on a block of 3+ commands:

Intent: describe block purpose

exec 2>&1 set -xeuo pipefail

mkdir -p target/backup mv source/*.log target/backup ln -s ../target/backup source/logs

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: token-efficient-bash
Download link: https://github.com/ddaanet/agent-core/archive/main.zip#token-efficient-bash

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.