content-generator

content-generator is a skill for Claude Code, Codex from Jacobinwwey/notemdpro. It costs 24 tokens per session (1,373 once invoked), scanned A, original, MIT.

A tool for turning a note title into a detailed Markdown document, optionally using web research for context.

In plain words
What is it for?
Use it to create new notes, expand outlines, write technical documentation, or produce research-based summaries.
Why use it?
It fills out sparse notes and can automatically clean up LaTeX equations and repair Mermaid diagrams, which are text-based diagrams.

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/jacobinwwey/notemdpro/content-generator
Any agent
npx skills add Jacobinwwey/notemdpro --skill content-generator
Clone the repo
git clone --depth 1 https://github.com/Jacobinwwey/notemdpro

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 content-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/content-generator.svg)](https://agentmods.dev/skills/jacobinwwey/notemdpro/content-generator)
Your own site
<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/content-generator"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/content-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 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.1 $0.00024 $0.01373
Opus 5 $0.00012 $0.00687
Sonnet 5 $0.00005 $0.00275
Haiku 4.5 $0.00002 $0.00137

Measured 5d ago against content hash 15d4ab0480d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

content-generator 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 5d 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/content-generator/SKILL.md · 181 lines

How it starts

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

NoteMD Pro - Generate Content from Title

Overview

This feature generates comprehensive content for a note based solely on its title. It can optionally perform web research first, then generates detailed documentation including explanations, tables, equations (LaTeX), and Mermaid diagrams.

When to Use

  • Create new notes: Generate detailed content from a title
  • Expand outlines: Turn brief titles into full documents
  • Research summaries: Get comprehensive overviews with web context
  • Technical docs: Generate scientific/technical documentation

Function Call Chain

generateContentForTitle (fileUtils.ts)
├── getProviderForTask('generateTitle', settings)
├── _performResearch(app, settings, title, reporter)  [IF enabled]
│   ├── SearchManager.getProvider
│   ├── provider.search(query)
│   └── fetchContentFromUrl(url)
├── call[Provider]API(prompt, title + researchContext)
├── cleanupLatexDelimiters(content)
├── refineMermaidBlocks(content)  ← AUTO-FIX
└── fixMermaidSyntaxInFile(outputPath, reporter)  ← AUTO-RUN AFTER LLM
    └── checkMermaidErrors(content)

Key Functions (from fileUtils.ts)

generateContentForTitle

Generates content for a note based on its title using LLM.

export async function generateContentForTitle(
  settings: NotemdSettings,
  inputPath: string,
  progressReporter: ProgressReporter,
);

batchGenerateContentForTitles

Batch generates content for all markdown files in a folder.

export async function batchGenerateContentForTitles(
  settings: NotemdSettings,
  folderPath: string,
  progressReporter: ProgressReporter,
);
// Flow:
// 1. Get all .md files in folder
// 2. Create "complete" output folder
// 3. Process files (serial or parallel based on settings)
// 4. Move processed files to complete folder

fixMermaidSyntaxInFile

Fixes Mermaid syntax in a file (auto-run after generation).

export async function fixMermaidSyntaxInFile(
  filePath: string,
  reporter: ProgressReporter,
): Promise<boolean>;

Read the full file on GitHub · 181 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. 5d ago First seen · 181 lines · 24 tokens per session scan A 15d4ab0480d4

Subscribe to this mod's changes

content-generator is a skill published in the GitHub repository Jacobinwwey/notemdpro (2 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 1,373 once invoked, about $0.0001 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

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

cost-optimization

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens