plerd: Instructions file for Claude Code

CLAUDE.md

plerd CLAUDE.md is an instructions file for Claude Code from jmacdotorg/plerd. It costs 2,013 tokens per session, scanned A, original, MIT.

Contributor instructions for Plerd, a Perl program that turns Markdown files into a static blog and feed documents. It describes the project, its commands, source layout, and tests.

In plain words
What is it for?
Use it when changing Plerd, building or installing it, running the full test suite, or running the main end-to-end test.
Why use it?
It gives contributors the project context and the commands needed to install dependencies, build the program, and run tests.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is jmacdotorg/plerd's own configuration. It tells Claude Code how to work on plerd 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 plerd configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jmacdotorg/plerd. 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/jmacdotorg/plerd/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/jmacdotorg/plerd

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 plerd CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jmacdotorg/plerd/claude-md/github.svg)](https://agentmods.dev/instructions/jmacdotorg/plerd/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jmacdotorg/plerd/claude-md"><img src="https://agentmods.dev/badge/instructions/jmacdotorg/plerd/claude-md/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 plerd CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jmacdotorg/plerd/claude-md"><img src="https://agentmods.dev/badge/instructions/jmacdotorg/plerd/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,013 This file is loaded in full into every session.
When invoked 2,013 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02013 $0.02013
Opus 5.5 $0.00805 $0.00805
Sonnet 5.5 $0.00403 $0.00403
Haiku 4.5 $0.00201 $0.00201

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

Security

Grade A, and why

plerd CLAUDE.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- runs the body and title through `Markdown::Perl` (a shared converter in GitHub mode, so fenced code blocks, tables, and the rest of GFM work) then `Plerd::SmartyPants`. The converter drops `"` from its HTML-escaped cha
CLAUDE.md · 82 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

Plerd is an ultralight static-blog generator written in Perl (Moose-based). It turns a directory of Markdown source files into a complete static site (per-post HTML, a recent-posts front page, a single archive page, tag pages, and Atom + JSON Feed syndication documents). It is designed to pair with Dropbox: a daemon watches the source directory and republishes on change. Distributed on CPAN as Plerd.

Source code lives in lib/ and bin/.

Commands

Dependencies: cpanm --installdeps . (deps are listed in cpanfile).

Build / install (ExtUtils::MakeMaker is the canonical maker per minil.toml):

perl Makefile.PL && make && make install

Tests (they add ../lib via FindBin, so run with -l):

prove -lv t/                 # whole suite
prove -lv t/basic.t          # a single test file

t/basic.t is the main end-to-end test: it calls Plerd::Init::initialize to scaffold t/testblog/, copies fixtures from t/source_model/ (filenames containing TODAY get the current date substituted), publishes, and asserts on the generated files. t/daemon.t covers plerdwatcher; t/init.t covers scaffolding.

Development workflow

This project follows test-driven development. Whenever appropriate, begin work on a new feature or bug fix by writing a test that captures the desired behavior, and run it first to confirm it fails for the expected reason. Then implement the change and confirm the test passes.

(The fail-first step only applies when the test genuinely precedes the implementation. If a change has already landed and you are adding tests retroactively, just confirm the new tests pass — don't revert working code to manufacture a failing run.)

Comments document the present, never the diff. Don't write comments that narrate a change ("used to do X, now does Y"; "previously gated on…"; "no longer…"). If a comment exists only to record that the code changed, drop it; otherwise restate it as a present-tense reason the current code is the way it is. Watch for history smuggled into single words like "still", "now", or "anymore".

Read the full file on GitHub · 82 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. 2mo ago First seen · 82 lines · 2,013 tokens per session scan A f51f851db889

Subscribe to this mod's changes

plerd CLAUDE.md is an instructions file published in the GitHub repository jmacdotorg/plerd (117 stars, last pushed 3mo ago), licensed MIT. It adds 2,013 tokens to every session, about $0.0081 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

plerd CLAUDE.md compared with instructions from other repositories

plerd CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plerd CLAUDE.mdjmacdotorg/plerdInstructions file1173mo agoMITA2,013Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot