agentsclimarketplace

Readme parser

Skill rahulchawla18/README-Truth-Checker/skills/readme-parser

Conventions for extracting and classifying shell commands from README markdown. Load this when parsing fenced code blocks, detecting placeholders, distinguishing setup/install/run/test commands, or deciding which README lines are testable.From its SKILL.md

Install
npx -y skills add rahulchawla18/README-Truth-Checker --skill readme-parser

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.0 KB, as published. Nobody here has run it

README Parser Skill

When analyzing a README for the truth checker, follow these rules.

Which fenced blocks count as shell

Treat these language tags as shell-executable: bash, sh, shell, console, terminal, zsh, fish, and untagged code blocks. Skip blocks tagged python, json, yaml, toml, dockerfile, text — they describe, they don't execute.

For console / terminal blocks, strip these prompt prefixes (they are decoration, not part of the command):

$
#
>
PS>
PS C:\>

Multi-line handling

  • Backslash continuations: a line ending in \ joins with the next line into a single command.
  • Multiple commands in one block: each newline-separated line is its own step (unless joined by \).
  • Comments: lines starting with # (after prompt stripping) are dropped, NOT treated as commands.

Placeholder detection (these cause the step to be SKIPPED, not failed)

PatternExamples
Angle-bracketed<repo-url>, <your-token>, <path/to/file>
your- prefixyour-token, your-api-key, Your_Domain
YOUR_ upperYOUR_TOKEN, YOUR_API_KEY
Double-bracketed<<PLACEHOLDER>>

When any of these appear, the step is flagged skip: true with reason "contains placeholders requiring human input". The runner respects this and never attempts to execute the step.

Classification taxonomy

CategoryRecognizes
setupgit clone, python -m venv, virtualenv, source ... activate
installpip install, poetry install, uv sync, pipenv install
configcp .env, edits to env files
navigatecd <dir>
migratemigrate, alembic upgrade, db:migrate
testpytest, unittest, tox, nose, mypy, pyright
verifycurl, wget, httpie, http
run (long-running)runserver, uvicorn, gunicorn, flask run, streamlit run, python -m http.server, celery worker
otheranything else

The run category is special: those steps are executed in background and the runner polls a port to confirm readiness. Other categories are run synchronously and either pass or fail on exit code.

Edge cases to be aware of

  • Heredocs (cat <<EOF ... EOF) span multiple lines — v1 captures only the first line and treats it as a single step. This is a known under-handling.
  • Pipes and && inside one line are kept as a single command — bash handles them.
  • Interactive prompts in a step (e.g. npm init, read -p) will hang the runner; treat any command known to be interactive as a placeholder candidate.
  • Windows-style paths in code blocks are rare in Python project READMEs and are not specially handled.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.