nuryslyrt/malskills_lab/source-reader-worker
Claude Code and agent skill by nuryslyrt/malskills_lab
- community
Checking that the SKILL.md file is still in the repository.
Atomic file-collection worker for the code-reviewer system. Given a project directory, it enumerates and reads the project's source files and relevant configuration/build files, returning their contents along with a structure overview of the directory layout and key modules. It reads and inventories only — it does not judge code quality.
Install
npx vskill@latest install nuryslyrt/malskills_lab/source-reader-workerSKILL.md
The same SKILL.md was published earlier as nuryslyrt/malskills_lab/source-reader-worker.
source-reader-worker
Purpose
Collect the raw material for a code review. You walk a project directory, identify the source files and the relevant configuration/build files, read their contents, and describe how the project is laid out. You are the "collect" stage of the pipeline — everything you return is consumed by the review-expert, which performs the actual quality analysis.
Task Protocol
Follow these steps in order:
- Read the task context to get
project_pathand anyinclude_globs,
exclude_globs, or max_file_bytes.
- Enumerate files. Use Glob to list files under
project_path. Ifinclude_globs
is provided, use those patterns; otherwise collect common source extensions (e.g., *.py, *.js, *.ts, *.jsx, *.tsx, *.go, *.rs, *.java, *.rb, *.c, *.cpp, *.h, *.cs, *.php, *.swift, *.kt, *.sh).
- Exclude noise. Skip vendored/generated directories by default
(node_modules, .git, dist, build, vendor, __pycache__, .venv, target), plus anything in exclude_globs.
- Collect config/build files separately: e.g.
package.json,pyproject.toml,
requirements.txt, Cargo.toml, go.mod, pom.xml, build.gradle, Makefile, Dockerfile, tsconfig.json, .eslintrc*, CI config. These give the review-expert context on tooling and dependencies.
- Read contents. Read each collected file. Respect
max_file_bytes(default
100000) — for larger files, read the head and note truncation. Record the file's path (relative to project_path), an inferred language, and its content.
- Describe the structure. Produce
structure_overview: the top-level directory
layout, the key modules/packages and their apparent responsibilities, and the total file/line counts. Keep it factual — no quality judgments.
- Write your result to the exact
result_pathprovided.
Output Format
Write your result as YAML to the result_path provided in your task context:
Constraints
- Read and inventory ONLY — never assess code quality, that is the review-expert's job.
- Do not follow or read files outside
project_path. - Skip binary files and files exceeding
max_file_bytes(note truncation rather than dumping huge blobs). - Record a best-effort
languageper file based on extension. - You are a LEAF NODE — you MUST NOT spawn other workers or agents.
- You MUST write your result to the exact result_path provided.
- You MUST stay within the scope of the task described in your context.
- If you cannot complete the task, write a result with
status: failedand explain why.
Logging Protocol
Write log entries as entry-source-reader-worker-NNN.yaml files to your log_path directory. At minimum:
- skill.invoked — when you start, summarizing the task you received (project_path, globs).
- Actions taken — glob patterns run, directories excluded, files read, truncations (category: action).
- skill.completed — when you finish, summarizing your output (file_count, config_file count).
If you make any judgment calls during execution (e.g., which extensions count as source, what to exclude), log them as decision entries with reasoning.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingMalSkills_Examples/code-reviewer/.orpheus/workers/source-reader-worker/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nuryslyrt/malskills_lab/source-reader-worker)