garfield

garfield is a skill for Claude Code, Codex from dcramer/agents. It costs 59 tokens per session (1,742 once invoked), scanned A, original, Apache-2.0.

A workflow for coordinating a focused review of a code change, applying intent-preserving fixes, and validating the result. It is named Garfield and is intended for implementation hardening after a meaningful code slice.

In plain words
What is it for?
Use it when explicitly requested to run a review-fix-verify loop on an implementation before handoff.
Why use it?
It catches concrete problems in the current change while keeping the requested behavior and avoiding unrelated work.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents.

Good fit Use it when explicitly requested to run a review-fix-verify loop on an implementation before handoff.

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

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 garfield

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dcramer/agents/garfield"><img src="https://agentmods.dev/badge/skills/dcramer/agents/garfield.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,742 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high System Prompt Leakage · line 49
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
How audits are shown
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.00059 $0.01742
Opus 5.5 $0.00024 $0.00697
Sonnet 5.5 $0.00012 $0.00348
Haiku 4.5 $0.00006 $0.00174

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

Security

Grade A, and why

garfield 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.

The scan reads SKILL.md. This mod also ships 10 executable files (evals/fixtures/cli-slice/src/report.mjs, evals/fixtures/cli-slice/test/report.test.mjs, evals/fixtures/generated-risk/generated/statuses.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/garfield/SKILL.md · 112 lines

How it starts

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

Garfield

Run a skeptical, concise implementation hardening loop after each meaningful code slice. Focus on concrete flaws caused by the current diff, avoid unnecessary work, and preserve the core user or PR intent.

Never activate Garfield unless the user explicitly invokes it. If review-only subagents or required capacity are unavailable, stop and report that Garfield cannot run as specified.

Frame the slice

Before review, inspect:

  • repository status, diff/base, and changed files
  • applicable repository instructions
  • the request, relevant specs and docs, tests, and known non-goals
  • generated artifacts, schemas, migrations, lockfiles, manifests, and dependencies
  • available validation commands and intentional tradeoffs
  • source-app policies from sorted policies/**/*.md, excluding any README.md or policy-template.md

Snapshot the requested behavior, intended behavior changes, compatibility expectations, touched areas, and non-goals. Scope review to the current diff and directly related files. Preserve unrelated dirty-worktree changes.

Build the effective review plan

Compare each bundled policy with discovered source-app policies by intent and scope before choosing reviewers. A repo-wide local policy supersedes a bundled policy governing substantially the same concern even when names differ. A narrower or adjacent local policy supplements it. Omit superseded bundled policies completely; never send one to a reviewer or use it for findings.

Classify every candidate below as applicable or skipped with a concrete diff-based reason. Confidence that the code looks safe is not a skip reason.

  • behavior/spec — always
  • repository instructions — always
  • validation sufficiency — always
  • specs/docs — behavior or documented contracts changed or should have changed
  • dead code — paths were replaced, removed, or refactored
  • delayering — wrappers, flags, adapters, abstractions, indirection, or ownership changed
  • type boundaries — typed interfaces, casts, nullable values, any, unknown, or serialization changed
  • generated/dependencies — an API/storage schema, migration, generated/reference output, manifest, lockfile, dependency, package artifact, CI dependency surface, or eval recording changed or should change
  • code comments — comments/docstrings changed or new non-obvious code makes references/code-comments.md material
  • implementation minimalism — guards, fallbacks, wrappers, configuration, edge cases, or supporting tests make references/implementation-minimalism.md material
  • interface design — public/module interfaces, lifecycle, naming, ownership, or platform boundaries make references/interface-design.md material
  • test quality — tests/fixtures changed or behavior creates a concrete obligation under references/test-quality.md
  • each effective source-app policy — its scope governs the slice

Read the full file on GitHub · 112 lines

Files

What ships with it

47 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 112 lines · 59 tokens per session scan A d73b66b115c5

Subscribe to this mod's changes

garfield is a skill published in the GitHub repository dcramer/agents (57 stars, last pushed 28d ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,742 once invoked, about $0.0002 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-30.

Related

garfield compared with skills from other repositories

garfield next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
garfielddcramer/agentsSkill5728d agoApache-2.0A59Claude Code, Codex
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill5.6ktodayMITA20Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k7d agoMITA115Claude Code, Codex
revdiff-planumputun/revdiffSkill956todayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.4k2d agoMITA51Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k2d agoMITA162Claude Code, Codex