claude-code-workflow: Skill for Claude Code

.claude/skills/prd-import/SKILL.md

prd-import is a skill for Claude Code 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 Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is Caspian-Sun/claude-code-workflow's own configuration. It tells Claude Code how to work on claude-code-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-workflow configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node workspace/scripts/prd-import.mjs <input file path>.

Reuse

Borrowing it

Nothing to install: this file belongs to Caspian-Sun/claude-code-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Caspian-Sun/claude-code-workflow/main/.claude/skills/prd-import/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Caspian-Sun/claude-code-workflow

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prd-import

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Output Handling · line 123
    Output size or generation rate is not bounded. Unbounded output enables denial-of-service through resource exhaustion, log flooding, or context-window stuffing.
    Fix: Set explicit limits on output length, generation count, and rate. Use max_tokens and truncation to prevent unbounded output.
How audits are shown
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.1 $0.00091 $0.01602
Opus 5.5 $0.00036 $0.00641
Sonnet 5.5 $0.00018 $0.00320
Haiku 4.5 $0.00009 $0.00160

Measured 2mo ago against content hash 36d809b60a06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 1mo ago), licensed MIT. It adds 91 tokens to every session and 1,602 once invoked, about $0.0004 per session on Opus 5.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

ppt-review

Read this skill before the first deck or output quality review, so its criteria are available when the rendered images arrive. Apply the criteria to current officereview structural output and relevant rendered images. Do not use source code, a tool success flag, or the first-slide preview as a substitute for deck…

Orkas-AI/Orkas · 2 tokens

ppt-router

Read this skill first and alone for every PptMaker request. Lock the route before reading ppt-planner, ppt-craft, ppt-review, or the shared office-ppt Skill.

Orkas-AI/Orkas · 2 tokens

material-organizer

Organize only the materials the user has already provided or explicitly pointed to. The job is to make messy inputs easier to scan, reuse, archive, or continue from later while preserving source traceability.

Orkas-AI/Orkas · 3 tokens

iso-13485-certification

Comprehensive toolkit for preparing ISO 13485 certification documentation for medical device Quality Management Systems. Use when users need help with ISO 13485 QMS documentation, including (1) conducting gap analysis of existing documentation, (2) creating Quality Manuals, (3) developing required procedures and work…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

office-word

Use the bundled Office tools as the default path. Do not install OfficeCLI or document libraries when these tools are available.

Orkas-AI/Orkas · 2 tokens

office-ppt

Use the bundled Office tools as the default path. Do not install OfficeCLI or python-pptx when these tools are available.

Orkas-AI/Orkas · 3 tokens