vimalinx/bio-agent / .claude/skills/join-into-groups-of
join-into-groups-of
VerifiedUse when batching newline-separated IDs into fixed-size comma-separated groups for EDirect calls or other list-limited APIs.
join-into-groups-of
CLI tool from the entrez-direct bioconda package that groups input lines into batches of a specified size using xargs.
Quick Start
- Command:
join-into-groups-of <group_size> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/join-into-groups-of - Reference: See references/help.md for detailed usage
When To Use This Tool
- Batch large ID lists into comma-separated chunks.
- Respect API or wrapper limits by controlling how many IDs appear in each emitted group.
- Prepare EDirect-friendly comma-joined ID batches from one-record-per-line input.
Common Patterns
# 1) Group IDs into batches of 200
cat ids.txt | \
/home/vimalinx/miniforge3/envs/bio/bin/join-into-groups-of 200
# 2) Use the default batch size (10000)
cat ids.txt | \
/home/vimalinx/miniforge3/envs/bio/bin/join-into-groups-of
a,b,c
Recommended Workflow
- Start from a newline-separated list with no embedded whitespace inside individual IDs.
- Pick a group size that matches the downstream tool or API limit.
- Pipe each emitted comma-joined line into the next query step.
- Keep the final short batch; the tool does not pad or discard remainders.
Guardrails
- With no positional argument, the default batch size is
10000. - Output groups are comma-separated, not space-separated.
- The implementation uses
xargs, so embedded spaces or tabs inside records will be tokenized and destroyed. - There is no dedicated help or version mode; unsupported flags are forwarded into the
xargs -ncode path rather than handled cleanly.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |