소스 정보
- 저장소
- lyxhnu/multi-coding-agent
- 최근 소스 활동
- 2026년 4월 12일 07:20
- 감지된 SKILL.md 언어
- 영어
- 스타
- 49
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lyxhnu/multi-coding-agent --skill shell-tools명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | shell-tools |
| description | Production-grade shell tools - jq, xargs, parallel, pipelines |
Master jq, xargs, GNU parallel, and advanced pipelines
After completing this skill, you will be able to:
# Basic queries
jq '.' file.json # Pretty print
jq '.key' file.json # Get key
jq '.array[0]' file.json # First element
jq '.nested.key' file.json # Nested
# Filtering
jq '.[] | select(.active)' # Filter
jq '.[] | select(.count > 10)'
# Transform
jq '.[] | {id, name}' # Select fields
jq 'map(.price * .qty)' # Calculate
jq -r '.[] | @csv' # To CSV
# From variables
jq -n --arg x "$VAR" '{value: $x}'
# Basic usage
echo "a b c" | xargs echo
# Safe with spaces
find . -print0 | xargs -0 rm
# Limit arguments
cat list | xargs -n 1 process
cat list | xargs -n 10 process
# Parallel
cat list | xargs -P 4 -n 1 process
# Placeholder
cat urls | xargs -I {} curl {}
# Basic
parallel echo ::: a b c
# From file
parallel process :::: list.txt
# With options
parallel -j 4 process ::: *.txt
parallel --progress process ::: *.txt
# Complex
parallel -j 4 --delay 0.5 \
'curl -s {} | jq .name' :::: urls.txt
# Sort and unique
sort file.txt
sort -n file.txt # Numeric
sort -u file.txt # Unique
sort file | uniq -c # Count
# Cut and paste
cut -d',' -f1,3 file.csv
paste file1.txt file2.txt
# Transform
tr 'a-z' 'A-Z' < file
tr -d '\r' < dos.txt > unix.txt
curl -s 'https://api.example.com/users' |
jq -r '.[] | select(.active) | [.id, .email] | @csv' |
sort -t',' -k2 |
head -20
# Compress all logs in parallel
find . -name "*.log" |
parallel -j 4 gzip
# Batch API calls with rate limit
cat ids.txt |
parallel -j 5 --delay 0.2 \
'curl -s "https://api.example.com/item/{}"'
# JSON to formatted output
cat data.json |
jq -r '.items[] | "\(.id)\t\(.name)\t\(.price)"' |
column -t
| Don't | Do | Why |
|---|---|---|
| Parse JSON with grep | Use jq | Proper parsing |
| Sequential when parallel | Use parallel | Speed |
cat | xargs | xargs < file | Efficiency |
| Error | Cause | Fix |
|---|---|---|
jq: error | Invalid JSON | Validate with jq . |
xargs: arg too long | Too many args | Use -n |
parallel: not found | Not installed | apt install parallel |
# Validate JSON
jq '.' < input.json
# Debug pipeline
command1 | tee /dev/stderr | command2
# Test jq filter
echo '{"a":1}' | jq '.a'
# Faster sorting
LC_ALL=C sort file.txt
# Parallel for CPU-bound
parallel -j $(nproc) process ::: *.txt
# Stream large files
jq -c '.[]' large.json | while read -r line; do
# process line
done
Overview
This skill delivers production-grade shell tooling patterns centered on jq, xargs, GNU parallel, and efficient pipelines. It teaches reliable JSON processing, safe argument handling, parallel task execution, and composing fast data transformations. The content focuses on practical commands, common patterns, anti-patterns, and troubleshooting tips for real-world workflows.
How this skill works
You learn concrete commands and idioms that inspect and transform data streams: jq for robust JSON parsing and transformation, xargs for controlled argument passing and batching, GNU parallel for concurrency and rate-limited jobs, and core Unix utilities (sort, cut, tr, column) for shaping text. Examples show how these tools chain via pipes and files, how to handle edge cases (spaces, large arg lists, invalid JSON), and how to benchmark and debug pipelines.
When to use it
Extract and transform API JSON responses for reporting or downstream processing
Batch or parallelize IO- or CPU-bound tasks like downloads, compression, or image processing
Safely construct command arguments from files or find output (handling spaces/newlines)
Convert JSON to CSV/TSV or formatted tables for human review or imports
Optimize large-file workflows with streaming, locale-tuned sort, and parallelism
Best practices
Always parse JSON with jq instead of grep/sed to avoid brittle errors
Use find -print0 and xargs -0 or null-delimited jq output for safe filenames
Prefer GNU parallel for complex concurrency, with --delay and -j to avoid API rate limits
Stream large JSON with jq -c and process line-by-line to reduce memory use
Set LC_ALL=C for faster sort on large datasets and use nproc to size parallel jobs
Example use cases
Fetch users from an API, filter active accounts with jq, sort by email and show the top 20
Compress all .log files in a directory in parallel with find | parallel -j 4 gzip
Batch API item retrieval from ids.txt using parallel --delay to respect rate limits
Convert nested JSON items to a tabular report with jq -r and column -t for readability
Process a huge JSON array by streaming jq -c '.[]' and handling each entry in a loop
FAQ
What if jq reports invalid JSON?
Validate the input with jq '.' to find syntax errors, or produce compact records with jq -c and inspect problematic lines.
How do I avoid xargs 'arg too long' errors?
Use xargs -n to limit args per command, -0 with null-delimited input, or switch to GNU parallel for more flexible batching.
Skill score
0
Health score
i
D
65 /100
Stats
278 stars
First Seen
2 months ago
Repository
benchflow-ai / skillsbench
Tags
pddl
Topics
automation
devops
data
cli
scripting
Trigger phrases
analyze json
process data
build pipelines
parallelize tasks
transform outputs
optimize pipelines
Privacy
/
Terms
Made by
Ian Nuttall