4-refactorer

4-refactorer is an agent for Claude Code from Aam-Digital/ndb-core. It costs 0 tokens per session (921 once invoked), scanned A, original, GPL-3.0.

A code-review and refactoring assistant for Aam Digital's ndb-core project. Refactoring means improving code structure without changing what the software is meant to do.

In plain words
What is it for?
It is for reviewing Angular and TypeScript code, checking project conventions, and identifying opportunities to simplify or improve the code.
Why use it?
It helps find code that is difficult to maintain or does not follow the project's conventions before it causes larger problems.

Agent for Claude Code

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 agents/aam-digital/ndb-core/4-refactorer
Clone the repo
git clone --depth 1 https://github.com/Aam-Digital/ndb-core

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 4-refactorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/aam-digital/ndb-core/4-refactorer.svg)](https://agentmods.dev/agents/aam-digital/ndb-core/4-refactorer)
Your own site
<a href="https://agentmods.dev/agents/aam-digital/ndb-core/4-refactorer"><img src="https://agentmods.dev/badge/agents/aam-digital/ndb-core/4-refactorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00000 $0.00921
Opus 5 $0.00000 $0.00461
Sonnet 5 $0.00000 $0.00184
Haiku 4.5 $0.00000 $0.00092

Measured 5d ago against content hash 97cf3ef1fc72, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

4-refactorer 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 5d 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/4-refactorer.md · 86 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 5d ago First seen · 86 lines · 0 tokens per session scan A 97cf3ef1fc72

Subscribe to this mod's changes

4-refactorer is an agent published in the GitHub repository Aam-Digital/ndb-core (94 stars, last pushed 5d ago), licensed GPL-3.0. It costs nothing until one of its globs matches a file; then it loads 921 tokens. 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

Other agents, from other repositories

agent-request-queue

一次 Agent 运行可能包含多次模型调用、知识库检索、工具执行和文件操作。为了避免同一对话同时修改同一份上下文,Yuxi 把“收到请求”和“开始运行”分成两个阶段,并为每个线程维护 FIFO 队列。.

xerrors/Yuxi · 0 tokens

env_var_migration.ur

یہ ٹریکر پیداوار کا سامنا کرنے والے ماحول سے متصادم ٹوگل کا خلاصہ پیش کرتا ہے docs/source/agents/envvarinventory.{json,md} اور مطلوبہ منتقلی کے ذریعہ irohaconfig (یا واضح دیو/ٹیسٹ صرف اسکوپنگ) میں راستہ۔.

hyperledger-iroha/iroha · 0 tokens

env_var_migration

This tracker summarizes production-facing environment-variable toggles surfaced by docs/source/agents/envvarinventory.{json,md} and the intended migration path into irohaconfig (or explicit dev/test-only scoping).

hyperledger-iroha/iroha · 0 tokens

frontend-engineer

Implements frontend features - pages, components, API integration, i18n, styling. Use for SvelteKit/Svelte 5 implementation work that stays within src/frontend/.

fpindej/netrock · 39 tokens

missing_docs_inventory.fr

Généré par scripts/inventorymissingdocs.py. Ne modifiez pas manuellement ; exécutez le script après avoir touché les caisses pour actualiser l'inventaire.

hyperledger-iroha/iroha · 0 tokens

env_var_inventory.hy

Վերջին անգամ թարմացվել է python3 scripts/inventoryenvtoggles.py --json docs/source/agents/envvarinventory.json --md docs/source/agents/envvarinventory.md-ի միջոցով.

hyperledger-iroha/iroha · 0 tokens