agentleFS
T4LELT4LEL/Claude-Arsenal/skills/add-ai/SKILL.md

add-ai

Skill1 starsChanged 4 months agoMITView on GitHub

Use when adding an AI/LLM feature to a product - chat, generation, summarization, extraction, semantic search - or when the user says add AI, use Claude, chatbot, embeddings.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. flavien-ia/hypervibe-craft★ 50same name
    2. flavien-ia/hypervibe-harness★ 50same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository13 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default stack: Next.js + TypeScript backend route calling Claude.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add AI

Ship an AI feature that's reliable and affordable, not a demo. Claude is the default model.

Copy this checklist and check off items as you complete them:

Add-AI Progress:
- [ ] Step 1: Define the job
- [ ] Step 2: Architecture (simplest tier that works)
- [ ] Step 3: Eval set built BEFORE tuning
- [ ] Step 4: Integrate (server-side, guardrails)
- [ ] Step 5: Verify (mandatory)
- [ ] Report

Step 1 — Define the job

Write down, concretely: input → output, the quality bar (what a failure actually looks like — a wrong extraction field, a hallucinated fact, a tone miss), what this feature explicitly does NOT do, and expected volume per month (requests/day is a guess dressed up as a number — say so if it's unverified).

Step 2 — Architecture

Delegate to the ai-engineer agent with the job definition from Step 1. It picks the simplest tier that can hit the quality bar, in order: single prompt → prompt + tools → RAG → multi-step agent. Never start one tier higher than the job needs.

It also fetches the current Claude model lineup and pricing from Anthropic's official docs — the built-in claude-api skill when available, else WebFetch on docs.anthropic.com; context7 covers SDK/library patterns but doesn't reliably index pricing. Do not price from memory — model names and rates change. Output: model choice with why, cost per single use, and cost per month at the Step 1 volume. Any number not backed by fetched docs is labeled an unverified assumption.

Step 3 — Eval first

Build 10-20 real test cases (real inputs, expected outputs or acceptance criteria) BEFORE writing or tuning any prompt. The eval script lives in the repo (not a notebook, not a one-off chat) and runs on demand — npm run eval or equivalent. Tune the prompt against the eval, not against vibes.

Step 4 — Integrate

Delegate to the ai-engineer agent with the chosen architecture and eval harness:

  • API keys server-side only (env vars), never shipped to the client or printed in logs.
  • Streaming for any user-facing generation — no spinner-then-wall-of-text.
  • Rate limiting and a graceful fallback for API errors/timeouts (cached response, degraded mode, or a clear user-facing message — never a silent hang).
  • Prompt-injection guardrails whenever the model reads untrusted content (user uploads, scraped pages, third-party data) or has tool access — treat that content as data, not instructions.
  • Token usage logged per request so cost is observable, not discovered at the invoice.

Default stack: Next.js + TypeScript backend route calling Claude; FastAPI if that's the project's backend. Never deploy without the user's explicit ask — this step ships code, not to production.

Step 5 — Verify (mandatory)

Run the eval script and paste the real pass rate — no "should work now." Then exercise the feature end-to-end once for real (an actual request through the actual UI or API route, not a unit test mock). If either step fails, fix root cause and rerun before reporting done.

Report

  • Architecture & model: tier chosen, model, and why.
  • Cost per use / per month: real numbers from fetched pricing, or flagged as unverified.
  • Eval results: pass rate, pasted from a real run.
  • Guardrails: what's in place — rate limits, fallbacks, injection defenses, logging.
  • Deferred improvements: what the simplest tier can't yet do, and what would trigger moving up a tier.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.