ncr-draft

ncr-draft is a skill for Claude Code, Codex from microsoft/cat-agent-skills. It costs 66 tokens per session (472 once invoked), scanned A, original, MIT.

A document-drafting step that creates a nonconformance report, or NCR, and an inspection summary from reviewed quality data. An NCR records what failed, the evidence, and the proposed handling of the affected lot.

In plain words
What is it for?
It helps produce lot identification, defect details, characteristic tables, grading, watch lists, containment actions, and a CAPA handoff note.
Why use it?
It avoids retyping inspection results and defect decisions into a report. It keeps numeric claims and grades tied to the source data and marks the result as a draft for quality approval.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit It helps produce lot identification, defect details, characteristic tables, grading, watch lists, containment actions, and a CAPA handoff note.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/cat-agent-skills/ncr-draft
About the project

microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.

microsoft/cat-agent-skills · 93 stars · on GitHub

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 microsoft/cat-agent-skills --skill ncr-draft
Clone the repo
git clone --depth 1 https://github.com/microsoft/cat-agent-skills

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 ncr-draft

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/ncr-draft/github.svg)](https://agentmods.dev/skills/microsoft/cat-agent-skills/ncr-draft)
Your own site
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/ncr-draft"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/ncr-draft/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 ncr-draft

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/ncr-draft"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/ncr-draft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 472 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.00066 $0.00472
Opus 5.5 $0.00026 $0.00189
Sonnet 5.5 $0.00013 $0.00094
Haiku 4.5 $0.00007 $0.00047

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

Security

Grade A, and why

ncr-draft 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 today.

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.

submissions/quality-inspection/skills/ncr-draft/SKILL.md · 32 lines

What it actually says

NCR Draft

Purpose

Produce the terminal artifact: NCR + inspection summary rendered from templates/ncr-template.md, populated only from the contract payload.

When to use

After defect-grade whenever graded_defects[] is non-empty; on request for an inspection summary even with zero defects (accept lot).

Inputs

graded.json (contract mfg.quality-inspection.v1, the {graded_defects} hop).

Steps

  1. Validate input against the contract; surface escalations[] - document conflicts (#4.3) and borderline calls (#4.2) go in a visible "Open escalations" block above the disposition.
  2. Fill templates/ncr-template.md: lot identification, nonconformance description with statistics, full characteristic table, grading with rule citations, watch list, draft-first containment actions, CAPA handoff note, contract payload as appendix.
  3. Render to the requested format (markdown by default; other formats via the template).
  4. Mark the document DRAFT - pending QE approval.

Output

NCR-.md - the terminal artifact of the contract flow.

Grounding requirements

Every numeric claim traces to engine:tolerance_check; every grade cites its rule section; certificate conflicts cite the CoC document ID and ISO 9001 8.4.3.

Constraints

  • Draft-first: no containment is executed and nothing is filed or sent; the draft is a recommendation for the quality engineer.
  • Nothing appears in the NCR that is not in the contract payload.
  • Scope ends at the NCR; corrective/preventive action belongs to Quality Incident & CAPA (Wave 2).

Escalation / uncertainty

If escalations[] is non-empty the NCR must lead with them; an NCR with an unresolved #4.3 conflict is never presented as ready to close.

Files

What ships with it

5 files 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. today First seen · 32 lines · 66 tokens per session scan A ad3773d3deea

Subscribe to this mod's changes

ncr-draft is a skill published in the GitHub repository microsoft/cat-agent-skills (93 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 472 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-10-28.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens