generate-test-content

generate-test-content is a skill for Claude Code, Codex from pnp/sharepoint-skills. It costs 86 tokens per session (773 once invoked), scanned A, original, MIT.

A tool for creating realistic sample items in SharePoint lists and document libraries. SharePoint is Microsoft's service for storing shared lists and files, and the tool first examines the location's fields or document requirements.

In plain words
What is it for?
Use it to populate a SharePoint list with sample records or a document library with dummy Word, Excel, PowerPoint, PDF, or other requested files.
Why use it?
It avoids creating dummy data that conflicts with the real structure, required fields, dates, choices, or lookup fields. It also shows five proposed items for approval before creating the requested content.

Skill for Claude CodeCodex

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

Good fit Use it to populate a SharePoint list with sample records or a document library with dummy Word, Excel, PowerPoint, PDF, or other requested files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pnp/sharepoint-skills/generate-test-content
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 pnp/sharepoint-skills --skill generate-test-content
Clone the repo
git clone --depth 1 https://github.com/pnp/sharepoint-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 generate-test-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/sharepoint-skills/generate-test-content/github.svg)](https://agentmods.dev/skills/pnp/sharepoint-skills/generate-test-content)
Your own site
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/generate-test-content"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/generate-test-content/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 generate-test-content

Your own site · 80×15
<a href="https://agentmods.dev/skills/pnp/sharepoint-skills/generate-test-content"><img src="https://agentmods.dev/badge/skills/pnp/sharepoint-skills/generate-test-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 773 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.00086 $0.00773
Opus 5.5 $0.00034 $0.00309
Sonnet 5.5 $0.00017 $0.00155
Haiku 4.5 $0.00009 $0.00077

Measured 4d ago against content hash 8cab3d893937, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-test-content 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.

Skills/generate-test-content/generate-test-content/SKILL.md · 62 lines

How it starts

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

Generate Test Content

When to use

Use this skill when a user asks to add realistic dummy, sample, or test content to the current SharePoint list or document library.

Inputs

  • Current SharePoint list or document library.
  • Requested item count. Default to 10 when the user doesn't specify a number.
  • For document libraries, the document type or types required. Ask the user before preparing the preview if they haven't specified it.

Steps

  1. Identify whether the current location is a SharePoint list or document library.
  2. For a list, inspect the real column schema and sample values before drafting content. Create realistic values that match the actual field types, required fields, choices, lookup/person fields, and list purpose. Format every date value as M/d/yyyy.
  3. For a document library, ask which document type or types the user needs when not already specified. Support realistic dummy Word, Excel, PowerPoint, PDF, or other requested document formats. Use descriptive filenames and content appropriate to the library's apparent purpose.
  4. Prepare exactly five representative proposed items as a preview. Do not create files or list items yet.
  5. Show the five-item preview in a table. For list items, show the key fields and values. For documents, show filename, type, and a short content summary.
  6. Ask for approval after the preview. State the total that will be created: the user-requested quantity, or 10 by default.
  7. Only after approval, create the requested number of entries or documents. If the user hasn't specified a number, create 10.
  8. Verify the create operation succeeded and report the number created along with a concise inventory. If creation partially fails, state exactly what was created and what failed; don't claim success for missing items.

Output format

Preview

State that five proposed items are ready for review, then provide a table.

For a list:

Title Key field 1 Key field 2 Date

For a document library:

Filename Type Content summary

Read the full file on GitHub · 62 lines

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 · 62 lines · 86 tokens per session scan A 8cab3d893937

Subscribe to this mod's changes

generate-test-content is a skill published in the GitHub repository pnp/sharepoint-skills (137 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 773 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-13.

Related

Other skills, from other repositories

html-ppt-obsidian-claude-gradient

OpenDesign's enterprise AI-adoption brief: local-first agents at work, the risk controls, the ROI, and the rollout plan. Built as a decision-grade AI literacy deck for leadership, IT, security.

nexu-io/open-design · 53 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

skill-deck

Generate slide deck presentations from briefs — use when you need slides, pitch decks, or visual summaries.

nyldn/claude-octopus · 23 tokens

speech-to-text

Transcribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.

calesthio/OpenMontage · 37 tokens

msgraph-files

Read OneDrive and SharePoint files via the Microsoft 365 MCP server — list folder contents, fetch item metadata, inspect versions and sharing permissions. Use when locating a document in OneDrive/SharePoint, checking who a file is shared with, or reviewing file version history.

automateyournetwork/netclaw · 58 tokens

managedcode-markitdown

Use ManagedCode.MarkItDown when a .NET application needs deterministic document-to-Markdown conversion for ingestion, indexing, summarization, or content-processing workflows. USE FOR: ManagedCode.MarkItDown integration; document ingestion flows; Office or rich-text conversion to Markdown; indexing and summarization…

managedcode/dotnet-skills · 113 tokens