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.
npx skills add nweii/agent-stuff --skill code-to-pantrygit clone --depth 1 https://github.com/nweii/agent-stuffWrote 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.
[](https://agentmods.dev/skills/nweii/agent-stuff/code-to-pantry)<a href="https://agentmods.dev/skills/nweii/agent-stuff/code-to-pantry"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/code-to-pantry/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.
<a href="https://agentmods.dev/skills/nweii/agent-stuff/code-to-pantry"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/code-to-pantry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.01573 |
| Opus 5.5 | $0.00013 | $0.00629 |
| Sonnet 5.5 | $0.00007 | $0.00315 |
| Haiku 4.5 | $0.00003 | $0.00157 |
Grade A, and why
code-to-pantry 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code to pantry
Nathan's pantry (github.com/nweii/pantry) is a personal collection of modular, self-contained code recipes. The goal is to capture the technique, stripped of its original context, in a form that can be dropped into any future project without modification.
Two directions, and the first is one command:
- Looking something up — he wants to know whether the pantry already has a thing, or wants it pulled into the current project. See Looking something up and stop there.
- Putting something in — he's pointing at code worth keeping. Work through Steps 1–4 below.
Looking something up
The pantry ships its own CLI, so neither direction needs the repo cloned:
bunx github:nweii/pantry list
bunx github:nweii/pantry add <name>
list prints every component with its description. add writes the component's source into the current directory — raw source he owns and edits, not a dependency — and names any packages to install.
Read the list before answering whether something exists, rather than answering from memory: the pantry changes without this skill changing. Where a component matches, name it and offer to add it. Where the match is partial, say what the existing one actually does and let him decide between adapting it and building fresh.
Nothing matching is a normal outcome — say so plainly and build the thing. If what gets built turns out to be worth keeping, that's the other direction, and Step 1 starts below.
What makes a good pantry entry
A pantry entry should be:
- Truly abstracted: no variable names, imports, comments, or usage examples that reference the source project. Someone reading the component cold should have no idea where it came from.
- Self-contained: all logic lives in one file; external dependencies are minimal and explicit
- Opinionated defaults: parameterized just enough for useful variation, with sensible defaults that work out of the box without configuration
- Named for the technique, not the use case (e.g.,
grain, notbackground-texture)
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.
- 2mo ago Changed · +4 lines · -46 tokens per session 303e54535275
- 3mo ago First seen · 123 lines · 79 tokens per session scan A b0be0ead6577
code-to-pantry is a skill published in the GitHub repository nweii/agent-stuff (10 stars, last pushed 15d ago), licensed MIT. It adds 33 tokens to every session and 1,573 once invoked, about $0.0001 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.
code-to-pantry compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-to-pantrynweii/agent-stuff | Skill | 10 | 15d ago | MIT | A | 33 | Claude Code, Codex |
| orbit-notionnexu-io/open-design | Skill | 111k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 119k | today | MIT | A | 30 | Claude Code, Codex |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 15d ago | MIT | A | 184 | Claude Code |
| feishuHmbown/CodeWhale | Skill | 41k | 4d ago | MIT | A | 33 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 8d ago | MIT | A | 52 | Claude Code, Codex |