spark-web: Agent for Claude Code

.claude/agents/refactoring-assistant.md

refactoring-assistant is an agent for Claude Code from leboncoin/spark-web. It costs 0 tokens per session (10 once invoked), scanned A, original, MIT.

An assistant for restructuring existing code, documented in a referenced agent file.

In plain words
What is it for?
It is intended for code-refactoring work, but the supplied information does not provide more specific jobs.
Why use it?
The available description does not say which refactoring tasks or methods it supports.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is leboncoin/spark-web's own configuration. It tells Claude Code how to work on spark-web itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spark-web configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leboncoin/spark-web. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leboncoin/spark-web/main/.claude/agents/refactoring-assistant.md
Clone the repo
git clone --depth 1 https://github.com/leboncoin/spark-web

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 refactoring-assistant

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/leboncoin/spark-web/refactoring-assistant"><img src="https://agentmods.dev/badge/agents/leboncoin/spark-web/refactoring-assistant.svg" alt="Reviewed on agentmods" width="80" 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 10 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.00000 $0.00010
Opus 5.5 $0.00000 $0.00004
Sonnet 5.5 $0.00000 $0.00002
Haiku 4.5 $0.00000 $0.00001

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

Security

Grade A, and why

refactoring-assistant 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/refactoring-assistant.md · 1 lines

What it actually says

../../.cursor/agents/refactoring-assistant.md

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 · 1 lines · 0 tokens per session scan A adfd6e82179d

Subscribe to this mod's changes

refactoring-assistant is an agent published in the GitHub repository leboncoin/spark-web (94 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 10 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-09-05.

Related

Other agents, from other repositories

frontend-engineer

Generates production-grade frontend code (React, Next.js, Vue, Blade+Alpine, vanilla HTML, Astro) with anti-AI-slop discipline. Dispatched by /ux-design, /ux-component, /ux-dashboard, /ux-fix. Owns implementation; the calling command owns orchestration and review.

Laith0003/ux-skill · 69 tokens

7onic-design-agent

Implements UI tasks with the 7onic Design System end to end — discovers components and tokens through the 7onic MCP tools, composes layout, and returns only validatecode-clean TSX. Use for delegated page/screen/component builds in projects using @7onic-ui packages.

itonys/7onic · 62 tokens

component-architect

Expert in building design systems with focus on component APIs, reusability patterns, and scalable component architectures. Creates flexible, composable, accessible-by-default components.

NickCrew/Claude-Cortex · 37 tokens

frontend-engineer

React/Next.js/TypeScript frontend implementation. Use for UI, components, styling work.

gracefullight/krds · 23 tokens

frontend-implementer

Builds production-quality, accessible UI code from a design or brief using the recommended modern stack (React + TypeScript + Tailwind v4 + shadcn/ui + Radix + Motion). Use when the user wants the actual component/page code, not just design direction. Produces clean, typed, accessible, state-complete components.

ca-who-codes/ultimate.UIUX.design.skills · 73 tokens

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