doc-expert

doc-expert is a skill for Claude Code from ming-14/PTY-Agent. It costs 81 tokens per session (1,938 once invoked), scanned A, original, MIT.

A technical writing workflow for producing product and engineering documents, including PRDs, BRDs, HLDs, LLDs, and TDDs. A PRD describes product requirements, a BRD business requirements, an HLD the overall system design, an LLD detailed design, and a TDD the technical design or test approach.

In plain words
What is it for?
It is for writing or reviewing product requirements, business requirements, high-level and low-level designs, technical designs, and other technical solution documents.
Why use it?
It helps organize complex requirements and design decisions into documents that teams can review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for writing or reviewing product requirements, business requirements, high-level and low-level designs, technical designs, and other technical solution documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ming-14/pty-agent/doc-expert
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.

Any agent
npx skills add ming-14/PTY-Agent --skill doc-expert
Clone the repo
git clone --depth 1 https://github.com/ming-14/PTY-Agent

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 doc-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/ming-14/pty-agent/doc-expert/github.svg)](https://agentmods.dev/skills/ming-14/pty-agent/doc-expert)
Your own site
<a href="https://agentmods.dev/skills/ming-14/pty-agent/doc-expert"><img src="https://agentmods.dev/badge/skills/ming-14/pty-agent/doc-expert/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 doc-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/ming-14/pty-agent/doc-expert"><img src="https://agentmods.dev/badge/skills/ming-14/pty-agent/doc-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,938 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.
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.00081 $0.01938
Opus 5.5 $0.00032 $0.00775
Sonnet 5.5 $0.00016 $0.00388
Haiku 4.5 $0.00008 $0.00194

Measured 1mo ago against content hash a7e618f1c39d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-expert 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 1mo 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.

.agents/skills/doc-expert/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Doc Expert

Professional technical documentation authoring for product requirements, business requirements, technical designs, and solution reviews.

Overview

This skill creates well-structured, professionally formatted technical documents. It supports multiple document types with standardized templates, ensures logical rigor, and adapts content depth to the target audience.

Supported Document Types

Type Purpose Target Audience
PRD Product Requirements Document Product teams
BRD Business Requirements Document Business / Management
HLD High-Level Design Architecture team
LLD Low-Level Design Development team
TDD Technical Design Document Cross-functional teams
Solution Review Alternative comparison & recommendation Decision makers

See references/document-structures.md for detailed templates.

Inputs

Parameter Type Required Description
doc_type string Yes Document type: PRD, BRD, HLD, LLD, TDD, or solution-review
topic string Yes Subject or feature to document
context string No Additional context, requirements, or background info
audience string No Target audience: product, business, dev, or mixed
output_path string No Custom output directory or file path (defaults to current directory)

Outputs

Output Type Description
document Markdown Complete structured document in Markdown format
structure list Document outline with sections
placeholders list Missing information marked as [TBD: xxx]
status string "complete" or "needs_info"
file_path string Path to saved document file (user-specified or auto-generated)

Output Format

Documents are saved as .md files:

Default Behavior (No output_path specified)

  • Save to current working directory
  • Auto-generated filename: {DocType}-{Topic}-{YYYYMMDDHHMM}.md
    • Example: PRD-Login-Refactor-202604071430.md

Read the full file on GitHub · 203 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. 1mo ago First seen · 203 lines · 81 tokens per session scan A a7e618f1c39d

Subscribe to this mod's changes

doc-expert is a skill published in the GitHub repository ming-14/PTY-Agent (2 stars, last pushed 24d ago), licensed MIT. It adds 81 tokens to every session and 1,938 once invoked, about $0.0003 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

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli-pptx

Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with…

iOfficeAI/OfficeCLI · 106 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

morph-ppt-3d

3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.

iOfficeAI/OfficeCLI · 37 tokens