apply-critique

apply-critique is a skill for Claude Code, Codex from acn-ericlaw/agent-memory. It costs 66 tokens per session (899 once invoked), scanned A, original, Apache-2.0.

A guided process for applying a second reviewer's critique to existing work. It turns the feedback into a small set of planned changes, then checks the result before summarizing what was accepted or rejected.

In plain words
What is it for?
Use it after a fresh-context review to classify issues, apply selected fixes, run builds or tests, and report the outcome.
Why use it?
It prevents review feedback from causing uncontrolled edits and keeps the final changes limited and validated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/acn-ericlaw/agent-memory/apply-critique
Any agent
npx skills add acn-ericlaw/agent-memory --skill apply-critique
Clone the repo
git clone --depth 1 https://github.com/acn-ericlaw/agent-memory

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 apply-critique

README.md
[![agentmods](https://agentmods.dev/badge/skills/acn-ericlaw/agent-memory/apply-critique.svg)](https://agentmods.dev/skills/acn-ericlaw/agent-memory/apply-critique)
Your own site
<a href="https://agentmods.dev/skills/acn-ericlaw/agent-memory/apply-critique"><img src="https://agentmods.dev/badge/skills/acn-ericlaw/agent-memory/apply-critique.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 899 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00066 $0.00899
Opus 5 $0.00033 $0.00449
Sonnet 5 $0.00013 $0.00180
Haiku 4.5 $0.00007 $0.00090

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

Security

Grade A, and why

apply-critique 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 6d 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.

agent-skills/apply-critique/SKILL.md · 77 lines

How it starts

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

apply-critique

⚠️ Tool-managed skill provided by agent-memory (provenance: agent-memory-builtin). Don't edit it in place — it is overwritten on upgrade. To change behavior: fork it under a new skill name, or upstream a genuine fix to the agent-memory project (file an issue in its repo, or bring it to the tool maintainer) for back-port + validation. See SKILLS.md → "Tool-provided (system) skills".

Consumes the critique a clean-memory reviewer hands back from a second-opinion review and turns it into a bounded, validated set of changes — never an open autonomous loop. The critique is advisory: it is one input, gated by deterministic checks and a human decision.

When to use

After a fresh-context reviewer (a clean session or a different vendor) returns a critique of a snapshot you generated with second-opinion. The human points you at the critique (a pasted block or a review-scratch/critique-<UTC>.md file).

What to do

  1. Parse the critique into: critical issues, gaps, design feedback, execution guidance, risks, confidence. (The expected shape is below; tolerate a free-form critique by mapping it onto these buckets.)
  2. Plan a small, focused set of actions — only a handful of scoped changes that address the critical issues and execution guidance. A bounded repair, not a rewrite. State the plan before editing.
  3. Apply the scoped changes.
  4. Validate deterministically:
    • the target's build / tests for code changes;
    • memory-lint (python3 agent-skills/memory-lint/scripts/memory-lint.py) if any memory/ file changed.
    • If neither gate applies (e.g. a docs-only change in a repo with no test suite and no memory/ edit), say so explicitly in the summary — the change then rests on judgment alone, which the human must know. This is exactly the failure mode the deterministic gate exists to prevent, so don't let "no gate fired" pass silently. A failing check blocks the change — fix or revert; do not paper over it.
  5. Summarize applied vs. rejected recommendations and why. A recommendation you disagree with is fine to reject — say so explicitly. A genuine conflict you can't resolve becomes a - [ ] Contradiction: Open Thread (never-pick-a-winner), not a silent overwrite. The human gates the result.
  6. Record it. A critique→repair cycle is a memory-relevant event → write a normal session log with a ## Memory References section (it stays inside the existing ritual, not beside it).

Read the full file on GitHub · 77 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. 6d ago First seen · 77 lines · 66 tokens per session scan A ab059c627ff7

Subscribe to this mod's changes

apply-critique is a skill published in the GitHub repository acn-ericlaw/agent-memory (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 66 tokens to every session and 899 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

reelier-slice

Use when implementing any change to the Reelier authority ledger or Path C compiled-authority code - encodes the evidence-led slice loop, the baseline gate, the RED/GREEN review protocol, and the failure modes that have actually cost slices here.

seldonframe/reelier · 54 tokens

reelier-replay

Freeze a repeatable, tool-call-driven task into a replayable Reelier skill, and replay an existing skill instead of redoing deterministic work. Use after finishing a task that was mostly API/MCP tool calls (data pulls, report generation, deploy checks, CRUD sequences) — never for arbitrary coding/file-edit sessions…

seldonframe/reelier · 75 tokens

reelier-write-safety

Bound and record an agent's writes before granting them. Use when the user is adding or configuring an MCP server, planning to run an agent unattended or on a schedule or in CI, or deciding whether to give an agent write access to a real system. Covers the recorder, the policy seatbelt, approvals, and what a receipt…

seldonframe/reelier · 78 tokens

reelier

Replay recurring deterministic jobs at 0 tokens instead of re-reasoning them every run. For cron/heartbeat tool-call workflows (status checks, data pulls, report generation, CRUD sequences) — record the job once with reelier, then run "npx -y reelier run " on every heartbeat and gate drift with "reelier diff". Never…

seldonframe/reelier · 91 tokens

writing

将共享历史中的已验证事实和计算结果整理成符合受众、格式与长度约束的成稿。.

bojieli/ai-agent-book · 27 tokens

regex-mastery

Use this skill when writing regular expressions, debugging pattern matching,optimizing regex performance, or implementing text validation. Triggers on regex, regular expressions, pattern matching, lookahead, lookbehind, named groups, capture groups, backreferences, and any task requiring text pattern matching.

alibaba/anolisa · 60 tokens