forexflow: Skill for Claude Code

.claude/skills/refactor-small-files/SKILL.md

refactor-small-files is a skill for Claude Code from bmarshall511/forexflow. It costs 21 tokens per session (176 once invoked), scanned A, original, AGPL-3.0.

A code-refactoring tool for splitting files that are too large and reducing repeated logic. Refactoring changes the code's structure while keeping its behavior the same.

In plain words
What is it for?
Use it when files exceed project size rules or contain repeated logic that should be shared.
Why use it?
It helps meet file-size limits and avoid duplicated code without changing how the software works.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is bmarshall511/forexflow's own configuration. It tells Claude Code how to work on forexflow 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 forexflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bmarshall511/forexflow. 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/bmarshall511/forexflow/main/.claude/skills/refactor-small-files/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bmarshall511/forexflow

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 refactor-small-files

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bmarshall511/forexflow/refactor-small-files"><img src="https://agentmods.dev/badge/skills/bmarshall511/forexflow/refactor-small-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 176 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 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.1 $0.00021 $0.00176
Opus 5.5 $0.00008 $0.00070
Sonnet 5.5 $0.00004 $0.00035
Haiku 4.5 $0.00002 $0.00018

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

Security

Grade A, and why

refactor-small-files 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.

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/skills/refactor-small-files/SKILL.md · 26 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-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. 2mo ago First seen · 26 lines · 21 tokens per session scan A d7635c20b787

Subscribe to this mod's changes

refactor-small-files is a skill published in the GitHub repository bmarshall511/forexflow (14 stars, last pushed 5mo ago), licensed AGPL-3.0. It adds 21 tokens to every session and 176 once invoked, about $0.0001 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 skills, from other repositories

prepare-cloudflare-production-deployment

Source-of-truth runbook for preparing this Vinext Cloudflare Workers SaaS template for production deployment. Use when setting up or auditing Cloudflare MCP resources, wrangler.jsonc bindings, Worker secrets, Turnstile, Email Sending, GitHub Actions secrets/variables, or GitHub CLI deployment wiring for this…

LubomirGeorgiev/cloudflare-workers-nextjs-saas-template · 72 tokens

architecture

Software architecture workflow that diagnoses architecture problems, selects the right analysis method, compares options, synthesizes stakeholder input, and produces a recommendation, review, or ADR.

first-fluke/fullstack-starter · 33 tokens

deepsec

Drive the oma-deepsec skill end-to-end. Installs .deepsec/, calibrates cost, runs the right scan/process/triage/revalidate/export pass, gates PRs with process --diff, writes custom matchers, and routes findings to follow-up specialists.

first-fluke/fullstack-starter · 62 tokens

recap

Daily or period recap via oma-recap. Resolves a date or window from natural language, invokes oma recap --json, delegates theme analysis and Markdown formatting to the skill, and reports a TL;DR plus saved path.

first-fluke/fullstack-starter · 50 tokens

brainstorm

Design-first ideation workflow that explores user intent, clarifies constraints, proposes approaches, and produces an approved design document before planning.

first-fluke/fullstack-starter · 28 tokens

coordinate

Coordinate multiple agents for a complex multi-domain project using PM planning, parallel agent spawning, and QA review.

first-fluke/fullstack-starter · 22 tokens