Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cluster-screening

БесплатноБез исполняемых скриптовНе проверен

Use when screening or coding papers on a GPU cluster or batch scheduler instead of an LLM API — emitting a request manifest, submitting a SLURM job…

mronkkoот mronkko★ 34 звезды на GitHub

Об этом скилле

cluster-screening

Glossary: unfamiliar with PRISMA, MCP, BBT, stage tag, or DOI? See skills/_glossary.md.

This skill covers one thing: running the screening or coding LLM pass somewhere the plugin cannot reach, and bringing the answers back. Everything before it (search, import, enrichment, the screening protocol) and everything after it (audit, export, the manuscript) is systematic-review's. Load that skill for those; load this one for the round trip.

Plugin tools. The pre-flight calls the plugin's own academic-research MCP server tool check_setup (in Claude Code mcp__plugin_academic-research_academic-research__check_setup; other hosts prefix it differently). If it is not available, run its terminal equivalent with Bash and tell the user once how to enable the server (see Terminal equivalent in the glossary). The round trip below has no tools: emitting a manifest and applying responses are modes of the screening scripts that no tool exposes, so they stay commands.

Pre-flight (ALWAYS run first, both of them, in this order)

  1. Call check_setup (terminal equivalent: python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_configured.py"). If it reports configured: false, stop and hand off to /setup.
  2. Then:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/check_cluster_config.py"

This prints the automation level. Read the effective: line and obey it. The level is not yours to choose, raise, or work around. It is a statement about how much of a shared facility account — somebody else's allocation, on hardware the user is accountable for — the user has agreed to hand over. If the level blocks what you were asked to do, say so and print the commands; do not set a level to get past a permission prompt, and do not suggest raising the level to auto as a fix for one.

The block looks like this:

automation: confirm
source: config.toml [cluster] automation
effective: auto
allow_rules: Bash(ssh:*) (~/.claude/settings.local.json)
query_rules: none
settings_files: 2 read

automation: is what was asked for; effective: is what will actually happen; any NOTE: line explains a difference between them. Relay a NOTE: to the user in full. Both directions matter: confirm with an allow rule confirms nothing (usually one "don't ask again" click, long forgotten), and auto without one prompts on every call, which in a headless session reads as a hang.

To change it, the user decides and this writes it:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/setup/set_cluster_automation.py" <level>

What each level permits you to do

Level You may You may not
manual (default) emit, apply, read local files, print commands run ssh, scp, rsync, sbatch, squeue, sacct at all
confirm run them, one permission prompt per call click past a prompt on the user's behalf, or batch calls to reduce prompts
auto run the loop unattended resubmit silently, apply a refused run, or submit a second array job per request

manual is the default and is often the only level that works: reaching a cluster commonly needs a VPN, 2FA or Kerberos, none of which an agent can do. Under manual, produce a numbered command block with every path already filled in, and stop. That block is the deliverable — make it copy-pasteable, not illustrative.

Under confirm, the permission prompt is the approval step. The plugin writes no permission rules at all, so unless the user has allowed ssh/scp/rsync/sbatch themselves, each call surfaces to them. Do not try to reduce the number of prompts by chaining commands into one ssh invocation — that converts several approvals into one and is exactly the erosion the level exists to prevent.


The round trip

Five steps. The LLM runs only in step 3, and steps 1 and 5 need no LLM at all.

  1 emit      abstract_screen.py --emit-manifest requests.jsonl
  2 transfer  three files out
  3 run       run_batch.py --execute      (on the GPU node)
  4 collect   two files back
  5 apply     abstract_screen.py --apply-responses responses.jsonl \
                                 --manifest requests.jsonl

1. Emit

Same selection flags as a normal run — the screening protocol, screening_config.py and the prompt-placeholder self-check in systematic-review all apply unchanged, because the manifest freezes the prompt at this moment.

uv run ${CLAUDE_PLUGIN_ROOT}/scripts/pipelines/abstract_screen.py \
    --group <id> --collection <key> --config ./screening_config.py \
    --emit-manifest .claude/batch/abstract_requests.jsonl

Full-text coding is the same shape, plus --pdf-dir:

uv run ${CLAUDE_PLUGIN_ROOT}/scripts/pipelines/fulltext_code.py \
    --group <id> --collection <key> --config ./screening_config.py \
    --pdf-dir ./pdfs \
    --emit-manifest .claude/batch/fulltext_requests.jsonl
``
Полный SKILL.md на GitHub

Установить cluster-screening в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл cluster-screening?

Use when screening or coding papers on a GPU cluster or batch scheduler instead of an LLM API — emitting a request manifest, submitting a SLURM job, collecting responses, applying them to Zotero. Trigger phrases "screen on the cluster", "run this on SLURM", "sbatch", "GPU node", "emit a manifest", "apply the responses", "batch screening". Do NOT use for ordinary API-based screening — use `systematic-review`.

Как установить скилл cluster-screening?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cluster-screening запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cluster-screening с