jp-report
/install jp-report
Generate a formal Japanese corporate document (日本企業向け正式報告書) from the provided source material.
INPUTS
If $ARGUMENTS is provided, treat it as the source file path or inline content.
Otherwise, ask the user for:
- Source material — file path or pasted content
- Document purpose — e.g. security overview / compliance / product explanation
- Japanese title + English subtitle
- Classification level — 社外秘 / 部外秘 / 社内限り (default: 社外秘)
- Output folder path
- Revision number (default: Rev. 1.0)
STEP 1 — ANALYZE
Read source material. Identify:
- Logical sections → map to 4–6 chapters
- Content types: principles, tables, architecture diagrams, bullet lists
- Brand names / technical terms to preserve verbatim
- Content to exclude (confirm with user if unclear)
STEP 2 — TRANSLATE TO FORMAL JAPANESE
Rewrite all content in 書き言葉・敬体:
- Verb endings: 〜しております / 〜いたします / 〜となっております
- Full grammatical sentences — no fragment bullets inside tables or definitions
- Preserve intact: brand names, acronyms (RBAC, TLS, SSO, BYOK), product names
- Do NOT add certifications (SOC/ISO/GDPR) unless explicitly in source
STEP 3 — PLAN PAGES
Fixed structure:
Page 1 — 表紙 (Cover) : centered layout, one full A4 page
Page 2 — 目次 (TOC) : dotted leaders + page numbers, one full A4 page
Page 3+ — 本文 (Body) : chapters distributed, target one chapter per page
Numbering: 第1章 / 第2章 … (full-width) · Sections: 1.1 / 1.2 … (decimal)
Before writing HTML, calculate content height using the reference in ${CLAUDE_SKILL_DIR}/docs/design-rules.md.
Usable area per page ≈ 980px. State the page plan briefly to the user.
STEP 4 — GENERATE HTML
Write a single self-contained .html file using:
- CSS from
${CLAUDE_SKILL_DIR}/docs/design-rules.md(include verbatim in\x3Cstyle>) - Component HTML from
${CLAUDE_SKILL_DIR}/docs/components.md
Every page must follow this shell:
\x3Cdiv class="page">
\x3Cdiv class="page-body"> \x3C!-- content --> \x3C/div>
\x3Cdiv class="page-footer">
\x3Cdiv class="f-l">[Product / Company]\x3C/div>
\x3Cdiv class="f-c">[Document title] Rev. X.X\x3C/div>
\x3Cdiv class="f-r">[Classification] | [Page #]\x3C/div>
\x3C/div>
\x3C/div>
Cover page body must use:
\x3Cdiv class="page-body" style="display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;">
STEP 5 — GENERATE PDF
Immediately after writing the HTML, run:
python3 ${CLAUDE_SKILL_DIR}/scripts/generate_pdf.py [absolute path to .html]
The script handles Chrome invocation and URL-encodes the path automatically. Report the output line (bytes + path) on success.
QUALITY CHECKLIST
- Cover: content vertically + horizontally centered
- TOC: page numbers match actual layout
- Every
.pagediv has a.page-footer - No bright colors, emoji, or casual language
- PDF generated successfully (bytes confirmed)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install jp-report - After installation, invoke the skill by name or use
/jp-report - Provide required inputs per the skill's parameter spec and get structured output
What is jp-report?
Create formal Japanese corporate HTML and PDF reports from source text for business, compliance, or security documents with structured chapters and professio... It is an AI Agent Skill for Claude Code / OpenClaw, with 153 downloads so far.
How do I install jp-report?
Run "/install jp-report" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is jp-report free?
Yes, jp-report is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does jp-report support?
jp-report is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created jp-report?
It is built and maintained by Anygen Selected Skill (@ken-chy129); the current version is v1.0.1.