← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / scientific-agent-skills / skills / peer-review / references / tool_reference.md

Local Tool Contracts

All bundled tools are deterministic Python 3.11+ standard-library CLIs. They make no network, model, image, subprocess, environment-variable, dynamic-code, or pickle calls.

Shared safety behavior

Exit codes:

Run tools from the skill directory or use absolute script paths.

Intake validator

python3 scripts/validate_review_intake.py \
  assets/review_intake_template.json

Purpose:

The bundled template is intentionally blocked until the human completes the controls.

Top-level JSON fields:

The report validates declarations, not their truth.

Reporting-guideline selector and coverage audit

Selection only:

python3 scripts/select_reporting_guidelines.py \
  assets/study_profile_template.json

Selection plus coverage:

python3 scripts/select_reporting_guidelines.py \
  assets/study_profile_template.json \
  --coverage assets/reporting_checklist_template.csv

Profile fields:

Coverage columns:

The catalog is assets/reporting_guidelines.json, verified on the date embedded in that file. It does not fetch live updates. The output deliberately has no percentage or quality score.

Claim–evidence matrix validator

python3 scripts/validate_claim_evidence.py \
  assets/claim_evidence_matrix_template.csv

Columns:

Rules include:

The tool does not determine whether evidence is true or sufficient.

Statistics and reproducibility checklist

python3 scripts/audit_statistics_reproducibility.py \
  assets/statistical_reproducibility_template.json

The JSON contains:

Core areas:

The tool requires the core item IDs but permits additional safe IDs. It reports gaps and specialist-review triggers without a score.

Citation/reference consistency audit

The Markdown must use Pandoc-style citation keys:

The synthetic method is described elsewhere [@ref-synthetic-2026].
Several sources may be grouped [@ref-one; @ref-two].

Run:

python3 scripts/audit_citations.py \
  local-manuscript.md \
  assets/citation_references_template.csv

Reference CSV columns:

The audit finds:

It validates DOI/URL shape only. It does not resolve identifiers, search the web, verify existence, or determine whether a reference supports a claim.

Review scaffold generator

The intake must pass first:

python3 scripts/generate_review_scaffold.py \
  completed-intake.json \
  -o private-review.md

The generator:

It refuses unresolved intake controls and implicit overwrite.

Tone and actionability lint

python3 scripts/lint_review.py private-review.md

Required headings:

Structured comment headings:

Each comment must contain non-placeholder values for:

The linter flags:

Lexical lint has false positives and false negatives. Human review remains required.

Private output examples

All JSON-reporting CLIs accept:

-o local-report.json

To replace an existing output deliberately:

--force

Do not place outputs in a synced or shared directory unless the authorization and venue policy permit it. Delete or retain inputs, drafts, and reports according to the documented review policy.