/yonsei-certificate-assistant:yonsei-certificate-assistantfrom 연세 증명서 발급 도우미
Decodes Yonsei University icert dzreportx tickets and renders FP3/PDF output via a local compatibility printer on Windows, macOS, or Linux. Diagnoses ReportX localhost:65432 failures and supports the free-print issuance path.
Ships in 연세 증명서 발급 도우미. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill for the free-print path on Windows, macOS, or Linux:
인터넷증명서 → 인터넷즉시발급 → 프린터 출력
The implementation is a compatibility experiment for a user's own authenticated issuance session. It does not create, edit, or certify a document.
The official page posts PREVIEWENC and gives the result to:
http://127.0.0.1:65432/SSO?PARAM=dzreportx:…
Static clean-room analysis of the current Yonsei installer and a normal, user-authorized live issuance established:
dzreportx: strip
→ "||" plaintext diagnostic form, or Base64 + ARIA-192-ECB
→ vendor ARIA-192-ECB key schedule
→ key = first 24 ASCII bytes of md5("10001").hexdigest()
→ little-endian uint32 payload length
→ "|" query separators restored to "&"
→ command URL and URLFile/URLPost fields parsed
For SHOWREPORT and SHOWREPORT_PRINTAUTO, ReportX constructs:
http://{URLFile}?TPID={TPID}&MIN_NO={MINNO}&GIWAN_NO={GIWAN_NO}
The current Yonsei ticket uses
icert.yonsei.ac.kr/ys1.0/jsp/report/sendfile.jsp. The broker upgrades the
ticket host/path to HTTPS, follows no redirects, and accepts only the tracked
response. URLFile and URLCheck share one in-memory cookie jar, matching the
single WinINet session used by ReportX; cookies are never persisted or exposed.
The accepted non-PDF response has a second recovered container layer:
ARIA-192-ECB key = first 24 ASCII bytes of md5(MINNO).hexdigest()
→ LE32 compressed length + zlib bytes + zero cipher padding
→ zlib inflate
→ LE32 primary length + primary bytes
→ LE32 additional count
→ repeated LE32 length + component bytes
The Windows path loads the primary as a FastReport VCL 4.7.109
prepared-report XML stream with FP3 semantics and uses additional streams as
image sidecars. It has no compiled PDF exporter path. The bundled
render-reportx-fp3-pdf skill implements the bounded prepared-page subset
observed in the live Yonsei response.
Before rendering a printable page, ReportX performs two extra mutations:
URLCheck reserves one 16-character verification number. Its response is
a 1,000-byte Windows buffer: exactly 16 safe ASCII characters followed only
by NUL padding. The number is formatted xxxx-xxxx-xxxx-xxxx and replaces
the ten-digit __SERIAL__ placeholder.__LOGO1__ receives the 원본 bitmap embedded in the exact official
REPORTX.exe. The skill distributes no vendor image; it extracts and
validates the asset from the pinned Yonsei installer in the user's cache.URLCheck can allocate state even though it is a GET. The agent writes a
durable no-retry guard before the request. URLPost/printcomplete.jsp is a
separate completion boundary. With --notify-print-completion, it is recorded
and called exactly once only after the PDF has been durably saved, re-read, and
matched to the expected digest. A timeout or uncertain response is never
retried.
For issuance, prewarm as soon as the skill is invoked. This emits the official Portal URL for Codex Computer Use and prepares the cold path while the student answers the single intake batch and completes visible login:
python3 "$SKILL_DIR/scripts/icert_print.py" start
The CLI never launches or manipulates a browser. Use Codex Computer Use in the student's current browser for the emitted official URL, login, visible selection, and one final click. Do not use Orca, AppleScript, JXA, coordinate automation, or a separate Chrome profile.
Capture missing choices and issuance authorization in the initial login pause.
A fully specified prompt that explicitly commands issuance already provides
that authorization. Validate the complete review internally and never ask for
a second reply. Then run the single continuing command. It reuses the prewarmed
agent, arms once, emits a
machine-readable Computer Use handoff, correlates the job by the exact
arm_id, waits for that job only, verifies the saved digest, and exports to a
new destination without overwriting different bytes:
python3 "$SKILL_DIR/scripts/icert_print.py" issue \
--request "<complete-request-json>" \
--output "<new-pdf-destination>" \
--confirm
purpose is optional. A transcript request must settle rank inclusion,
conversion inclusion, and the observed 4.5 conversion scale when selected.
Login state is determined from the visible page through Computer Use, not by
asking the student to describe cookies or credentials. There is no second
confirmation and no separate doctor/open/arm/wait/status/copy sequence.
The one-minute objective is the confirmed, visibly logged-in hot path with
cached assets. First-use exact-hash download and extraction happen during the
initial intake/login pause and must complete before any document number is
reserved. issue performs no cold download and uses one overall command-start
deadline capped at 55 seconds, preserving export margin. This is an
implementation budget until a representative live issuance is measured.
If either bundled font is missing or its pinned hash differs, stop before a
live request. --title-font and --body-font remain development overrides but
must match the released authorized hashes. The lower-level agent, arm,
wait-job JOB_ID, and status commands remain diagnosis tools, not the normal
issuance flow.
The cross-platform compatibility path needs no DevTools bridge, cookie export, VM, or extra Windows machine. For a PDF on Windows, use this local path; use the official native ReportX component only for a named physical printer.
Private state is under:
~/.cache/yonsei-certificate-assistant/{agent.token,jobs,output,reservations,official-assets}
| status | Meaning |
|---|---|
decoded_network_disabled | Ticket decoded and URLFile reconstructed; no request made |
server_report_official_assets_required | Live runtime placeholders were found, but pinned official assets were not prepared |
server_report_document_number_required | FP3 was decoded, but URLCheck reservation was not explicitly enabled |
server_report_fonts_required | Both official Yonsei title/body TTF files were not available; no document number was reserved |
document_number_reservation_unknown | URLCheck started but no valid response was retained; retry is blocked |
server_report_saved_unrendered | Exact server response saved as .reportx, but its outer container was not decoded |
server_report_decoded_unrendered | Outer container decoded, but profile or renderer rejected unsupported semantics |
server_report_rendered_pdf_unverified | Runtime placeholders were materialized and a compatibility PDF was rendered; inspect document_number.completion_notified separately |
server_pdf_saved_unverified | Exact server response is a complete PDF container; official document verification was not performed |
server_document_reused_unverified | This exact arm correlated to a recent identical durable PDF; require its path, digest, and prior completion semantics before acceptance |
decode_failed | Ticket failed a strict framing, cipher, URL, command, or host check |
transport_failed | Allowlisted request did not complete |
protocol_failed | Response failed status, redirect, size, identity, or broker checks |
Never call a PDF “official,” “original,” or “verified” from %PDF structure
alone. Yonsei original verification and the receiving institution's submission
rules remain separate.
The protocol worker never calls CUPS. Only an already saved PDF container can be submitted, once, to a named printer with an explicit digest recheck:
python3 "$SKILL_DIR/scripts/icert_print.py" \
print-job JOB_ID --printer "PRINTER_NAME" --confirm
The authenticated free-print transaction's completion acknowledgement is sent
after the durable PDF save, before any optional physical printing. CUPS
submission is therefore a separate local action and never sends a second
printcomplete. An unrendered .reportx response is not printable through
this command.
--allow-fetch) requires a token-authorized, one-shot,
120-second arm for every /SSO submission, including an exact icert Origin.
Decode-only diagnosis may accept the exact Origin without a live arm./SSO requires a non-empty, valid dzreportx: envelope./GETCRYPTARIA is unsupported; the official local service has no usable
decrypt endpoint.X-Agent-Token and reject browser Origin.0700; token, manifest, and artifact files are 0600.YonseiB and
YonseiL TrueType faces. Map title/body roles separately, embed only those
bytes in the PDF, expose their hashes, and reject any other PDF font.unknown and cannot be retried automatically.not_performed; printing never changes that state.startxref target, catalog root, and object framing. This remains structural
validation only and never changes the unverified state.python3 -B -m unittest -v \
tests/test_reportx_protocol.py \
tests/test_reportx_protocol_v1.py \
tests/test_reportx_document_v1.py \
tests/test_reportx_mac_agent.py \
tests/test_reportx_runtime_profile.py \
tests/test_fp3_pdf.py
See references/icert-print.md for binary hashes, offsets, and evidence
boundaries.
agents/openai.yaml (opens in a new tab)assets/fonts/NOTICE.txt (opens in a new tab)assets/fonts/연세본문.TTF (opens in a new tab)assets/fonts/연세제목.TTF (opens in a new tab)references/icert-print.md (opens in a new tab)references/services.json (opens in a new tab)scripts/diagnose_print_env.py (opens in a new tab)scripts/icert_print.py (opens in a new tab)scripts/reportx_document_v1.py (opens in a new tab)scripts/reportx_mac_agent.py (opens in a new tab)scripts/reportx_protocol.py (opens in a new tab)scripts/reportx_protocol_v1.py (opens in a new tab)scripts/reportx_runtime_profile.py (opens in a new tab)scripts/yonsei_service.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
yonsei-icert, reportx, certificate-printing, fp3-renderer, aria-192-ecb
4 skills in this plugin
/issue-yonsei-certificateComplete Yonsei 무료 인터넷즉시발급 on Windows, macOS, or Linux by selecting the certificate, choosing 프린터 출력, and saving that free-print result through a PDF virtual printer or compatible local PDF printer; optionally print the saved result physically after confirmation. Use when a student asks 증명서 무료 PDF 발급, PDF로 가상 인쇄, or to issue a Yonsei certificate end to end./issue-yonsei-student-activity-documentsLocate and issue Yonsei student-activity, ambassador, resident-assistant, education-practicum, tuition-payment, dorm, and other campus participation records through the official browser, preserving document fonts and verifying the final file. Use when a student needs a non-transcript campus document or confirmation./render-reportx-fp3-pdfRender a decoded ReportX/FastReport VCL prepared-report FP3 XML stream into a local PDF on Windows, macOS, or Linux without native ReportX, a browser, or a physical printer. Use when a Yonsei icert ReportX response has already been decrypted into a primary FP3 component plus image components, when inspecting FP3 classes and resources, or when validating a compatibility PDF before an explicit print. Do not use to create or alter certificate content, render FR3 templates, bypass issuance, or claim that the PDF is an officially verified original.npx claudepluginhub mrcha033/yonsei-skills --plugin yonsei-certificate-assistantOther plugins' skills for the same job