Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/PinkGranite/EasyPaperWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/pinkgranite/easypaper/easypaper-paper-from-metadata)<a href="https://agentmods.dev/commands/pinkgranite/easypaper/easypaper-paper-from-metadata"><img src="https://agentmods.dev/badge/commands/pinkgranite/easypaper/easypaper-paper-from-metadata/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/pinkgranite/easypaper/easypaper-paper-from-metadata"><img src="https://agentmods.dev/badge/commands/pinkgranite/easypaper/easypaper-paper-from-metadata.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00824 |
| Opus 5 | $0.00000 | $0.00412 |
| Sonnet 5 | $0.00000 | $0.00165 |
| Haiku 4.5 | $0.00000 | $0.00082 |
Grade A, and why
easypaper-paper-from-metadata scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate a paper directly from metadata using the EasyPaper Python SDK.
Execution Contract
- Optional pre-step: if the user has a research-materials folder instead of metadata JSON, run:
metadata = await ep.generate_metadata_from_folder(
folder_path,
max_figures=12,
max_tables=12,
vision_enrich_figures=True,
)
Then generate from the returned PaperMetaData.
- For metadata JSON, load it as a request model:
import json
from pathlib import Path
from easypaper import EasyPaper, PaperGenerationRequest
metadata_path = Path("metadata.json").resolve()
raw = json.loads(metadata_path.read_text(encoding="utf-8"))
def metadata_relative_path(value: str) -> str:
candidate = Path(value).expanduser()
if candidate.is_absolute():
return str(candidate)
return str((metadata_path.parent / candidate).resolve())
if not raw.get("materials_root"):
raw["materials_root"] = str(metadata_path.parent)
if raw.get("template_path"):
raw["template_path"] = metadata_relative_path(raw["template_path"])
if (
isinstance(raw.get("code_repository"), dict)
and raw["code_repository"].get("type") == "local_dir"
and raw["code_repository"].get("path")
):
raw["code_repository"]["path"] = metadata_relative_path(raw["code_repository"]["path"])
request = PaperGenerationRequest.model_validate(raw)
metadata = request.to_metadata()
options = {
"output_dir": request.output_dir,
"save_output": request.save_output,
"compile_pdf": request.compile_pdf,
"figures_source_dir": request.figures_source_dir,
"target_pages": request.target_pages,
"enable_review": request.enable_review,
"max_review_iterations": request.max_review_iterations,
"enable_planning": request.enable_planning,
"enable_exemplar": request.enable_exemplar,
"enable_vlm_review": request.enable_vlm_review,
"enable_user_feedback": request.enable_user_feedback,
"artifacts_prefix": request.artifacts_prefix or "",
}
result = await EasyPaper(config_path=str(Path("easypaper_config.yaml").resolve())).generate(
metadata,
**options,
)
- Validate the metadata before generation:
- Required prose fields are non-empty:
title,idea_hypothesis,method,data,experiments. referencesmay be empty, but warn the user because citation quality will be weaker.- Figure ids start with
fig:and table ids start withtab:. - Folder-generated metadata has absolute
materials_rootand relative POSIX figure/table paths. - Figure/table counts stay within the selected
max_figures/max_tablescaps.
- Required prose fields are non-empty:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 95 lines · 0 tokens per session scan A 39fc8a9385cd
easypaper-paper-from-metadata is a command published in the GitHub repository PinkGranite/EasyPaper (5 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 824 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
verify-math
Verify a self-authored mathematical result end to end by routing claims across adversarial review, numerical falsification, symbolic or CAS checks, and Lean, then aggregating one report. Use when a theorem, proposition, conjecture, or paper-wide mathematical argument needs the appropriate combination of verification…
replication-package
Scaffold or audit a social-science replication package at a target directory, and audit the manuscript and its archived research objects against FAIR principles.
diff
Quantitative volume comparison between a CadQuery model and a reference STEP file.
simulation-calibrator
Test and refine simulation accuracy with validation loops, bias detection, and continuous improvement frameworks.
arg-diagram
ARG academic-paper diagram mode — standalone structural & conceptual diagram generation.
graphite-morphology-classify
Classify graphite in a cast-iron micrograph per ASTM A247 / ISO 945-1, quantify nodularity, and read the matrix — the single most diagnostic observation in a cast-iron case.