diff --git a/listings/lst_mm-pdf-report/solution.json b/listings/lst_mm-pdf-report/solution.json new file mode 100644 index 0000000..9dde8a4 --- /dev/null +++ b/listings/lst_mm-pdf-report/solution.json @@ -0,0 +1,83 @@ +{ + "applicability": { + "image_classes": [ + "primus", + "agent-latest" + ], + "roles": [ + "operator", + "desktop-agent" + ], + "tool_requirements": [ + "docker" + ] + }, + "behavior": { + "skill_ref": "payload/SKILL.md" + }, + "content_hash": "sha256:e762e7d62a8559dfa739150043c297dcd2e285dbcd1803c285e0e8f2eabd97e2", + "deployment": { + "entrypoint": "Ask your agent to use the mm-pdf skill, or run: ~/.claude/skills/mm-pdf/scripts/generate.sh --style dark", + "recipe_ref": "recipe.yaml", + "verify_command": "test -f ~/.claude/skills/mm-pdf/SKILL.md" + }, + "description": "Installs the mm-pdf skill: a Markdown-to-branded-PDF/HTML pipeline (dark navy aesthetic, cyan accents, A4 layout) built on a Node+marked HTML render step and headless-Chrome print-to-pdf inside a Docker container. Ships three artifacts: SKILL.md, scripts/generate.sh, and templates/{dark,purple}.css. content_hash is computed over payload/ + recipe.yaml only (not solution.json itself, to avoid the self-referential hash problem of hashing a file that contains its own hash): sha256 of `tar --sort=name --mtime='@0' --owner=0 --group=0 --numeric-owner -czf - payload recipe.yaml` run from this bundle's root.", + "evidence": [ + { + "excerpt": "SKILL.md frontmatter: 'Generate beautifully styled Machine.Machine branded PDFs and slide decks from Markdown. Dark navy aesthetic, cyan accents, professional A4 layout.'", + "machine": "m2", + "source": "/home/m2/.claude/skills/mm-pdf/ (SKILL.md, scripts/generate.sh, templates/dark.css, templates/purple.css) \u2014 the proven skill this bundle packages, present on the m2 host since 2026-04-21 (SKILL.md mtime 2026-04-21T00:05:01+02:00, templates/dark.css mtime 2026-04-21T00:04, scripts/generate.sh mtime 2026-04-21T00:09)" + }, + { + "excerpt": "pdfinfo: Title=output.html; Creator=Mozilla/5.0 ... HeadlessChrome/145.0.0.0 ...; Producer=Skia/PDF m145; Pages=4; page size 594.96x841.92pts (A4)", + "machine": "m2", + "source": "/home/m2/session-2026-04-20.pdf \u2014 real output of this pipeline: 4-page A4 PDF, PDF metadata Title 'output.html' (the pipeline's fixed intermediate filename), Creator 'HeadlessChrome/145.0.0.0' (Chrome print-to-pdf, matches scripts/generate.sh Step 2), CreationDate 2026-04-20T22:56:51+02:00; pdftotext shows the 'MACHINE.MACHINE' cover logo and MM design-system markup" + }, + { + "excerpt": "pdftotext footer: 'Machine.Machine \u2014 Confidential' page-number footer matches templates/dark.css `@bottom-center`/`@bottom-right` rules", + "machine": "m2", + "source": "/home/m2/spark-cluster-old/fabric-setup.pdf + fabric-setup.html \u2014 second real generated pair, 4-page A4 PDF titled 'DGX Spark Cluster \u2014 Fabric Setup Reference', same HeadlessChrome/145.0.0.0 print-to-pdf signature, CreationDate 2026-04-21T00:09:40+02:00 (12 seconds before this SKILL.md's own mtime, i.e. produced by the exact skill version in this bundle)" + } + ], + "intent": "Give an operator a working branded-document pipeline (proposal PDFs, spec sheets, decks) without building one from scratch.", + "license": { + "major_version_coverage": true, + "terms": "Perpetual use on operator-owned machines for the buyer's own document generation; no redistribution of the skill files as a standalone product." + }, + "name": "MM PDF Report Generator", + "permissions": [ + { + "action": "write", + "target": "~/.claude/skills/mm-pdf/" + }, + { + "action": "exec", + "target": "docker exec/docker cp against a caller-selected container" + } + ], + "price": { + "amount": 40, + "currency": "m2cr", + "model": "fixed" + }, + "revenue_split": { + "platform_pct": 10 + }, + "runtime": { + "surfaces": [ + "claude-code-skill" + ] + }, + "schema_version": "m2.solution.v1", + "seller": "sdjs-operator", + "solution_id": "sol_mm-pdf-report", + "summary": "Generate Machine.Machine branded PDF reports and slide decks from Markdown.", + "tenant_scope": "m2-core", + "tools": [ + { + "kind": "cli", + "name": "docker", + "required": true + } + ] +}