Skip to content
Agentmart
Submit a tool

counting-lines

Counts the non-blank lines in a file using the bundled count.py script.

Skill by matthewhand

IndexedMIT★ 20
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/matthewhand-counting-lines

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Counts the non-blank lines in a file using the bundled count.py script. Use when asked for an exact line count of a file, where guessing is unacceptable.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/counting-lines

What's inside

Skill name
counting-lines
Description
Counts the non-blank lines in a file using the bundled count.py script. Use when asked for an exact line count of a file, where guessing is unacceptable.
License
MIT
Instructions
17 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • count.py

SKILL.md (first lines)

# Counting Lines

Do not estimate or eyeball line counts — run the bundled script, which is the
source of truth.

## Steps

1. Run the script on the target file:

   ```bash
   python3 count.py <path>
   ```

2. Report the exact integer it prints. If the script errors, report the error
   verbatim rather than guessing a number.

From matthewhand/operating-swarm, MIT.

More from matthewhand/operating-swarm

Signals

Stars
20
Forks
6
Open issues
1
Last commit (this folder)
Jun 17, 2026 (4 months ago)
Last release
Jun 19, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from matthewhand

Cite this page

counting-lines skill. Agent Mart. https://agentmart.dev/skills/matthewhand-counting-lines (last updated 2026-10-24)