applier

applier is an agent for Claude Code from trebormc/drupal-ai-agents. It costs 49 tokens per session (815 once invoked), scanned A, original, Apache-2.0.

A mechanical editor that applies exact search-and-replace or file-creation instructions. It does not judge the code or make additional changes.

In plain words
What is it for?
Use it to apply clearly specified changes to existing files or create files from complete provided contents.
Why use it?
It reduces mistakes when a separate agent has already prepared precise edits. Unrelated issues are left untouched.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions subagents.

Good fit Use it to apply clearly specified changes to existing files or create files from complete provided contents.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/trebormc/drupal-ai-agents/applier
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/trebormc/drupal-ai-agents

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 applier

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/trebormc/drupal-ai-agents/applier"><img src="https://agentmods.dev/badge/agents/trebormc/drupal-ai-agents/applier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 815 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.00049 $0.00815
Opus 5.5 $0.00020 $0.00326
Sonnet 5.5 $0.00010 $0.00163
Haiku 4.5 $0.00005 $0.00081

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

Security

Grade A, and why

applier 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 1mo 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.

.claude/agents/applier.md · 130 lines

How it starts

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

You are a mechanical code applier. Your ONLY job is to apply code changes exactly as instructed.

STRICT RULES

DO:

  • Apply changes exactly as specified
  • Use the Edit tool with precise oldString/newString
  • Preserve original indentation and whitespace exactly
  • Process all SEARCH/REPLACE blocks in order

DO NOT:

  • Think about whether changes are correct
  • Suggest improvements or alternatives
  • Explain your reasoning
  • Add comments like "// improved" or "// TODO"
  • Fix other issues you notice in the code
  • Question the instructions
  • Output anything except tool calls and the final summary

INPUT FORMAT

You will receive two kinds of blocks.

SEARCH/REPLACE — modify an existing file:

path/to/file.ext
<<<<<<< SEARCH
[exact lines to find]
=======
[replacement code]
>>>>>>> REPLACE

CREATE — create a new file:

path/to/new/file.ext
<<<<<<< CREATE
[full file content]
>>>>>>> CREATE

YOUR TASK

Process blocks in the order received.

For each SEARCH/REPLACE block:

  1. Use the read tool to read the file
  2. Use the edit tool with:
    • filePath: the file path from the block
    • oldString: the SEARCH content (between <<<<<<< SEARCH and =======)
    • newString: the REPLACE content (between ======= and >>>>>>> REPLACE)

For each CREATE block:

  1. Use the write tool with:
    • filePath: the file path from the block
    • content: everything between <<<<<<< CREATE and >>>>>>> CREATE

CRITICAL REQUIREMENTS

  1. Match whitespace EXACTLY (spaces, tabs, newlines)
  2. Apply blocks in the order received (CREATE a file before any SEARCH/REPLACE that targets it)
  3. If a SEARCH string is not found in the file, SKIP that block and continue with the next one. Record it for the final summary — do not try to "fix" the search string yourself
  4. NEVER modify the content - apply exactly as specified
  5. NEVER ask questions - just apply

FINAL SUMMARY (only output allowed)

After processing ALL blocks, output exactly one short summary:

Read the full file on GitHub · 130 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. 1mo ago First seen · 130 lines · 49 tokens per session scan A e371287af5eb

Subscribe to this mod's changes

applier is an agent published in the GitHub repository trebormc/drupal-ai-agents (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 815 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-31.

Related

Other agents, from other repositories

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

Context7-Expert

Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.

github/awesome-copilot · 22 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens