prd-import

prd-import is a skill for Claude Code, Codex from Caspian-Sun/claude-code-workflow. It costs 91 tokens per session (1,602 once invoked), scanned A, original, MIT.

A file-conversion helper that turns Word, Excel, or PowerPoint requirements into Markdown drafts for a product requirements document (PRD). It preserves headings, lists, and tables but does not write the PRD itself.

In plain words
What is it for?
Use it when requirements arrive as .docx, .xlsx, or .pptx files and need to become input for /prd. It does not handle legacy .doc files, PDFs, or images.
Why use it?
It removes the manual work of copying non-Markdown requirements into a format that the PRD workflow can read. It also keeps the converted files in a predictable folder for the next step.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/caspian-sun/claude-code-workflow/prd-import
Any agent
npx skills add Caspian-Sun/claude-code-workflow --skill prd-import
Clone the repo
git clone --depth 1 https://github.com/Caspian-Sun/claude-code-workflow

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for prd-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/caspian-sun/claude-code-workflow/prd-import.svg)](https://agentmods.dev/skills/caspian-sun/claude-code-workflow/prd-import)
Your own site
<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>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 36d809b60a06, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.claude/skills/prd-import/SKILL.md · 148 lines

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>.md with 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/:

Read the full file on GitHub · 148 lines

Files

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.

Changes

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.

  1. 4d ago First seen · 148 lines · 91 tokens per session scan A 36d809b60a06

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

ospec

Document-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.

clawplays/ospec · 26 tokens

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.

mindfold-ai/Trellis · 44 tokens

kn-spec

Use when creating a specification document for a feature (SDD workflow).

knowns-dev/knowns · 17 tokens

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…

proma-ai/Proma · 168 tokens

pdf

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…

proma-ai/Proma · 115 tokens

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…

proma-ai/Proma · 152 tokens