For Each Line
Processes every line of a file one by one, transforming or extracting information from each line
Install
npx skills add zocomputer/skills --skill for-each-linegit clone --depth 1 https://github.com/zocomputer/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/Official/zo-for-each-line ~/.claude/skills/for-each-linePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
Process files line-by-line using `zo` to transform or extract data from each line.
#### Notes on zo
`zo` is a command-line program that gives Zo access to Zo itself, with all the same prompts, tools, and power. It's located at `/usr/local/bin/zo`.
```bash
➜ ~ zo -h
usage: zo [-h] [--output-format OUTPUT_FORMAT] input
Call Zo AI with optional structured output
positional arguments:
input Input text to send to Zo
options:
-h, --help show this help message and exit
--output-format OUTPUT_FORMAT
JSON schema for structured output (optional)
Examples:
zo "hello"
zo "what's 2+2?" --output-format '{"type": "object", "properties": {"answer": {"type": "number"}}, "required": ["answer"]}'
output_format uses OpenAI's structured output JSON schema format.
Keep schemas flat (max 1-2 levels) for best results.
```
# Protocol
## Step 1: Ask clarifying questions
Do NOT assume. Ask the user:
- What should be extracted/transformed from each line?
- What format should the output be?
- What happens if a line fails - halt everything or continue?
## Step 2: Create the processing script
Create a script in the conversation workspace.
Requirements:
- Flat schemas: Keep `output_format` max 1-2 levels deep
- Never swallow errors: Use `check=True`, no try/except hiding failures
- Sequential processing: Each line waits for the previous (70s timeout per line)Details
- Skill name
for-each-line- Repository
- zocomputer/skills
- Path
Official/zo-for-each-line/SKILL.md- License
- MIT
- Repo updated
- 29 July 2026
FAQ
What does the For Each Line skill do?
Processes every line of a file one by one, transforming or extracting information from each line
How do I install the For Each Line skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add zocomputer/skills --skill for-each-line. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is For Each Line popular?
It lives in zocomputer/skills, which has 46 GitHub stars and 56 forks.
Related skills
Add Flashcards
46zocomputer/skills
Converts webpages, articles, or documents into study flashcards that you can review with spaced repetition
Blog Site
46zocomputer/skills
Build a blog or newsletter to share your thoughts.
Blogwatcher
46zocomputer/skills
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Guestbook Site
46zocomputer/skills
Build an interactive guestbook where visitors can leave messages.
Find Missed Connections
46zocomputer/skills
Finds recent missed connections posts from Craigslist and gives you the highlights
Interview System Designer
40ArogyaReddy/alirezarezvani-claude-skills
This skill should be used when the user asks to "design interview processes", "create hiring pipelines", "calibrate interview loops", "generate interview questions", "design competency matrices", "analyze interviewer bias", "create scoring rubrics", "build question banks", or "optimize hiring systems". Use for designing role-specific interview loops, competency assessments, and hiring calibration systems.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.