first-plan-reuse-indexing

first-plan-reuse-indexing is a skill for Claude Code from vynazevedo/first-plan. It costs 54 tokens per session (1,252 once invoked), scanned A, original, MIT.

A method for building an index of reusable code in a project. It organizes components, utilities, types and hooks by the job they perform, such as validating input or calling an external API.

In plain words
What is it for?
Use it to record reusable validation, logging, authentication, HTTP, database, formatting, testing, frontend and other helpers in a “need X → use Y” index.
Why use it?
It helps an agent find existing code before creating something new. This reduces duplicate implementations and makes reuse based on the project's established code easier.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fp plugin — 19 skills, 19 commands, 4 agents, 1 hook shipped together

Good fit Use it to record reusable validation, logging, authentication, HTTP, database, formatting, testing, frontend and other helpers in a “need X → use Y” index.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vynazevedo/first-plan/reuse-indexing
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.

Any agent
npx skills add vynazevedo/first-plan --skill reuse-indexing
Clone the repo
git clone --depth 1 https://github.com/vynazevedo/first-plan

Made for: Claude Code.

Or install fp, the plugin that ships this one along with the rest of its 19 skills, 19 commands, 4 agents, 1 hook.

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 first-plan-reuse-indexing

README.md
[![agentmods](https://agentmods.dev/badge/skills/vynazevedo/first-plan/reuse-indexing/github.svg)](https://agentmods.dev/skills/vynazevedo/first-plan/reuse-indexing)
Your own site
<a href="https://agentmods.dev/skills/vynazevedo/first-plan/reuse-indexing"><img src="https://agentmods.dev/badge/skills/vynazevedo/first-plan/reuse-indexing/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 first-plan-reuse-indexing

Your own site · 80×15
<a href="https://agentmods.dev/skills/vynazevedo/first-plan/reuse-indexing"><img src="https://agentmods.dev/badge/skills/vynazevedo/first-plan/reuse-indexing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,252 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.01252
Opus 5 $0.00027 $0.00626
Sonnet 5 $0.00011 $0.00250
Haiku 4.5 $0.00005 $0.00125

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

Security

Grade A, and why

first-plan-reuse-indexing 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 10d 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.

skills/reuse-indexing/SKILL.md · 146 lines

How it starts

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

Reuse Indexing

Como criar .first-plan/03-reuse/ com índice invertido focado em "intenção -> existente".

Princípio

A pergunta certa nao é "o que existe?" - é "preciso fazer X, o que ja existe?". O índice é organizado por intenção, não por estrutura.

Categorias de intenção (por linguagem/stack)

Universais

Categoria Exemplo
Validação "validar input HTTP"
Logging "registrar evento"
Auth "verificar JWT"
HTTP client "chamar API externa"
Persistência "buscar registro no DB"
Conversão / format "formatar data"
Testing helper "criar fixture"
Crypto "hash de senha"

Frontend específicas

Categoria Exemplo
UI components "form com validação"
Hooks "fetch com loading state"
State management "store de carrinho"
Routing "redirect autenticado"
Forms "form com validação"
Modals / overlays "dialog de confirmação"

Critério de inclusão

Item entra no índice se:

  • Usado em > 1 lugar OU claramente público (export top-level, nome inequívoco)
  • API estável (nao é refator em curso, nao tem @deprecated)
  • Não-trivial (re-criar custaria > 5 linhas)
  • Identificável (nome semântico, não helper.foo())

Algoritmo

Passo 1 - Coletar candidatos

Por linguagem, identifica símbolos exportados:

  • Go: func / type em pacote pkg/ ou internal/util/
  • TS: export em arquivos lib/, utils/, helpers/, components/, hooks/
  • PHP: classes em namespaces App\Services, App\Helpers
  • Python: funções/classes em módulos utils/, helpers/, services/
  • Rust: pub em src/lib.rs e módulos públicos

Passo 2 - Deduplica e classifica por intenção

Agrupa candidatos por categoria. Mapping comum:

Nome contém Categoria
validate, valid, check Validação
log, logger, audit Logging
auth, jwt, token, permission Auth
client, request, fetch, api HTTP client
repository, dao, query, db Persistência
format, parse, convert, to_ Format
factory, builder, mock, stub Testing helper
hash, encrypt, decrypt, sign Crypto
Component, View, Layout UI components
use<Capitalized> (TS/JS) React hooks

Read the full file on GitHub · 146 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. 10d ago First seen · 146 lines · 54 tokens per session scan A 983c67586d74

Subscribe to this mod's changes

first-plan-reuse-indexing is a skill published in the GitHub repository vynazevedo/first-plan (23 stars, last pushed 16d ago), licensed MIT. It adds 54 tokens to every session and 1,252 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-30.

Related

Other skills, from other repositories

RecallMax

Enhances AI memory capabilities with long-context support.

Bilal140202/the-lord-of-the-skills · 13 tokens

agent-memory

Persistent memory system for AI coding agents. Use when you need to save facts about the user, store interaction preferences, log session events, or search previously saved memories. Triggers on remembering, saving context, recalling past decisions, or when the user says "remember this". Also use proactively when the…

OctavianTocan/agent-memory · 78 tokens

snip

You are an expert at writing declarative YAML filters for snip, a CLI proxy that reduces LLM token consumption by filtering shell output.

edouard-claude/snip · 0 tokens

migrate

Migrate an application with hardcoded LLM prompts to a full LaunchDarkly AgentControl implementation in five stages: audit the code, wrap the call, move the tools, add tracking, attach evaluators. Use when the user wants to externalize model/prompt configuration, move from direct provider calls (OpenAI, Anthropic…

Bilal140202/the-lord-of-the-skills · 96 tokens

lookdev

When the user says "lookdev" (or asks to tune/dial/iterate on the look of something, OR to review/edit/annotate a blog post, doc, copy, or media), stand up a local interactive studio — live controls (sliders, pickers, drag handles) for visual params, OR direct inline editing + highlight + margin comments + media…

Bilal140202/the-lord-of-the-skills · 115 tokens

onboarding

Onboard a project to LaunchDarkly: kickoff roadmap, resumable log, explore repo, MCP, companion flag skills, nested SDK install (detect/plan/apply), first flag. Use when adding LaunchDarkly, setting up or integrating feature flags in a project, SDK integration, or 'onboard me'.

Bilal140202/the-lord-of-the-skills · 67 tokens