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.
npx agentmods add skills/caspian-sun/claude-code-workflow/prd-importnpx skills add Caspian-Sun/claude-code-workflow --skill prd-importgit clone --depth 1 https://github.com/Caspian-Sun/claude-code-workflowWrote 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/skills/caspian-sun/claude-code-workflow/prd-import)<a href="https://agentmods.dev/skills/caspian-sun/claude-code-workflow/prd-import"><img src="https://agentmods.dev/badge/skills/caspian-sun/claude-code-workflow/prd-import.svg" alt="Measured on agentmods" 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 | $0.00091 | $0.01602 |
| Opus 5 | $0.00046 | $0.00801 |
| Sonnet 5 | $0.00018 | $0.00320 |
| Haiku 4.5 | $0.00009 | $0.00160 |
Grade A, and why
prd-import 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 4d 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
prd-import — Requirements Document Format Conversion
Converts non-markdown requirements (Word / Excel / PPT) provided by the backend or PM into markdown, saved to docs/prds/_imports/, for use as source input by the /prd command.
Scope of Responsibility
Does:
- Detect the input file format and invoke the corresponding script to convert it to markdown
- Preserve structure (headings / lists / tables), discard styles
- Save the output to
docs/prds/_imports/<basename>-<date>.mdwith a conversion metadata header - Prompt the next step:
/prd @<output path>
Does NOT:
- ❌ Directly generate a PRD draft — that is
/prd's job; this skill only handles "translation" - ❌ Perform any business judgment / rule inference / field completeness checks
- ❌ Modify any workspace code
- ❌ Process .pdf / images — Claude Code natively supports these; run
/prd @<pdf or image>directly
Supported Input Types
| Format | Supported | Conversion Library | Notes |
|---|---|---|---|
.docx |
✅ | mammoth | Word 2007+ format |
.doc |
❌ | — | Legacy Word format; please "Save As .docx" first |
.xlsx |
✅ | xlsx | Each sheet is converted into a markdown table |
.xls |
❌ | — | Legacy Excel format; please save as .xlsx |
.pptx |
✅ (best-effort) | built-in unzip | Text extracted per slide; layout not preserved |
.md / .txt |
✅ | pass-through | Copied directly with a conversion header added |
.pdf |
❌ (use native) | — | Run /prd @<file>.pdf directly |
| Images (.png/.jpg) | ❌ (use native) | — | Run /prd @<file>.png directly |
| Online docs (Feishu/Notion/Yuque/Google Docs, etc.) | ❌ (export first) | — | Export from the platform as .md or .docx, then follow the table above. See references/formats.md |
For detailed format notes and known issues, see references/formats.md.
Execution Flow
Step 1: Pre-flight Check (First Use)
Dependencies are installed in workspace/:
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 148 lines · 91 tokens per session scan A 36d809b60a06
prd-import is a skill published in the GitHub repository Caspian-Sun/claude-code-workflow (10 stars, last pushed 3d ago), licensed MIT. It adds 91 tokens to every session and 1,602 once invoked, about $0.0005 per session on Opus 5. 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 skills, from other repositories
ospec
Document-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
create-manifest
Create a Trellis migration manifest and matching docs-site changelogs for a target release by analyzing commits since the previous release. Use when preparing a patch, beta, rc, or minor release manifest.
kn-spec
Use when creating a specification document for a feature (SDD workflow).
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…
Use this skill whenever the user mentions a PDF file or asks to produce/edit one. For read-only tasks such as reading, summarizing, extracting plain text, or answering questions from a PDF, follow this skill's read-only routing rules: use the built-in Read tool first, do not write code or scripts, and prefer…
pptx
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying…