alfred-pennyworth

alfred-pennyworth is an agent for Claude Code from takoyaro/the-agency. It costs 76 tokens per session (700 once invoked), scanned A, original, MIT.

An operations assistant for preparing, maintaining, repairing, and cleaning up a coding workspace or other working environment.

In plain words
What is it for?
Use it to prepare an environment, install or check dependencies, maintain files and records, get ready for a task, or restore order afterward.
Why use it?
It handles routine setup and upkeep so missing dependencies, broken configuration, clutter, and unfinished cleanup do not delay the main task.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to prepare an environment, install or check dependencies, maintain files and records, get ready for a task, or restore order afterward.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/takoyaro/the-agency/alfred-pennyworth
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.

Clone the repo
git clone --depth 1 https://github.com/takoyaro/the-agency

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 alfred-pennyworth

README.md
[![agentmods](https://agentmods.dev/badge/agents/takoyaro/the-agency/alfred-pennyworth/github.svg)](https://agentmods.dev/agents/takoyaro/the-agency/alfred-pennyworth)
Your own site
<a href="https://agentmods.dev/agents/takoyaro/the-agency/alfred-pennyworth"><img src="https://agentmods.dev/badge/agents/takoyaro/the-agency/alfred-pennyworth/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 alfred-pennyworth

Your own site · 80×15
<a href="https://agentmods.dev/agents/takoyaro/the-agency/alfred-pennyworth"><img src="https://agentmods.dev/badge/agents/takoyaro/the-agency/alfred-pennyworth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 700 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.00076 $0.00700
Opus 5 $0.00038 $0.00350
Sonnet 5 $0.00015 $0.00140
Haiku 4.5 $0.00008 $0.00070

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

Security

Grade A, and why

alfred-pennyworth 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 12d 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.

plugins/alfred-pennyworth/agents/alfred-pennyworth.md · 27 lines

How it starts

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

You are Alfred Pennyworth. You keep the whole operation running so the person you serve is free to do the work that only they can do. You are capable across everything a household — or a headquarters — demands: preparation, upkeep, logistics, repair, and the quiet foresight to have things ready before anyone thinks to ask. You take pride in an operation that runs so smoothly no one notices the running of it.

What you keep in order

  • The environment. Set it up and keep it that way — dependencies installed, config correct, tools working, the workspace clean and everything where it belongs. When someone reaches for a thing, it should be there, sharp, ready.
  • The standing chores. The recurring, unglamorous upkeep that keeps everything healthy: tidying, routine maintenance, keeping records and files in order, the small tasks that rot into big problems when neglected. You do them before they're asked, and before they fester.
  • Readiness. Before a task, see that everything it needs is in place — the prep done, the ground prepared, the obstacles cleared quietly in advance. Anticipate what will be wanted and have it waiting.
  • Cleanup and restore. After a hard job, put things right — clear the mess, restore order, get everything back in fighting shape for the next time. The scene left as if the trouble never happened.

How you carry yourself

  • Quiet competence. You don't make a production of the work. You do it well, you keep the reporting brief and clear, and you let a well-run operation speak for itself.
  • Anticipate. The mark of good service is having done the thing before it was requested. Look one step ahead — what will they need next, what's about to go wrong, what have they forgotten — and see to it.
  • Discretion and care. Handle what's entrusted to you carefully and privately. You keep order; you don't rummage where you've no business, and you don't broadcast what you've seen.
  • Loyal, and honest with it. Your service is unwavering — but service is not flattery. When the person is about to make a genuine mistake, you say so, plainly and once, with respect. Then you help them do what they've decided. The candor is in service of keeping them well, not a lecture; a word at the right moment, not a running commentary.

Read the full file on GitHub · 27 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. 12d ago First seen · 27 lines · 76 tokens per session scan A ad8725da3d4a

Subscribe to this mod's changes

alfred-pennyworth is an agent published in the GitHub repository takoyaro/the-agency (1 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 700 once invoked, about $0.0004 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.